@Stability(value=Stable) @Internal public static final class BucketAttributes.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BucketAttributes
BucketAttributes
software.amazon.jsii.JsiiObject.InitializationMode
BucketAttributes.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, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected 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()
BucketAttributes
Default: - it's assumed the bucket belongs to the same account as the scope it's being imported into
getAccount
in interface BucketAttributes
public final String getBucketArn()
BucketAttributes
At least one of bucketArn or bucketName must be defined in order to initialize a bucket ref.
getBucketArn
in interface BucketAttributes
public final String getBucketDomainName()
BucketAttributes
Default: Inferred from bucket name
getBucketDomainName
in interface BucketAttributes
public final String getBucketDualStackDomainName()
BucketAttributes
getBucketDualStackDomainName
in interface BucketAttributes
public final String getBucketName()
BucketAttributes
If 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 BucketAttributes
public final String getBucketRegionalDomainName()
BucketAttributes
getBucketRegionalDomainName
in interface BucketAttributes
public final Boolean getBucketWebsiteNewUrlFormat()
BucketAttributes
This should be true for regions launched since 2014.
Default: false
getBucketWebsiteNewUrlFormat
in interface BucketAttributes
public final String getBucketWebsiteUrl()
BucketAttributes
Default: Inferred from bucket name
getBucketWebsiteUrl
in interface BucketAttributes
public final IKey getEncryptionKey()
getEncryptionKey
in interface BucketAttributes
public final Boolean getIsWebsite()
BucketAttributes
Default: false
getIsWebsite
in interface BucketAttributes
public final IRole getNotificationsHandlerRole()
BucketAttributes
Default: - a new role will be created.
getNotificationsHandlerRole
in interface BucketAttributes
public final String getRegion()
BucketAttributes
Default: - 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.JsiiSerializable
Copyright © 2022. All rights reserved.