Interface CfnGitHubRepository.S3Property
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGitHubRepository.S3Property.Jsii$Proxy
- Enclosing class:
- CfnGitHubRepository
@Stability(Stable)
public static interface CfnGitHubRepository.S3Property
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.codestar.*; S3Property s3Property = S3Property.builder() .bucket("bucket") .key("key") // the properties below are optional .objectVersion("objectVersion") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGitHubRepository.S3Property
static final class
An implementation forCfnGitHubRepository.S3Property
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the Amazon S3 bucket that contains the ZIP file with the content to be committed to the new repository.getKey()
The S3 object key or file name for the ZIP file.default String
The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
The name of the Amazon S3 bucket that contains the ZIP file with the content to be committed to the new repository. -
getKey
The S3 object key or file name for the ZIP file. -
getObjectVersion
The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket. -
builder
-