@Stability(value=Stable)
public static interface CfnGitHubRepository.CodeProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGitHubRepository.CodeProperty.Builder
A builder for
CfnGitHubRepository.CodeProperty |
static class |
CfnGitHubRepository.CodeProperty.Jsii$Proxy
An implementation for
CfnGitHubRepository.CodeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGitHubRepository.CodeProperty.Builder |
builder() |
Object |
getS3()
Information about the Amazon S3 bucket that contains a ZIP file of code to be committed to the repository.
|
@Stability(value=Stable) @NotNull Object getS3()
@Stability(value=Stable) static CfnGitHubRepository.CodeProperty.Builder builder()
Copyright © 2022. All rights reserved.