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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.CfnBucket.CorsRuleProperty
CfnBucket.CorsRuleProperty.Builder, CfnBucket.CorsRuleProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnBucket.CorsRuleProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
Headers that are specified in theAccess-Control-Request-Headers
header.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 JavaScriptXMLHttpRequest
object).final String
getId()
A unique identifier for this rule.final Number
The time in seconds that your browser is to cache the preflight response for the specified resource.final int
hashCode()
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.CorsRuleProperty
An HTTP method that you allow the origin to run.Allowed values :
GET
|PUT
|HEAD
|POST
|DELETE
- Specified by:
getAllowedMethods
in interfaceCfnBucket.CorsRuleProperty
- See Also:
-
getAllowedOrigins
Description copied from interface:CfnBucket.CorsRuleProperty
One or more origins you want customers to be able to access the bucket from.- Specified by:
getAllowedOrigins
in interfaceCfnBucket.CorsRuleProperty
- See Also:
-
getAllowedHeaders
Description copied from interface:CfnBucket.CorsRuleProperty
Headers that are specified in theAccess-Control-Request-Headers
header.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:
getAllowedHeaders
in interfaceCfnBucket.CorsRuleProperty
- See Also:
-
getExposedHeaders
Description copied from interface:CfnBucket.CorsRuleProperty
One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScriptXMLHttpRequest
object).- Specified by:
getExposedHeaders
in interfaceCfnBucket.CorsRuleProperty
- See Also:
-
getId
Description copied from interface:CfnBucket.CorsRuleProperty
A unique identifier for this rule.The value must be no more than 255 characters.
- Specified by:
getId
in interfaceCfnBucket.CorsRuleProperty
- See Also:
-
getMaxAge
Description copied from interface:CfnBucket.CorsRuleProperty
The time in seconds that your browser is to cache the preflight response for the specified resource.- Specified by:
getMaxAge
in interfaceCfnBucket.CorsRuleProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-