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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.mediastore.CfnContainer.CorsRuleProperty
CfnContainer.CorsRuleProperty.Builder, CfnContainer.CorsRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnContainer.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 booleanSpecifies which headers are allowed in a preflightOPTIONSrequest through theAccess-Control-Request-Headersheader.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 JavaScriptXMLHttpRequestobject).One or more headers in the response that you want users to be able to access from their applications (for example, from a JavaScriptXMLHttpRequestobject).final NumberThe time in seconds that your browser caches 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 theCfnContainer.CorsRuleProperty.Builder.
-
-
Method Details
-
getAllowedHeaders
Description copied from interface:CfnContainer.CorsRulePropertySpecifies which headers are allowed in a preflightOPTIONSrequest through theAccess-Control-Request-Headersheader.Each header name that is specified in
Access-Control-Request-Headersmust 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:
getAllowedHeadersin interfaceCfnContainer.CorsRuleProperty- See Also:
-
getAllowedMethods
Description copied from interface:CfnContainer.CorsRulePropertyIdentifies an HTTP method that the origin that is specified in the rule is allowed to execute.Each CORS rule must contain at least one
AllowedMethodsand oneAllowedOriginselement.- Specified by:
getAllowedMethodsin interfaceCfnContainer.CorsRuleProperty- See Also:
-
getAllowedOrigins
Description copied from interface:CfnContainer.CorsRulePropertyOne or more response headers that you want users to be able to access from their applications (for example, from a JavaScriptXMLHttpRequestobject).Each CORS rule must have at least one
AllowedOriginselement. 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:
getAllowedOriginsin interfaceCfnContainer.CorsRuleProperty- See Also:
-
getExposeHeaders
Description copied from interface:CfnContainer.CorsRulePropertyOne or more headers in the response that you want users to be able to access from their applications (for example, from a JavaScriptXMLHttpRequestobject).This element is optional for each rule.
- Specified by:
getExposeHeadersin interfaceCfnContainer.CorsRuleProperty- See Also:
-
getMaxAgeSeconds
Description copied from interface:CfnContainer.CorsRulePropertyThe time in seconds that your browser caches the preflight response for the specified resource.A CORS rule can have only one
MaxAgeSecondselement.- Specified by:
getMaxAgeSecondsin interfaceCfnContainer.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()
-