Interface CfnRepository.S3Property
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRepository.S3Property.Jsii$Proxy
- Enclosing class:
- CfnRepository
@Stability(Stable)
public static interface CfnRepository.S3Property
extends software.amazon.jsii.JsiiSerializable
Information about the Amazon S3 bucket that contains the code that will be committed to the new repository.
Changes to this property are ignored after initial resource creation.
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.codecommit.*; 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 forCfnRepository.S3Property
static final class
An implementation forCfnRepository.S3Property
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the Amazon S3 bucket that contains the ZIP file with the content that will be committed to the new repository.getKey()
The key to use for accessing the Amazon S3 bucket.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 that will be committed to the new repository.This can be specified using the name of the bucket in the AWS account . Changes to this property are ignored after initial resource creation.
-
getKey
The key to use for accessing the Amazon S3 bucket.Changes to this property are ignored after initial resource creation. For more information, see Creating object key names and Uploading objects in the Amazon S3 User Guide.
-
getObjectVersion
The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket.Changes to this property are ignored after initial resource creation.
-
builder
- Returns:
- a
CfnRepository.S3Property.Builder
ofCfnRepository.S3Property
-