library
turbot/aws
Get Involved
Version
Pipeline: Put S3 Bucket Encryption
Configures encryption settings for an Amazon S3 bucket.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.put_s3_bucket_encryption \ --arg 'region=<string>' \ --arg 'bucket=<string>' \ --arg 'sse_algorithm=<string>' \ --arg 'bucket_key_enabled=<bool>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = aws.pipeline.put_s3_bucket_encryption args = { region = <string> bucket = <string> sse_algorithm = <string> bucket_key_enabled = <bool> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
region | string | Yes | The name of the Region. | - |
conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
bucket | string | Yes | The name of the S3 bucket. | - |
sse_algorithm | string | Yes | Server-side encryption algorithm to use for the default encryption. | - |
kms_master_key_id | string | No | Amazon Web Services Key Management Service (KMS) customer Amazon Web Services KMS key ID to use for the default encryption. | - |
bucket_key_enabled | bool | Yes | Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. | - |
Outputs
This pipeline has no outputs.