Class StaticWebsiteProps.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.aws.awsprototypingsdk.staticwebsite.StaticWebsiteProps.Jsii$Proxy
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,StaticWebsiteProps
- Enclosing interface:
- StaticWebsiteProps
@Stability(Experimental) @Internal public static final class StaticWebsiteProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StaticWebsiteProps
An implementation forStaticWebsiteProps
-
-
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.aws.awsprototypingsdk.staticwebsite.StaticWebsiteProps
StaticWebsiteProps.Builder, StaticWebsiteProps.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.protectedJsii$Proxy(StaticWebsiteProps.Builder builder)Constructor that initializes the object based on literal property values passed by theStaticWebsiteProps.Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)software.amazon.awscdk.services.s3.BucketEncryptiongetDefaultWebsiteBucketEncryption()(experimental) Bucket encryption to use for the default bucket.software.amazon.awscdk.services.kms.KeygetDefaultWebsiteBucketEncryptionKey()(experimental) A predefined KMS customer encryption key to use for the default bucket that gets created.software.amazon.awscdk.services.cloudfront.DistributionPropsgetDistributionProps()(experimental) Custom distribution properties.RuntimeOptionsgetRuntimeOptions()(experimental) Dynamic configuration which gets resolved only during deployment.CloudFrontWebAclPropsgetWebAclProps()(experimental) Limited configuration settings for the generated webAcl.software.amazon.awscdk.services.s3.IBucketgetWebsiteBucket()(experimental) Predefined bucket to deploy the website into.StringgetWebsiteContentPath()(experimental) Path to the directory containing the static website files and assets.inthashCode()
-
-
-
Constructor Detail
-
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
protected Jsii$Proxy(StaticWebsiteProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theStaticWebsiteProps.Builder.
-
-
Method Detail
-
getWebsiteContentPath
public final String getWebsiteContentPath()
Description copied from interface:StaticWebsiteProps(experimental) Path to the directory containing the static website files and assets.This directory must contain an index.html file.
- Specified by:
getWebsiteContentPathin interfaceStaticWebsiteProps
-
getDefaultWebsiteBucketEncryption
public final software.amazon.awscdk.services.s3.BucketEncryption getDefaultWebsiteBucketEncryption()
Description copied from interface:StaticWebsiteProps(experimental) Bucket encryption to use for the default bucket.Supported options are KMS or S3MANAGED.
Note: If planning to use KMS, ensure you associate a Lambda Edge function to sign requests to S3 as OAI does not currently support KMS encryption. Refer to {@link https://aws.amazon.com/blogs/networking-and-content-delivery/serving-sse-kms-encrypted-content-from-s3-using-cloudfront/}
Default: - "S3MANAGED"
- Specified by:
getDefaultWebsiteBucketEncryptionin interfaceStaticWebsiteProps
-
getDefaultWebsiteBucketEncryptionKey
public final software.amazon.awscdk.services.kms.Key getDefaultWebsiteBucketEncryptionKey()
Description copied from interface:StaticWebsiteProps(experimental) A predefined KMS customer encryption key to use for the default bucket that gets created.Note: This is only used if the websiteBucket is left undefined, otherwise all settings from the provided websiteBucket will be used.
- Specified by:
getDefaultWebsiteBucketEncryptionKeyin interfaceStaticWebsiteProps
-
getDistributionProps
public final software.amazon.awscdk.services.cloudfront.DistributionProps getDistributionProps()
Description copied from interface:StaticWebsiteProps(experimental) Custom distribution properties.Note: defaultBehaviour.origin is a required parameter, however it will not be used as this construct will wire it on your behalf. You will need to pass in an instance of StaticWebsiteOrigin (NoOp) to keep the compiler happy.
- Specified by:
getDistributionPropsin interfaceStaticWebsiteProps
-
getRuntimeOptions
public final RuntimeOptions getRuntimeOptions()
Description copied from interface:StaticWebsiteProps(experimental) Dynamic configuration which gets resolved only during deployment.- Specified by:
getRuntimeOptionsin interfaceStaticWebsiteProps
-
getWebAclProps
public final CloudFrontWebAclProps getWebAclProps()
Description copied from interface:StaticWebsiteProps(experimental) Limited configuration settings for the generated webAcl.For more advanced settings, create your own ACL and pass in the webAclId as a param to distributionProps.
Note: If pass in your own ACL, make sure the SCOPE is CLOUDFRONT and it is created in us-east-1.
- Specified by:
getWebAclPropsin interfaceStaticWebsiteProps
-
getWebsiteBucket
public final software.amazon.awscdk.services.s3.IBucket getWebsiteBucket()
Description copied from interface:StaticWebsiteProps(experimental) Predefined bucket to deploy the website into.- Specified by:
getWebsiteBucketin interfaceStaticWebsiteProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-