software.amazon.jsii.JsiiObject.InitializationModeCorsRule.Builder, CorsRule.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CorsRule.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CorsRule.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getAllowedHeaders()
Headers that are specified in the Access-Control-Request-Headers header.
|
List<HttpMethods> |
getAllowedMethods()
An HTTP method that you allow the origin to execute.
|
List<String> |
getAllowedOrigins()
One or more origins you want customers to be able to access the bucket from.
|
List<String> |
getExposedHeaders()
One or more headers in the response that you want customers to be able to access from their applications.
|
String |
getId()
A unique identifier for this rule.
|
Number |
getMaxAge()
The time in seconds that your browser is to cache the preflight response for the specified resource.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CorsRule.Builder builder)
CorsRule.Builder.public final List<HttpMethods> getAllowedMethods()
CorsRulegetAllowedMethods in interface CorsRulepublic final List<String> getAllowedOrigins()
CorsRulegetAllowedOrigins in interface CorsRulepublic final List<String> getAllowedHeaders()
CorsRuleDefault: - No headers allowed.
getAllowedHeaders in interface CorsRulepublic final List<String> getExposedHeaders()
CorsRuleDefault: - No headers exposed.
getExposedHeaders in interface CorsRulepublic final String getId()
CorsRuleDefault: - No id specified.
public final Number getMaxAge()
CorsRuleDefault: - No caching.
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.