@Stability(value=Stable) @Internal public static final class CfnBucket.CorsRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.CorsRuleProperty
CfnBucket.CorsRulePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnBucket.CorsRuleProperty.Builder, CfnBucket.CorsRuleProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnBucket.CorsRuleProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnBucket.AbortIncompleteMultipartUploadProperty.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) |
List<String> |
getAllowedHeaders()
Headers that are specified in the `Access-Control-Request-Headers` header.
|
List<String> |
getAllowedMethods()
An HTTP method that you allow the origin to run.
|
List<String> |
getAllowedOrigins()
One or more origins you want customers to be able to access the bucket from.
|
List<String> |
getExposedHeaders()
One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript `XMLHttpRequest` object).
|
String |
getId()
A unique identifier for this rule.
|
Number |
getMaxAge()
The time in seconds that your browser is to cache the preflight response for the specified resource.
|
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(CfnBucket.CorsRuleProperty.Builder builder)
CfnBucket.AbortIncompleteMultipartUploadProperty.Builder.public final List<String> getAllowedMethods()
CfnBucket.CorsRuleProperty
Allowed values : GET | PUT | HEAD | POST | DELETE
getAllowedMethods in interface CfnBucket.CorsRulePropertypublic final List<String> getAllowedOrigins()
CfnBucket.CorsRulePropertygetAllowedOrigins in interface CfnBucket.CorsRulePropertypublic final List<String> getAllowedHeaders()
CfnBucket.CorsRulePropertyThese headers are allowed in a preflight OPTIONS request. In response to any preflight OPTIONS request, Amazon S3 returns any requested headers that are allowed.
getAllowedHeaders in interface CfnBucket.CorsRulePropertypublic final List<String> getExposedHeaders()
CfnBucket.CorsRulePropertygetExposedHeaders in interface CfnBucket.CorsRulePropertypublic final String getId()
CfnBucket.CorsRulePropertyThe value must be no more than 255 characters.
getId in interface CfnBucket.CorsRulePropertypublic final Number getMaxAge()
CfnBucket.CorsRulePropertygetMaxAge in interface CfnBucket.CorsRuleProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.