interface S3SourceProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeBuild.S3SourceProps |
Java | software.amazon.awscdk.services.codebuild.S3SourceProps |
Python | aws_cdk.aws_codebuild.S3SourceProps |
TypeScript (source) | @aws-cdk/aws-codebuild » S3SourceProps |
Construction properties for {@link S3Source}.
Example
const bucket = new s3.Bucket(this, 'MyBucket');
new codebuild.Project(this, 'MyProject', {
source: codebuild.Source.s3({
bucket: bucket,
path: 'path/to/file.zip',
}),
});
Properties
Name | Type | Description |
---|---|---|
bucket | IBucket | |
path | string | |
identifier? | string | The source identifier. |
version? | string | The version ID of the object that represents the build input ZIP file to use. |
bucket
Type:
IBucket
path
Type:
string
identifier?
Type:
string
(optional)
The source identifier.
This property is required on secondary sources.
version?
Type:
string
(optional, default: latest)
The version ID of the object that represents the build input ZIP file to use.