Interface CfnGitHubRepository.CodeProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnGitHubRepository.CodeProperty.Jsii$Proxy
Enclosing class:
CfnGitHubRepository

@Stability(Stable) public static interface CfnGitHubRepository.CodeProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.codestar.*;
 CodeProperty codeProperty = CodeProperty.builder()
         .s3(S3Property.builder()
                 .bucket("bucket")
                 .key("key")
                 // the properties below are optional
                 .objectVersion("objectVersion")
                 .build())
         .build();
 

See Also: