SourceConfig
- class aws_cdk.aws_s3_deployment.SourceConfig(*, bucket, zip_object_key, markers=None)
Bases:
object
Source information.
- Parameters:
bucket (
IBucket
) – The source bucket to deploy from.zip_object_key (
str
) – An S3 object key in the source bucket that points to a zip file.markers (
Optional
[Mapping
[str
,Any
]]) – A set of markers to substitute in the source content. Default: - no markers
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_s3 as s3 from aws_cdk import aws_s3_deployment as s3_deployment # bucket: s3.Bucket # markers: Any source_config = s3_deployment.SourceConfig( bucket=bucket, zip_object_key="zipObjectKey", # the properties below are optional markers={ "markers_key": markers } )
Attributes
- bucket
The source bucket to deploy from.
- markers
A set of markers to substitute in the source content.
- Default:
no markers
- zip_object_key
An S3 object key in the source bucket that points to a zip file.