Class CfnContainer.CorsRuleProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.mediastore.CfnContainer.CorsRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnContainer.CorsRuleProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnContainer.CorsRuleProperty
@Stability(Stable)
@Internal
public static final class CfnContainer.CorsRuleProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnContainer.CorsRuleProperty
An implementation for
CfnContainer.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.mediastore.CfnContainer.CorsRuleProperty
CfnContainer.CorsRuleProperty.Builder, CfnContainer.CorsRuleProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnContainer.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
Specifies which headers are allowed in a preflightOPTIONS
request through theAccess-Control-Request-Headers
header.Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.One or more response headers that you want users to be able to access from their applications (for example, from a JavaScriptXMLHttpRequest
object).One or more headers in the response that you want users to be able to access from their applications (for example, from a JavaScriptXMLHttpRequest
object).final Number
The time in seconds that your browser caches 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 theCfnContainer.CorsRuleProperty.Builder
.
-
-
Method Details
-
getAllowedHeaders
Description copied from interface:CfnContainer.CorsRuleProperty
Specifies which headers are allowed in a preflightOPTIONS
request through theAccess-Control-Request-Headers
header.Each header name that is specified in
Access-Control-Request-Headers
must have a corresponding entry in the rule. Only the headers that were requested are sent back.This element can contain only one wildcard character (*).
- Specified by:
getAllowedHeaders
in interfaceCfnContainer.CorsRuleProperty
- See Also:
-
getAllowedMethods
Description copied from interface:CfnContainer.CorsRuleProperty
Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.Each CORS rule must contain at least one
AllowedMethods
and oneAllowedOrigins
element.- Specified by:
getAllowedMethods
in interfaceCfnContainer.CorsRuleProperty
- See Also:
-
getAllowedOrigins
Description copied from interface:CfnContainer.CorsRuleProperty
One or more response headers that you want users to be able to access from their applications (for example, from a JavaScriptXMLHttpRequest
object).Each CORS rule must have at least one
AllowedOrigins
element. The string value can include only one wildcard character (), for example, http://.example.com. Additionally, you can specify only one wildcard character to allow cross-origin access for all origins.- Specified by:
getAllowedOrigins
in interfaceCfnContainer.CorsRuleProperty
- See Also:
-
getExposeHeaders
Description copied from interface:CfnContainer.CorsRuleProperty
One or more headers in the response that you want users to be able to access from their applications (for example, from a JavaScriptXMLHttpRequest
object).This element is optional for each rule.
- Specified by:
getExposeHeaders
in interfaceCfnContainer.CorsRuleProperty
- See Also:
-
getMaxAgeSeconds
Description copied from interface:CfnContainer.CorsRuleProperty
The time in seconds that your browser caches the preflight response for the specified resource.A CORS rule can have only one
MaxAgeSeconds
element.- Specified by:
getMaxAgeSeconds
in interfaceCfnContainer.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()
-