library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Stop EC2 Instances

Stops an Amazon EBS-backed instance.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.stop_ec2_instances \
--arg 'region=<string>' \
--arg 'instance_ids=<list of string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = aws.pipeline.stop_ec2_instances
args = {
region = <string>
instance_ids = <list of string>
}
}

Params

NameTypeRequiredDefaultDescription
regionstringYes-The name of the Region.
credstringYesdefaultName for credentials to use. If not provided, the default credentials will be used.
instance_idslist of stringYes-The IDs of the instances.

Outputs

NameDescription
instancesInformation about the stopped instances.