@Stability(value=Stable)
public static interface CfnRepository.S3Property
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRepository.S3Property.Builder
A builder for
CfnRepository.S3Property |
static class |
CfnRepository.S3Property.Jsii$Proxy
An implementation for
CfnRepository.S3Property |
| Modifier and Type | Method and Description |
|---|---|
static CfnRepository.S3Property.Builder |
builder() |
String |
getBucket()
The name of the Amazon S3 bucket that contains the ZIP file with the content that will be committed to the new repository.
|
String |
getKey()
The key to use for accessing the Amazon S3 bucket.
|
default String |
getObjectVersion()
The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket.
|
@Stability(value=Stable) @NotNull String getBucket()
This can be specified using the name of the bucket in the AWS account . Changes to this property are ignored after initial resource creation.
@Stability(value=Stable) @NotNull String getKey()
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.
@Stability(value=Stable) @Nullable default String getObjectVersion()
Changes to this property are ignored after initial resource creation.
@Stability(value=Stable) static CfnRepository.S3Property.Builder builder()
CfnRepository.S3Property.Builder of CfnRepository.S3PropertyCopyright © 2022. All rights reserved.