interface CodeConfig
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodeCommit.CodeConfig |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodecommit#CodeConfig |
![]() | software.amazon.awscdk.services.codecommit.CodeConfig |
![]() | aws_cdk.aws_codecommit.CodeConfig |
![]() | aws-cdk-lib » aws_codecommit » CodeConfig |
Obtainable from
Code
.bind()
Represents the structure to pass into the underlying CfnRepository class.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codecommit as codecommit } from 'aws-cdk-lib';
const codeConfig: codecommit.CodeConfig = {
code: {
s3: {
bucket: 'bucket',
key: 'key',
// the properties below are optional
objectVersion: 'objectVersion',
},
// the properties below are optional
branchName: 'branchName',
},
};
Properties
Name | Type | Description |
---|---|---|
code | Code | represents the underlying code structure. |
code
Type:
Code
represents the underlying code structure.