@Stability(value=Stable) @Internal public static final class BucketAttributes.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BucketAttributes
BucketAttributessoftware.amazon.jsii.JsiiObject.InitializationModeBucketAttributes.Builder, BucketAttributes.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(BucketAttributes.Builder builder)
Constructor that initializes the object based on literal property values passed by the
BucketAttributes.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAccount()
The account this existing bucket belongs to.
|
String |
getBucketArn()
The ARN of the bucket.
|
String |
getBucketDomainName()
The domain name of the bucket.
|
String |
getBucketDualStackDomainName()
The IPv6 DNS name of the specified bucket.
|
String |
getBucketName()
The name of the bucket.
|
String |
getBucketRegionalDomainName()
The regional domain name of the specified bucket.
|
Boolean |
getBucketWebsiteNewUrlFormat()
The format of the website URL of the bucket.
|
String |
getBucketWebsiteUrl()
The website URL of the bucket (if static web hosting is enabled).
|
IKey |
getEncryptionKey() |
Boolean |
getIsWebsite()
If this bucket has been configured for static website hosting.
|
IRole |
getNotificationsHandlerRole()
The role to be used by the notifications handler.
|
String |
getRegion()
The region this existing bucket is in.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(BucketAttributes.Builder builder)
BucketAttributes.Builder.public final String getAccount()
BucketAttributesDefault: - it's assumed the bucket belongs to the same account as the scope it's being imported into
getAccount in interface BucketAttributespublic final String getBucketArn()
BucketAttributesAt least one of bucketArn or bucketName must be defined in order to initialize a bucket ref.
getBucketArn in interface BucketAttributespublic final String getBucketDomainName()
BucketAttributesDefault: Inferred from bucket name
getBucketDomainName in interface BucketAttributespublic final String getBucketDualStackDomainName()
BucketAttributesgetBucketDualStackDomainName in interface BucketAttributespublic final String getBucketName()
BucketAttributesIf the underlying value of ARN is a string, the name will be parsed from the ARN. Otherwise, the name is optional, but some features that require the bucket name such as auto-creating a bucket policy, won't work.
getBucketName in interface BucketAttributespublic final String getBucketRegionalDomainName()
BucketAttributesgetBucketRegionalDomainName in interface BucketAttributespublic final Boolean getBucketWebsiteNewUrlFormat()
BucketAttributesThis should be true for regions launched since 2014.
Default: false
getBucketWebsiteNewUrlFormat in interface BucketAttributespublic final String getBucketWebsiteUrl()
BucketAttributesDefault: Inferred from bucket name
getBucketWebsiteUrl in interface BucketAttributespublic final IKey getEncryptionKey()
getEncryptionKey in interface BucketAttributespublic final Boolean getIsWebsite()
BucketAttributesDefault: false
getIsWebsite in interface BucketAttributespublic final IRole getNotificationsHandlerRole()
BucketAttributesDefault: - a new role will be created.
getNotificationsHandlerRole in interface BucketAttributespublic final String getRegion()
BucketAttributesDefault: - it's assumed the bucket is in the same region as the scope it's being imported into
getRegion in interface BucketAttributes@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.