CodeProperty Struct
The Code property type specifies information about code to be committed.
Code is a property of the AWS::CodeStar::GitHubRepository resource.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codestar as codestar } from 'aws-cdk-lib';
const codeProperty: codestar.CfnGitHubRepository.CodeProperty = {
s3: {
bucket: 'bucket',
key: 'key',
// the properties below are optional
objectVersion: 'objectVersion',
},
};
Properties
s3IResolvable | CfnGitHubRepository.S3Propertys3typing.Union[IResolvable, S3Property]s3IResolvableS3IResolvableS3interface{}required#Information about the Amazon S3 bucket that contains a ZIP file of code to be committed to the repository.