Class CfnDistribution.OriginShieldProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnDistribution.OriginShieldProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnDistribution.OriginShieldProperty
CfnDistribution.OriginShieldProperty-
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.cloudfront.CfnDistribution.OriginShieldProperty
CfnDistribution.OriginShieldProperty.Builder, CfnDistribution.OriginShieldProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnDistribution.OriginShieldProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
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 theCfnDistribution.OriginShieldProperty.Builder.
-
-
Method Details
-
getEnabled
Description copied from interface:CfnDistribution.OriginShieldPropertyA flag that specifies whether Origin Shield is enabled.When it's enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it's disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.
Returns union: either
BooleanorIResolvable- Specified by:
getEnabledin interfaceCfnDistribution.OriginShieldProperty- See Also:
-
getOriginShieldRegion
Description copied from interface:CfnDistribution.OriginShieldPropertyThe AWS Region for Origin Shield.Specify the AWS Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as
us-east-2.When you enable CloudFront Origin Shield, you must specify the AWS Region for Origin Shield. For the list of AWS Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the AWS Region for Origin Shield in the Amazon CloudFront Developer Guide .
- Specified by:
getOriginShieldRegionin interfaceCfnDistribution.OriginShieldProperty- 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()
-