*`role_arn` - (Required) A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.
*`artifact_store` (Required) An artifact_store block. Artifact stores are documented below.
*`stage` (Required) A stage block. Stages are documented below.
An `artifact_store` block supports the following arguments:
*`location` - (Required) The location where AWS CodePipeline stores artifacts for a pipeline, such as an S3 bucket.
*`type` - (Required) The type of the artifact store, such as Amazon S3
*`encryption_key` - (Optional) The encryption key AWS CodePipeline uses to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If you don't specify a key, AWS CodePipeline uses the default key for Amazon Simple Storage Service (Amazon S3).
A `stage` block supports the following arguments:
*`name` - (Required) The name of the stage.
*`action` - (Required) The action(s) to include in the stage