library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Detach IAM User Policy

Detaches the specified managed policy from the specified IAM user. When you detach a managed policy from a user, the user no longer has the permissions defined in that policy.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.detach_iam_user_policy \
--arg 'user_name=<string>' \
--arg 'policy_arn=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.detach_iam_user_policy
args = {
user_name = <string>
policy_arn = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.aws
YesName of AWS connection to use. If not provided, the default AWS connection will be used.connection.aws.default
user_name
string
YesThe name (friendly name, not ARN) of the user to detach the policy from.-
policy_arn
string
YesThe Amazon Resource Name (ARN) of the IAM policy you want to detach.-

Outputs

This pipeline has no outputs.