interface CodeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeStar.Mixins.CfnGitHubRepositoryPropsMixin.CodeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodestar/mixins#CfnGitHubRepositoryPropsMixin_CodeProperty |
Java | software.amazon.awscdk.mixins.preview.services.codestar.mixins.CfnGitHubRepositoryPropsMixin.CodeProperty |
Python | aws_cdk.mixins_preview.aws_codestar.mixins.CfnGitHubRepositoryPropsMixin.CodeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codestar » mixins » CfnGitHubRepositoryPropsMixin » CodeProperty |
The Code property type specifies information about code to be committed.
Code is a property of the AWS::CodeStar::GitHubRepository resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codestar_mixins } from '@aws-cdk/mixins-preview/aws-codestar';
const codeProperty: codestar_mixins.CfnGitHubRepositoryPropsMixin.CodeProperty = {
s3: {
bucket: 'bucket',
key: 'key',
objectVersion: 'objectVersion',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| s3? | IResolvable | S3 | Information about the Amazon S3 bucket that contains a ZIP file of code to be committed to the repository. |
s3?
Type:
IResolvable | S3
(optional)
Information about the Amazon S3 bucket that contains a ZIP file of code to be committed to the repository.

.NET
Go
Java
Python
TypeScript