interface S3Property
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeStar.Mixins.CfnGitHubRepositoryPropsMixin.S3Property |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodestar/mixins#CfnGitHubRepositoryPropsMixin_S3Property |
Java | software.amazon.awscdk.mixins.preview.services.codestar.mixins.CfnGitHubRepositoryPropsMixin.S3Property |
Python | aws_cdk.mixins_preview.aws_codestar.mixins.CfnGitHubRepositoryPropsMixin.S3Property |
TypeScript | @aws-cdk/mixins-preview » aws_codestar » mixins » CfnGitHubRepositoryPropsMixin » S3Property |
The S3 property type specifies information about the Amazon S3 bucket that contains the code to be committed to the new repository.
S3 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 s3Property: codestar_mixins.CfnGitHubRepositoryPropsMixin.S3Property = {
bucket: 'bucket',
key: 'key',
objectVersion: 'objectVersion',
};
Properties
| Name | Type | Description |
|---|---|---|
| bucket? | string | The name of the Amazon S3 bucket that contains the ZIP file with the content to be committed to the new repository. |
| key? | string | The S3 object key or file name for the ZIP file. |
| object | string | The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket. |
bucket?
Type:
string
(optional)
The name of the Amazon S3 bucket that contains the ZIP file with the content to be committed to the new repository.
key?
Type:
string
(optional)
The S3 object key or file name for the ZIP file.
objectVersion?
Type:
string
(optional)
The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket.

.NET
Go
Java
Python
TypeScript