library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Create IAM Policy

Creates a new policy for your Amazon Web Services account.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.create_iam_policy \
--arg 'policy_name=<string>' \
--arg 'policy_document=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.create_iam_policy
args = {
policy_name = <string>
policy_document = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
policy_namestringYesThe friendly name of the policy.-
policy_documentstringYesThe trust relationship policy document that grants an entity policy to assume the policy. A JSON policy that has been converted to a string.-

Outputs

NameDescription
policyA structure containing details about the new policy.