Class CfnBucket.CorsRuleProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.s3.CfnBucket.CorsRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnBucket.CorsRuleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnBucket.CorsRuleProperty
@Stability(Stable)
@Internal
public static final class CfnBucket.CorsRuleProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnBucket.CorsRuleProperty
An implementation for
CfnBucket.CorsRuleProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.CfnBucket.CorsRuleProperty
CfnBucket.CorsRuleProperty.Builder, CfnBucket.CorsRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnBucket.CorsRuleProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanHeaders that are specified in theAccess-Control-Request-Headersheader.An HTTP method that you allow the origin to run.One or more origins you want customers to be able to access the bucket from.One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScriptXMLHttpRequestobject).final StringgetId()A unique identifier for this rule.final NumberThe time in seconds that your browser is to cache the preflight response for the specified resource.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnBucket.CorsRuleProperty.Builder.
-
-
Method Details
-
getAllowedMethods
Description copied from interface:CfnBucket.CorsRulePropertyAn HTTP method that you allow the origin to run.Allowed values :
GET|PUT|HEAD|POST|DELETE- Specified by:
getAllowedMethodsin interfaceCfnBucket.CorsRuleProperty
-
getAllowedOrigins
Description copied from interface:CfnBucket.CorsRulePropertyOne or more origins you want customers to be able to access the bucket from.- Specified by:
getAllowedOriginsin interfaceCfnBucket.CorsRuleProperty
-
getAllowedHeaders
Description copied from interface:CfnBucket.CorsRulePropertyHeaders that are specified in theAccess-Control-Request-Headersheader.These headers are allowed in a preflight OPTIONS request. In response to any preflight OPTIONS request, Amazon S3 returns any requested headers that are allowed.
- Specified by:
getAllowedHeadersin interfaceCfnBucket.CorsRuleProperty
-
getExposedHeaders
Description copied from interface:CfnBucket.CorsRulePropertyOne or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScriptXMLHttpRequestobject).- Specified by:
getExposedHeadersin interfaceCfnBucket.CorsRuleProperty
-
getId
Description copied from interface:CfnBucket.CorsRulePropertyA unique identifier for this rule.The value must be no more than 255 characters.
- Specified by:
getIdin interfaceCfnBucket.CorsRuleProperty
-
getMaxAge
Description copied from interface:CfnBucket.CorsRulePropertyThe time in seconds that your browser is to cache the preflight response for the specified resource.- Specified by:
getMaxAgein interfaceCfnBucket.CorsRuleProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-