Class CfnBucketPropsMixin.CorsRuleProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.CorsRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnBucketPropsMixin.CorsRuleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnBucketPropsMixin.CorsRuleProperty
@Stability(Stable)
@Internal
public static final class CfnBucketPropsMixin.CorsRuleProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnBucketPropsMixin.CorsRuleProperty
An implementation for
CfnBucketPropsMixin.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.cfnpropertymixins.services.s3.CfnBucketPropsMixin.CorsRuleProperty
CfnBucketPropsMixin.CorsRuleProperty.Builder, CfnBucketPropsMixin.CorsRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnBucketPropsMixin.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 theCfnBucketPropsMixin.CorsRuleProperty.Builder.
-
-
Method Details
-
getAllowedHeaders
Description copied from interface:CfnBucketPropsMixin.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 interfaceCfnBucketPropsMixin.CorsRuleProperty- See Also:
-
getAllowedMethods
Description copied from interface:CfnBucketPropsMixin.CorsRulePropertyAn HTTP method that you allow the origin to run.Allowed values :
GET|PUT|HEAD|POST|DELETE- Specified by:
getAllowedMethodsin interfaceCfnBucketPropsMixin.CorsRuleProperty- See Also:
-
getAllowedOrigins
Description copied from interface:CfnBucketPropsMixin.CorsRulePropertyOne or more origins you want customers to be able to access the bucket from.- Specified by:
getAllowedOriginsin interfaceCfnBucketPropsMixin.CorsRuleProperty- See Also:
-
getExposedHeaders
Description copied from interface:CfnBucketPropsMixin.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 interfaceCfnBucketPropsMixin.CorsRuleProperty- See Also:
-
getId
Description copied from interface:CfnBucketPropsMixin.CorsRulePropertyA unique identifier for this rule.The value must be no more than 255 characters.
- Specified by:
getIdin interfaceCfnBucketPropsMixin.CorsRuleProperty- See Also:
-
getMaxAge
Description copied from interface:CfnBucketPropsMixin.CorsRulePropertyThe time in seconds that your browser is to cache the preflight response for the specified resource.- Specified by:
getMaxAgein interfaceCfnBucketPropsMixin.CorsRuleProperty- See Also:
-
$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()
-