mirror of https://github.com/pulumi/pulumi.git
37 lines
1.3 KiB
Python
37 lines
1.3 KiB
Python
import pulumi
|
|
import pulumi_aws_static_website as aws_static_website
|
|
|
|
website_resource = aws_static_website.Website("websiteResource",
|
|
site_path="string",
|
|
index_html="string",
|
|
cache_ttl=0,
|
|
cdn_args=aws_static_website.CDNArgsArgs(
|
|
cloudfront_function_associations=[aws.cloudfront.DistributionOrderedCacheBehaviorFunctionAssociationArgs(
|
|
event_type="string",
|
|
function_arn="string",
|
|
)],
|
|
forwarded_values=aws.cloudfront.DistributionDefaultCacheBehaviorForwardedValuesArgs(
|
|
cookies=aws.cloudfront.DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs(
|
|
forward="string",
|
|
whitelisted_names=["string"],
|
|
),
|
|
query_string=False,
|
|
headers=["string"],
|
|
query_string_cache_keys=["string"],
|
|
),
|
|
lambda_function_associations=[aws.cloudfront.DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs(
|
|
event_type="string",
|
|
lambda_arn="string",
|
|
include_body=False,
|
|
)],
|
|
),
|
|
certificate_arn="string",
|
|
error404="string",
|
|
add_website_version_header=False,
|
|
price_class="string",
|
|
atomic_deployments=False,
|
|
subdomain="string",
|
|
target_domain="string",
|
|
with_cdn=False,
|
|
with_logs=False)
|