Creates an Amazon CloudFront multi-tenant distribution.
Multi-tenant distributions are a specialized type of CloudFront distribution designed for multi-tenant applications. They have specific limitations and requirements compared to standard CloudFront distributions.
For information about CloudFront multi-tenant distributions, see the Amazon CloudFront Developer Guide.
NOTE: CloudFront distributions take about 15 minutes to reach a deployed state after creation or modification. During this time, deletes to resources will be blocked. If you need to delete a distribution that is enabled and you do not want to wait, you need to use the
retain_on_deleteflag.
Multi-tenant Distribution Limitations
Multi-tenant distributions have the following limitations compared to standard CloudFront distributions:
- Connection Mode: Automatically set to
tenant-onlyand cannot be modified - Cache Policies: Must use cache policies instead of legacy TTL settings
- Trusted Key Groups: Must use trusted key groups instead of trusted signers
- WAF Integration: Only supports WAF v2 web ACLs
- Certificate Management: Must use ACM certificates (IAM certificates not supported)
Unsupported Attributes
The following attributes that are available in standard CloudFront distributions are not supported for multi-tenant distributions:
active_trusted_signers- Useactive_trusted_key_groupsinsteadalias_icp_recordals- Managed by connection groupsaliases- Managed by connection groupsanycast_ip_list_id- Use connection groups insteadcontinuous_deployment_policy_idforwarded_valuesin cache behaviors - Deprecated, use cache policies insteadis_ipv6_enabled- Managed by connection groupsprice_class- Managed by connection groupssmooth_streamingin cache behaviorsstagingmodetrusted_signersin cache behaviors - Usetrusted_key_groupsinstead- Cache behavior TTL settings (
default_ttl,max_ttl,min_ttl) - Use cache policies instead
Create MultitenantDistribution Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MultitenantDistribution(name: string, args: MultitenantDistributionArgs, opts?: CustomResourceOptions);@overload
def MultitenantDistribution(resource_name: str,
args: MultitenantDistributionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MultitenantDistribution(resource_name: str,
opts: Optional[ResourceOptions] = None,
comment: Optional[str] = None,
enabled: Optional[bool] = None,
origin_groups: Optional[Sequence[MultitenantDistributionOriginGroupArgs]] = None,
origins: Optional[Sequence[MultitenantDistributionOriginArgs]] = None,
default_cache_behavior: Optional[MultitenantDistributionDefaultCacheBehaviorArgs] = None,
default_root_object: Optional[str] = None,
cache_behaviors: Optional[Sequence[MultitenantDistributionCacheBehaviorArgs]] = None,
http_version: Optional[str] = None,
active_trusted_key_groups: Optional[Sequence[MultitenantDistributionActiveTrustedKeyGroupArgs]] = None,
custom_error_responses: Optional[Sequence[MultitenantDistributionCustomErrorResponseArgs]] = None,
restrictions: Optional[MultitenantDistributionRestrictionsArgs] = None,
tags: Optional[Mapping[str, str]] = None,
tenant_config: Optional[MultitenantDistributionTenantConfigArgs] = None,
timeouts: Optional[MultitenantDistributionTimeoutsArgs] = None,
viewer_certificate: Optional[MultitenantDistributionViewerCertificateArgs] = None,
web_acl_id: Optional[str] = None)func NewMultitenantDistribution(ctx *Context, name string, args MultitenantDistributionArgs, opts ...ResourceOption) (*MultitenantDistribution, error)public MultitenantDistribution(string name, MultitenantDistributionArgs args, CustomResourceOptions? opts = null)
public MultitenantDistribution(String name, MultitenantDistributionArgs args)
public MultitenantDistribution(String name, MultitenantDistributionArgs args, CustomResourceOptions options)
type: aws:cloudfront:MultitenantDistribution
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MultitenantDistributionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MultitenantDistributionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MultitenantDistributionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MultitenantDistributionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MultitenantDistributionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var multitenantDistributionResource = new Aws.CloudFront.MultitenantDistribution("multitenantDistributionResource", new()
{
Comment = "string",
Enabled = false,
OriginGroups = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionOriginGroupArgs
{
OriginId = "string",
FailoverCriteria = new Aws.CloudFront.Inputs.MultitenantDistributionOriginGroupFailoverCriteriaArgs
{
StatusCodes = new[]
{
0,
},
},
Members = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionOriginGroupMemberArgs
{
OriginId = "string",
},
},
},
},
Origins = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionOriginArgs
{
DomainName = "string",
Id = "string",
ConnectionAttempts = 0,
ConnectionTimeout = 0,
CustomHeaders = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionOriginCustomHeaderArgs
{
HeaderName = "string",
HeaderValue = "string",
},
},
CustomOriginConfigs = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionOriginCustomOriginConfigArgs
{
HttpPort = 0,
HttpsPort = 0,
OriginProtocolPolicy = "string",
OriginSslProtocols = new[]
{
"string",
},
IpAddressType = "string",
OriginKeepaliveTimeout = 0,
OriginReadTimeout = 0,
},
},
OriginAccessControlId = "string",
OriginPath = "string",
OriginShields = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionOriginOriginShieldArgs
{
Enabled = false,
OriginShieldRegion = "string",
},
},
ResponseCompletionTimeout = 0,
VpcOriginConfigs = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionOriginVpcOriginConfigArgs
{
VpcOriginId = "string",
OriginKeepaliveTimeout = 0,
OriginReadTimeout = 0,
},
},
},
},
DefaultCacheBehavior = new Aws.CloudFront.Inputs.MultitenantDistributionDefaultCacheBehaviorArgs
{
TargetOriginId = "string",
ViewerProtocolPolicy = "string",
AllowedMethods = new Aws.CloudFront.Inputs.MultitenantDistributionDefaultCacheBehaviorAllowedMethodsArgs
{
CachedMethods = new[]
{
"string",
},
Items = new[]
{
"string",
},
},
CachePolicyId = "string",
Compress = false,
FieldLevelEncryptionId = "string",
FunctionAssociations = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionDefaultCacheBehaviorFunctionAssociationArgs
{
EventType = "string",
FunctionArn = "string",
},
},
LambdaFunctionAssociations = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs
{
EventType = "string",
LambdaFunctionArn = "string",
IncludeBody = false,
},
},
OriginRequestPolicyId = "string",
RealtimeLogConfigArn = "string",
ResponseHeadersPolicyId = "string",
TrustedKeyGroups = new Aws.CloudFront.Inputs.MultitenantDistributionDefaultCacheBehaviorTrustedKeyGroupsArgs
{
Enabled = false,
Items = new[]
{
"string",
},
},
},
DefaultRootObject = "string",
CacheBehaviors = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionCacheBehaviorArgs
{
PathPattern = "string",
ViewerProtocolPolicy = "string",
TargetOriginId = "string",
OriginRequestPolicyId = "string",
FunctionAssociations = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionCacheBehaviorFunctionAssociationArgs
{
EventType = "string",
FunctionArn = "string",
},
},
LambdaFunctionAssociations = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionCacheBehaviorLambdaFunctionAssociationArgs
{
EventType = "string",
LambdaFunctionArn = "string",
IncludeBody = false,
},
},
AllowedMethods = new Aws.CloudFront.Inputs.MultitenantDistributionCacheBehaviorAllowedMethodsArgs
{
CachedMethods = new[]
{
"string",
},
Items = new[]
{
"string",
},
},
FieldLevelEncryptionId = "string",
RealtimeLogConfigArn = "string",
ResponseHeadersPolicyId = "string",
Compress = false,
TrustedKeyGroups = new Aws.CloudFront.Inputs.MultitenantDistributionCacheBehaviorTrustedKeyGroupsArgs
{
Enabled = false,
Items = new[]
{
"string",
},
},
CachePolicyId = "string",
},
},
HttpVersion = "string",
ActiveTrustedKeyGroups = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionActiveTrustedKeyGroupArgs
{
Enabled = false,
Items = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionActiveTrustedKeyGroupItemArgs
{
KeyGroupId = "string",
KeyPairIds = new[]
{
"string",
},
},
},
},
},
CustomErrorResponses = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionCustomErrorResponseArgs
{
ErrorCode = 0,
ErrorCachingMinTtl = 0,
ResponseCode = "string",
ResponsePagePath = "string",
},
},
Restrictions = new Aws.CloudFront.Inputs.MultitenantDistributionRestrictionsArgs
{
GeoRestriction = new Aws.CloudFront.Inputs.MultitenantDistributionRestrictionsGeoRestrictionArgs
{
RestrictionType = "string",
Items = new[]
{
"string",
},
},
},
Tags =
{
{ "string", "string" },
},
TenantConfig = new Aws.CloudFront.Inputs.MultitenantDistributionTenantConfigArgs
{
ParameterDefinitions = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionTenantConfigParameterDefinitionArgs
{
Name = "string",
Definitions = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionTenantConfigParameterDefinitionDefinitionArgs
{
StringSchemas = new[]
{
new Aws.CloudFront.Inputs.MultitenantDistributionTenantConfigParameterDefinitionDefinitionStringSchemaArgs
{
Required = false,
Comment = "string",
DefaultValue = "string",
},
},
},
},
},
},
},
Timeouts = new Aws.CloudFront.Inputs.MultitenantDistributionTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
ViewerCertificate = new Aws.CloudFront.Inputs.MultitenantDistributionViewerCertificateArgs
{
AcmCertificateArn = "string",
CloudfrontDefaultCertificate = false,
MinimumProtocolVersion = "string",
SslSupportMethod = "string",
},
WebAclId = "string",
});
example, err := cloudfront.NewMultitenantDistribution(ctx, "multitenantDistributionResource", &cloudfront.MultitenantDistributionArgs{
Comment: pulumi.String("string"),
Enabled: pulumi.Bool(false),
OriginGroups: cloudfront.MultitenantDistributionOriginGroupArray{
&cloudfront.MultitenantDistributionOriginGroupArgs{
OriginId: pulumi.String("string"),
FailoverCriteria: &cloudfront.MultitenantDistributionOriginGroupFailoverCriteriaArgs{
StatusCodes: pulumi.IntArray{
pulumi.Int(0),
},
},
Members: cloudfront.MultitenantDistributionOriginGroupMemberArray{
&cloudfront.MultitenantDistributionOriginGroupMemberArgs{
OriginId: pulumi.String("string"),
},
},
},
},
Origins: cloudfront.MultitenantDistributionOriginArray{
&cloudfront.MultitenantDistributionOriginArgs{
DomainName: pulumi.String("string"),
Id: pulumi.String("string"),
ConnectionAttempts: pulumi.Int(0),
ConnectionTimeout: pulumi.Int(0),
CustomHeaders: cloudfront.MultitenantDistributionOriginCustomHeaderArray{
&cloudfront.MultitenantDistributionOriginCustomHeaderArgs{
HeaderName: pulumi.String("string"),
HeaderValue: pulumi.String("string"),
},
},
CustomOriginConfigs: cloudfront.MultitenantDistributionOriginCustomOriginConfigArray{
&cloudfront.MultitenantDistributionOriginCustomOriginConfigArgs{
HttpPort: pulumi.Int(0),
HttpsPort: pulumi.Int(0),
OriginProtocolPolicy: pulumi.String("string"),
OriginSslProtocols: pulumi.StringArray{
pulumi.String("string"),
},
IpAddressType: pulumi.String("string"),
OriginKeepaliveTimeout: pulumi.Int(0),
OriginReadTimeout: pulumi.Int(0),
},
},
OriginAccessControlId: pulumi.String("string"),
OriginPath: pulumi.String("string"),
OriginShields: cloudfront.MultitenantDistributionOriginOriginShieldArray{
&cloudfront.MultitenantDistributionOriginOriginShieldArgs{
Enabled: pulumi.Bool(false),
OriginShieldRegion: pulumi.String("string"),
},
},
ResponseCompletionTimeout: pulumi.Int(0),
VpcOriginConfigs: cloudfront.MultitenantDistributionOriginVpcOriginConfigArray{
&cloudfront.MultitenantDistributionOriginVpcOriginConfigArgs{
VpcOriginId: pulumi.String("string"),
OriginKeepaliveTimeout: pulumi.Int(0),
OriginReadTimeout: pulumi.Int(0),
},
},
},
},
DefaultCacheBehavior: &cloudfront.MultitenantDistributionDefaultCacheBehaviorArgs{
TargetOriginId: pulumi.String("string"),
ViewerProtocolPolicy: pulumi.String("string"),
AllowedMethods: &cloudfront.MultitenantDistributionDefaultCacheBehaviorAllowedMethodsArgs{
CachedMethods: pulumi.StringArray{
pulumi.String("string"),
},
Items: pulumi.StringArray{
pulumi.String("string"),
},
},
CachePolicyId: pulumi.String("string"),
Compress: pulumi.Bool(false),
FieldLevelEncryptionId: pulumi.String("string"),
FunctionAssociations: cloudfront.MultitenantDistributionDefaultCacheBehaviorFunctionAssociationArray{
&cloudfront.MultitenantDistributionDefaultCacheBehaviorFunctionAssociationArgs{
EventType: pulumi.String("string"),
FunctionArn: pulumi.String("string"),
},
},
LambdaFunctionAssociations: cloudfront.MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociationArray{
&cloudfront.MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs{
EventType: pulumi.String("string"),
LambdaFunctionArn: pulumi.String("string"),
IncludeBody: pulumi.Bool(false),
},
},
OriginRequestPolicyId: pulumi.String("string"),
RealtimeLogConfigArn: pulumi.String("string"),
ResponseHeadersPolicyId: pulumi.String("string"),
TrustedKeyGroups: &cloudfront.MultitenantDistributionDefaultCacheBehaviorTrustedKeyGroupsArgs{
Enabled: pulumi.Bool(false),
Items: pulumi.StringArray{
pulumi.String("string"),
},
},
},
DefaultRootObject: pulumi.String("string"),
CacheBehaviors: cloudfront.MultitenantDistributionCacheBehaviorArray{
&cloudfront.MultitenantDistributionCacheBehaviorArgs{
PathPattern: pulumi.String("string"),
ViewerProtocolPolicy: pulumi.String("string"),
TargetOriginId: pulumi.String("string"),
OriginRequestPolicyId: pulumi.String("string"),
FunctionAssociations: cloudfront.MultitenantDistributionCacheBehaviorFunctionAssociationArray{
&cloudfront.MultitenantDistributionCacheBehaviorFunctionAssociationArgs{
EventType: pulumi.String("string"),
FunctionArn: pulumi.String("string"),
},
},
LambdaFunctionAssociations: cloudfront.MultitenantDistributionCacheBehaviorLambdaFunctionAssociationArray{
&cloudfront.MultitenantDistributionCacheBehaviorLambdaFunctionAssociationArgs{
EventType: pulumi.String("string"),
LambdaFunctionArn: pulumi.String("string"),
IncludeBody: pulumi.Bool(false),
},
},
AllowedMethods: &cloudfront.MultitenantDistributionCacheBehaviorAllowedMethodsArgs{
CachedMethods: pulumi.StringArray{
pulumi.String("string"),
},
Items: pulumi.StringArray{
pulumi.String("string"),
},
},
FieldLevelEncryptionId: pulumi.String("string"),
RealtimeLogConfigArn: pulumi.String("string"),
ResponseHeadersPolicyId: pulumi.String("string"),
Compress: pulumi.Bool(false),
TrustedKeyGroups: &cloudfront.MultitenantDistributionCacheBehaviorTrustedKeyGroupsArgs{
Enabled: pulumi.Bool(false),
Items: pulumi.StringArray{
pulumi.String("string"),
},
},
CachePolicyId: pulumi.String("string"),
},
},
HttpVersion: pulumi.String("string"),
ActiveTrustedKeyGroups: cloudfront.MultitenantDistributionActiveTrustedKeyGroupArray{
&cloudfront.MultitenantDistributionActiveTrustedKeyGroupArgs{
Enabled: pulumi.Bool(false),
Items: cloudfront.MultitenantDistributionActiveTrustedKeyGroupItemArray{
&cloudfront.MultitenantDistributionActiveTrustedKeyGroupItemArgs{
KeyGroupId: pulumi.String("string"),
KeyPairIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
CustomErrorResponses: cloudfront.MultitenantDistributionCustomErrorResponseArray{
&cloudfront.MultitenantDistributionCustomErrorResponseArgs{
ErrorCode: pulumi.Int(0),
ErrorCachingMinTtl: pulumi.Int(0),
ResponseCode: pulumi.String("string"),
ResponsePagePath: pulumi.String("string"),
},
},
Restrictions: &cloudfront.MultitenantDistributionRestrictionsArgs{
GeoRestriction: &cloudfront.MultitenantDistributionRestrictionsGeoRestrictionArgs{
RestrictionType: pulumi.String("string"),
Items: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TenantConfig: &cloudfront.MultitenantDistributionTenantConfigArgs{
ParameterDefinitions: cloudfront.MultitenantDistributionTenantConfigParameterDefinitionArray{
&cloudfront.MultitenantDistributionTenantConfigParameterDefinitionArgs{
Name: pulumi.String("string"),
Definitions: cloudfront.MultitenantDistributionTenantConfigParameterDefinitionDefinitionArray{
&cloudfront.MultitenantDistributionTenantConfigParameterDefinitionDefinitionArgs{
StringSchemas: cloudfront.MultitenantDistributionTenantConfigParameterDefinitionDefinitionStringSchemaArray{
&cloudfront.MultitenantDistributionTenantConfigParameterDefinitionDefinitionStringSchemaArgs{
Required: pulumi.Bool(false),
Comment: pulumi.String("string"),
DefaultValue: pulumi.String("string"),
},
},
},
},
},
},
},
Timeouts: &cloudfront.MultitenantDistributionTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
ViewerCertificate: &cloudfront.MultitenantDistributionViewerCertificateArgs{
AcmCertificateArn: pulumi.String("string"),
CloudfrontDefaultCertificate: pulumi.Bool(false),
MinimumProtocolVersion: pulumi.String("string"),
SslSupportMethod: pulumi.String("string"),
},
WebAclId: pulumi.String("string"),
})
var multitenantDistributionResource = new MultitenantDistribution("multitenantDistributionResource", MultitenantDistributionArgs.builder()
.comment("string")
.enabled(false)
.originGroups(MultitenantDistributionOriginGroupArgs.builder()
.originId("string")
.failoverCriteria(MultitenantDistributionOriginGroupFailoverCriteriaArgs.builder()
.statusCodes(0)
.build())
.members(MultitenantDistributionOriginGroupMemberArgs.builder()
.originId("string")
.build())
.build())
.origins(MultitenantDistributionOriginArgs.builder()
.domainName("string")
.id("string")
.connectionAttempts(0)
.connectionTimeout(0)
.customHeaders(MultitenantDistributionOriginCustomHeaderArgs.builder()
.headerName("string")
.headerValue("string")
.build())
.customOriginConfigs(MultitenantDistributionOriginCustomOriginConfigArgs.builder()
.httpPort(0)
.httpsPort(0)
.originProtocolPolicy("string")
.originSslProtocols("string")
.ipAddressType("string")
.originKeepaliveTimeout(0)
.originReadTimeout(0)
.build())
.originAccessControlId("string")
.originPath("string")
.originShields(MultitenantDistributionOriginOriginShieldArgs.builder()
.enabled(false)
.originShieldRegion("string")
.build())
.responseCompletionTimeout(0)
.vpcOriginConfigs(MultitenantDistributionOriginVpcOriginConfigArgs.builder()
.vpcOriginId("string")
.originKeepaliveTimeout(0)
.originReadTimeout(0)
.build())
.build())
.defaultCacheBehavior(MultitenantDistributionDefaultCacheBehaviorArgs.builder()
.targetOriginId("string")
.viewerProtocolPolicy("string")
.allowedMethods(MultitenantDistributionDefaultCacheBehaviorAllowedMethodsArgs.builder()
.cachedMethods("string")
.items("string")
.build())
.cachePolicyId("string")
.compress(false)
.fieldLevelEncryptionId("string")
.functionAssociations(MultitenantDistributionDefaultCacheBehaviorFunctionAssociationArgs.builder()
.eventType("string")
.functionArn("string")
.build())
.lambdaFunctionAssociations(MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs.builder()
.eventType("string")
.lambdaFunctionArn("string")
.includeBody(false)
.build())
.originRequestPolicyId("string")
.realtimeLogConfigArn("string")
.responseHeadersPolicyId("string")
.trustedKeyGroups(MultitenantDistributionDefaultCacheBehaviorTrustedKeyGroupsArgs.builder()
.enabled(false)
.items("string")
.build())
.build())
.defaultRootObject("string")
.cacheBehaviors(MultitenantDistributionCacheBehaviorArgs.builder()
.pathPattern("string")
.viewerProtocolPolicy("string")
.targetOriginId("string")
.originRequestPolicyId("string")
.functionAssociations(MultitenantDistributionCacheBehaviorFunctionAssociationArgs.builder()
.eventType("string")
.functionArn("string")
.build())
.lambdaFunctionAssociations(MultitenantDistributionCacheBehaviorLambdaFunctionAssociationArgs.builder()
.eventType("string")
.lambdaFunctionArn("string")
.includeBody(false)
.build())
.allowedMethods(MultitenantDistributionCacheBehaviorAllowedMethodsArgs.builder()
.cachedMethods("string")
.items("string")
.build())
.fieldLevelEncryptionId("string")
.realtimeLogConfigArn("string")
.responseHeadersPolicyId("string")
.compress(false)
.trustedKeyGroups(MultitenantDistributionCacheBehaviorTrustedKeyGroupsArgs.builder()
.enabled(false)
.items("string")
.build())
.cachePolicyId("string")
.build())
.httpVersion("string")
.activeTrustedKeyGroups(MultitenantDistributionActiveTrustedKeyGroupArgs.builder()
.enabled(false)
.items(MultitenantDistributionActiveTrustedKeyGroupItemArgs.builder()
.keyGroupId("string")
.keyPairIds("string")
.build())
.build())
.customErrorResponses(MultitenantDistributionCustomErrorResponseArgs.builder()
.errorCode(0)
.errorCachingMinTtl(0)
.responseCode("string")
.responsePagePath("string")
.build())
.restrictions(MultitenantDistributionRestrictionsArgs.builder()
.geoRestriction(MultitenantDistributionRestrictionsGeoRestrictionArgs.builder()
.restrictionType("string")
.items("string")
.build())
.build())
.tags(Map.of("string", "string"))
.tenantConfig(MultitenantDistributionTenantConfigArgs.builder()
.parameterDefinitions(MultitenantDistributionTenantConfigParameterDefinitionArgs.builder()
.name("string")
.definitions(MultitenantDistributionTenantConfigParameterDefinitionDefinitionArgs.builder()
.stringSchemas(MultitenantDistributionTenantConfigParameterDefinitionDefinitionStringSchemaArgs.builder()
.required(false)
.comment("string")
.defaultValue("string")
.build())
.build())
.build())
.build())
.timeouts(MultitenantDistributionTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.viewerCertificate(MultitenantDistributionViewerCertificateArgs.builder()
.acmCertificateArn("string")
.cloudfrontDefaultCertificate(false)
.minimumProtocolVersion("string")
.sslSupportMethod("string")
.build())
.webAclId("string")
.build());
multitenant_distribution_resource = aws.cloudfront.MultitenantDistribution("multitenantDistributionResource",
comment="string",
enabled=False,
origin_groups=[{
"origin_id": "string",
"failover_criteria": {
"status_codes": [0],
},
"members": [{
"origin_id": "string",
}],
}],
origins=[{
"domain_name": "string",
"id": "string",
"connection_attempts": 0,
"connection_timeout": 0,
"custom_headers": [{
"header_name": "string",
"header_value": "string",
}],
"custom_origin_configs": [{
"http_port": 0,
"https_port": 0,
"origin_protocol_policy": "string",
"origin_ssl_protocols": ["string"],
"ip_address_type": "string",
"origin_keepalive_timeout": 0,
"origin_read_timeout": 0,
}],
"origin_access_control_id": "string",
"origin_path": "string",
"origin_shields": [{
"enabled": False,
"origin_shield_region": "string",
}],
"response_completion_timeout": 0,
"vpc_origin_configs": [{
"vpc_origin_id": "string",
"origin_keepalive_timeout": 0,
"origin_read_timeout": 0,
}],
}],
default_cache_behavior={
"target_origin_id": "string",
"viewer_protocol_policy": "string",
"allowed_methods": {
"cached_methods": ["string"],
"items": ["string"],
},
"cache_policy_id": "string",
"compress": False,
"field_level_encryption_id": "string",
"function_associations": [{
"event_type": "string",
"function_arn": "string",
}],
"lambda_function_associations": [{
"event_type": "string",
"lambda_function_arn": "string",
"include_body": False,
}],
"origin_request_policy_id": "string",
"realtime_log_config_arn": "string",
"response_headers_policy_id": "string",
"trusted_key_groups": {
"enabled": False,
"items": ["string"],
},
},
default_root_object="string",
cache_behaviors=[{
"path_pattern": "string",
"viewer_protocol_policy": "string",
"target_origin_id": "string",
"origin_request_policy_id": "string",
"function_associations": [{
"event_type": "string",
"function_arn": "string",
}],
"lambda_function_associations": [{
"event_type": "string",
"lambda_function_arn": "string",
"include_body": False,
}],
"allowed_methods": {
"cached_methods": ["string"],
"items": ["string"],
},
"field_level_encryption_id": "string",
"realtime_log_config_arn": "string",
"response_headers_policy_id": "string",
"compress": False,
"trusted_key_groups": {
"enabled": False,
"items": ["string"],
},
"cache_policy_id": "string",
}],
http_version="string",
active_trusted_key_groups=[{
"enabled": False,
"items": [{
"key_group_id": "string",
"key_pair_ids": ["string"],
}],
}],
custom_error_responses=[{
"error_code": 0,
"error_caching_min_ttl": 0,
"response_code": "string",
"response_page_path": "string",
}],
restrictions={
"geo_restriction": {
"restriction_type": "string",
"items": ["string"],
},
},
tags={
"string": "string",
},
tenant_config={
"parameter_definitions": [{
"name": "string",
"definitions": [{
"string_schemas": [{
"required": False,
"comment": "string",
"default_value": "string",
}],
}],
}],
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
viewer_certificate={
"acm_certificate_arn": "string",
"cloudfront_default_certificate": False,
"minimum_protocol_version": "string",
"ssl_support_method": "string",
},
web_acl_id="string")
const multitenantDistributionResource = new aws.cloudfront.MultitenantDistribution("multitenantDistributionResource", {
comment: "string",
enabled: false,
originGroups: [{
originId: "string",
failoverCriteria: {
statusCodes: [0],
},
members: [{
originId: "string",
}],
}],
origins: [{
domainName: "string",
id: "string",
connectionAttempts: 0,
connectionTimeout: 0,
customHeaders: [{
headerName: "string",
headerValue: "string",
}],
customOriginConfigs: [{
httpPort: 0,
httpsPort: 0,
originProtocolPolicy: "string",
originSslProtocols: ["string"],
ipAddressType: "string",
originKeepaliveTimeout: 0,
originReadTimeout: 0,
}],
originAccessControlId: "string",
originPath: "string",
originShields: [{
enabled: false,
originShieldRegion: "string",
}],
responseCompletionTimeout: 0,
vpcOriginConfigs: [{
vpcOriginId: "string",
originKeepaliveTimeout: 0,
originReadTimeout: 0,
}],
}],
defaultCacheBehavior: {
targetOriginId: "string",
viewerProtocolPolicy: "string",
allowedMethods: {
cachedMethods: ["string"],
items: ["string"],
},
cachePolicyId: "string",
compress: false,
fieldLevelEncryptionId: "string",
functionAssociations: [{
eventType: "string",
functionArn: "string",
}],
lambdaFunctionAssociations: [{
eventType: "string",
lambdaFunctionArn: "string",
includeBody: false,
}],
originRequestPolicyId: "string",
realtimeLogConfigArn: "string",
responseHeadersPolicyId: "string",
trustedKeyGroups: {
enabled: false,
items: ["string"],
},
},
defaultRootObject: "string",
cacheBehaviors: [{
pathPattern: "string",
viewerProtocolPolicy: "string",
targetOriginId: "string",
originRequestPolicyId: "string",
functionAssociations: [{
eventType: "string",
functionArn: "string",
}],
lambdaFunctionAssociations: [{
eventType: "string",
lambdaFunctionArn: "string",
includeBody: false,
}],
allowedMethods: {
cachedMethods: ["string"],
items: ["string"],
},
fieldLevelEncryptionId: "string",
realtimeLogConfigArn: "string",
responseHeadersPolicyId: "string",
compress: false,
trustedKeyGroups: {
enabled: false,
items: ["string"],
},
cachePolicyId: "string",
}],
httpVersion: "string",
activeTrustedKeyGroups: [{
enabled: false,
items: [{
keyGroupId: "string",
keyPairIds: ["string"],
}],
}],
customErrorResponses: [{
errorCode: 0,
errorCachingMinTtl: 0,
responseCode: "string",
responsePagePath: "string",
}],
restrictions: {
geoRestriction: {
restrictionType: "string",
items: ["string"],
},
},
tags: {
string: "string",
},
tenantConfig: {
parameterDefinitions: [{
name: "string",
definitions: [{
stringSchemas: [{
required: false,
comment: "string",
defaultValue: "string",
}],
}],
}],
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
viewerCertificate: {
acmCertificateArn: "string",
cloudfrontDefaultCertificate: false,
minimumProtocolVersion: "string",
sslSupportMethod: "string",
},
webAclId: "string",
});
type: aws:cloudfront:MultitenantDistribution
properties:
activeTrustedKeyGroups:
- enabled: false
items:
- keyGroupId: string
keyPairIds:
- string
cacheBehaviors:
- allowedMethods:
cachedMethods:
- string
items:
- string
cachePolicyId: string
compress: false
fieldLevelEncryptionId: string
functionAssociations:
- eventType: string
functionArn: string
lambdaFunctionAssociations:
- eventType: string
includeBody: false
lambdaFunctionArn: string
originRequestPolicyId: string
pathPattern: string
realtimeLogConfigArn: string
responseHeadersPolicyId: string
targetOriginId: string
trustedKeyGroups:
enabled: false
items:
- string
viewerProtocolPolicy: string
comment: string
customErrorResponses:
- errorCachingMinTtl: 0
errorCode: 0
responseCode: string
responsePagePath: string
defaultCacheBehavior:
allowedMethods:
cachedMethods:
- string
items:
- string
cachePolicyId: string
compress: false
fieldLevelEncryptionId: string
functionAssociations:
- eventType: string
functionArn: string
lambdaFunctionAssociations:
- eventType: string
includeBody: false
lambdaFunctionArn: string
originRequestPolicyId: string
realtimeLogConfigArn: string
responseHeadersPolicyId: string
targetOriginId: string
trustedKeyGroups:
enabled: false
items:
- string
viewerProtocolPolicy: string
defaultRootObject: string
enabled: false
httpVersion: string
originGroups:
- failoverCriteria:
statusCodes:
- 0
members:
- originId: string
originId: string
origins:
- connectionAttempts: 0
connectionTimeout: 0
customHeaders:
- headerName: string
headerValue: string
customOriginConfigs:
- httpPort: 0
httpsPort: 0
ipAddressType: string
originKeepaliveTimeout: 0
originProtocolPolicy: string
originReadTimeout: 0
originSslProtocols:
- string
domainName: string
id: string
originAccessControlId: string
originPath: string
originShields:
- enabled: false
originShieldRegion: string
responseCompletionTimeout: 0
vpcOriginConfigs:
- originKeepaliveTimeout: 0
originReadTimeout: 0
vpcOriginId: string
restrictions:
geoRestriction:
items:
- string
restrictionType: string
tags:
string: string
tenantConfig:
parameterDefinitions:
- definitions:
- stringSchemas:
- comment: string
defaultValue: string
required: false
name: string
timeouts:
create: string
delete: string
update: string
viewerCertificate:
acmCertificateArn: string
cloudfrontDefaultCertificate: false
minimumProtocolVersion: string
sslSupportMethod: string
webAclId: string
MultitenantDistribution Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MultitenantDistribution resource accepts the following input properties:
- Comment string
- Any comments you want to include about the distribution.
- Enabled bool
- Whether the distribution is enabled to accept end user requests for content.
- Active
Trusted List<MultitenantKey Groups Distribution Active Trusted Key Group> - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- Cache
Behaviors List<MultitenantDistribution Cache Behavior> - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- Custom
Error List<MultitenantResponses Distribution Custom Error Response> - One or more custom error response elements. See Custom Error Response below.
- Default
Cache MultitenantBehavior Distribution Default Cache Behavior - Default cache behavior for this distribution. See Default Cache Behavior below.
- Default
Root stringObject - Object that you want CloudFront to return when an end user requests the root URL.
- Http
Version string - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - Origin
Groups List<MultitenantDistribution Origin Group> - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- Origins
List<Multitenant
Distribution Origin> - One or more origins for this distribution (multiples allowed). See Origin below.
- Restrictions
Multitenant
Distribution Restrictions - Restriction configuration for this distribution. See Restrictions below.
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Tenant
Config MultitenantDistribution Tenant Config - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- Timeouts
Multitenant
Distribution Timeouts - Viewer
Certificate MultitenantDistribution Viewer Certificate - SSL configuration for this distribution. See Viewer Certificate below.
- Web
Acl stringId - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
- Comment string
- Any comments you want to include about the distribution.
- Enabled bool
- Whether the distribution is enabled to accept end user requests for content.
- Active
Trusted []MultitenantKey Groups Distribution Active Trusted Key Group Args - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- Cache
Behaviors []MultitenantDistribution Cache Behavior Args - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- Custom
Error []MultitenantResponses Distribution Custom Error Response Args - One or more custom error response elements. See Custom Error Response below.
- Default
Cache MultitenantBehavior Distribution Default Cache Behavior Args - Default cache behavior for this distribution. See Default Cache Behavior below.
- Default
Root stringObject - Object that you want CloudFront to return when an end user requests the root URL.
- Http
Version string - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - Origin
Groups []MultitenantDistribution Origin Group Args - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- Origins
[]Multitenant
Distribution Origin Args - One or more origins for this distribution (multiples allowed). See Origin below.
- Restrictions
Multitenant
Distribution Restrictions Args - Restriction configuration for this distribution. See Restrictions below.
- map[string]string
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Tenant
Config MultitenantDistribution Tenant Config Args - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- Timeouts
Multitenant
Distribution Timeouts Args - Viewer
Certificate MultitenantDistribution Viewer Certificate Args - SSL configuration for this distribution. See Viewer Certificate below.
- Web
Acl stringId - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
- comment String
- Any comments you want to include about the distribution.
- enabled Boolean
- Whether the distribution is enabled to accept end user requests for content.
- active
Trusted List<MultitenantKey Groups Distribution Active Trusted Key Group> - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- cache
Behaviors List<MultitenantDistribution Cache Behavior> - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- custom
Error List<MultitenantResponses Distribution Custom Error Response> - One or more custom error response elements. See Custom Error Response below.
- default
Cache MultitenantBehavior Distribution Default Cache Behavior - Default cache behavior for this distribution. See Default Cache Behavior below.
- default
Root StringObject - Object that you want CloudFront to return when an end user requests the root URL.
- http
Version String - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - origin
Groups List<MultitenantDistribution Origin Group> - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- origins
List<Multitenant
Distribution Origin> - One or more origins for this distribution (multiples allowed). See Origin below.
- restrictions
Multitenant
Distribution Restrictions - Restriction configuration for this distribution. See Restrictions below.
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - tenant
Config MultitenantDistribution Tenant Config - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- timeouts
Multitenant
Distribution Timeouts - viewer
Certificate MultitenantDistribution Viewer Certificate - SSL configuration for this distribution. See Viewer Certificate below.
- web
Acl StringId - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
- comment string
- Any comments you want to include about the distribution.
- enabled boolean
- Whether the distribution is enabled to accept end user requests for content.
- active
Trusted MultitenantKey Groups Distribution Active Trusted Key Group[] - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- cache
Behaviors MultitenantDistribution Cache Behavior[] - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- custom
Error MultitenantResponses Distribution Custom Error Response[] - One or more custom error response elements. See Custom Error Response below.
- default
Cache MultitenantBehavior Distribution Default Cache Behavior - Default cache behavior for this distribution. See Default Cache Behavior below.
- default
Root stringObject - Object that you want CloudFront to return when an end user requests the root URL.
- http
Version string - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - origin
Groups MultitenantDistribution Origin Group[] - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- origins
Multitenant
Distribution Origin[] - One or more origins for this distribution (multiples allowed). See Origin below.
- restrictions
Multitenant
Distribution Restrictions - Restriction configuration for this distribution. See Restrictions below.
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - tenant
Config MultitenantDistribution Tenant Config - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- timeouts
Multitenant
Distribution Timeouts - viewer
Certificate MultitenantDistribution Viewer Certificate - SSL configuration for this distribution. See Viewer Certificate below.
- web
Acl stringId - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
- comment str
- Any comments you want to include about the distribution.
- enabled bool
- Whether the distribution is enabled to accept end user requests for content.
- active_
trusted_ Sequence[Multitenantkey_ groups Distribution Active Trusted Key Group Args] - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- cache_
behaviors Sequence[MultitenantDistribution Cache Behavior Args] - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- custom_
error_ Sequence[Multitenantresponses Distribution Custom Error Response Args] - One or more custom error response elements. See Custom Error Response below.
- default_
cache_ Multitenantbehavior Distribution Default Cache Behavior Args - Default cache behavior for this distribution. See Default Cache Behavior below.
- default_
root_ strobject - Object that you want CloudFront to return when an end user requests the root URL.
- http_
version str - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - origin_
groups Sequence[MultitenantDistribution Origin Group Args] - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- origins
Sequence[Multitenant
Distribution Origin Args] - One or more origins for this distribution (multiples allowed). See Origin below.
- restrictions
Multitenant
Distribution Restrictions Args - Restriction configuration for this distribution. See Restrictions below.
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - tenant_
config MultitenantDistribution Tenant Config Args - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- timeouts
Multitenant
Distribution Timeouts Args - viewer_
certificate MultitenantDistribution Viewer Certificate Args - SSL configuration for this distribution. See Viewer Certificate below.
- web_
acl_ strid - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
- comment String
- Any comments you want to include about the distribution.
- enabled Boolean
- Whether the distribution is enabled to accept end user requests for content.
- active
Trusted List<Property Map>Key Groups - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- cache
Behaviors List<Property Map> - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- custom
Error List<Property Map>Responses - One or more custom error response elements. See Custom Error Response below.
- default
Cache Property MapBehavior - Default cache behavior for this distribution. See Default Cache Behavior below.
- default
Root StringObject - Object that you want CloudFront to return when an end user requests the root URL.
- http
Version String - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - origin
Groups List<Property Map> - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- origins List<Property Map>
- One or more origins for this distribution (multiples allowed). See Origin below.
- restrictions Property Map
- Restriction configuration for this distribution. See Restrictions below.
- Map<String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - tenant
Config Property Map - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- timeouts Property Map
- viewer
Certificate Property Map - SSL configuration for this distribution. See Viewer Certificate below.
- web
Acl StringId - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
Outputs
All input properties are implicitly available as output properties. Additionally, the MultitenantDistribution resource produces the following output properties:
- Arn string
- ARN for the distribution.
- Caller
Reference string - Internal value used by CloudFront to allow future updates to the distribution configuration.
- Connection
Mode string - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - Domain
Name string - Domain name corresponding to the distribution.
- Etag string
- Current version of the distribution's information.
- Id string
- The provider-assigned unique ID for this managed resource.
- In
Progress intInvalidation Batches - Number of invalidation batches currently in progress.
- Last
Modified stringTime - Date and time the distribution was last modified.
- Status string
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- Arn string
- ARN for the distribution.
- Caller
Reference string - Internal value used by CloudFront to allow future updates to the distribution configuration.
- Connection
Mode string - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - Domain
Name string - Domain name corresponding to the distribution.
- Etag string
- Current version of the distribution's information.
- Id string
- The provider-assigned unique ID for this managed resource.
- In
Progress intInvalidation Batches - Number of invalidation batches currently in progress.
- Last
Modified stringTime - Date and time the distribution was last modified.
- Status string
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn String
- ARN for the distribution.
- caller
Reference String - Internal value used by CloudFront to allow future updates to the distribution configuration.
- connection
Mode String - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - domain
Name String - Domain name corresponding to the distribution.
- etag String
- Current version of the distribution's information.
- id String
- The provider-assigned unique ID for this managed resource.
- in
Progress IntegerInvalidation Batches - Number of invalidation batches currently in progress.
- last
Modified StringTime - Date and time the distribution was last modified.
- status String
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn string
- ARN for the distribution.
- caller
Reference string - Internal value used by CloudFront to allow future updates to the distribution configuration.
- connection
Mode string - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - domain
Name string - Domain name corresponding to the distribution.
- etag string
- Current version of the distribution's information.
- id string
- The provider-assigned unique ID for this managed resource.
- in
Progress numberInvalidation Batches - Number of invalidation batches currently in progress.
- last
Modified stringTime - Date and time the distribution was last modified.
- status string
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn str
- ARN for the distribution.
- caller_
reference str - Internal value used by CloudFront to allow future updates to the distribution configuration.
- connection_
mode str - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - domain_
name str - Domain name corresponding to the distribution.
- etag str
- Current version of the distribution's information.
- id str
- The provider-assigned unique ID for this managed resource.
- in_
progress_ intinvalidation_ batches - Number of invalidation batches currently in progress.
- last_
modified_ strtime - Date and time the distribution was last modified.
- status str
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn String
- ARN for the distribution.
- caller
Reference String - Internal value used by CloudFront to allow future updates to the distribution configuration.
- connection
Mode String - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - domain
Name String - Domain name corresponding to the distribution.
- etag String
- Current version of the distribution's information.
- id String
- The provider-assigned unique ID for this managed resource.
- in
Progress NumberInvalidation Batches - Number of invalidation batches currently in progress.
- last
Modified StringTime - Date and time the distribution was last modified.
- status String
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
Look up Existing MultitenantDistribution Resource
Get an existing MultitenantDistribution resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MultitenantDistributionState, opts?: CustomResourceOptions): MultitenantDistribution@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active_trusted_key_groups: Optional[Sequence[MultitenantDistributionActiveTrustedKeyGroupArgs]] = None,
arn: Optional[str] = None,
cache_behaviors: Optional[Sequence[MultitenantDistributionCacheBehaviorArgs]] = None,
caller_reference: Optional[str] = None,
comment: Optional[str] = None,
connection_mode: Optional[str] = None,
custom_error_responses: Optional[Sequence[MultitenantDistributionCustomErrorResponseArgs]] = None,
default_cache_behavior: Optional[MultitenantDistributionDefaultCacheBehaviorArgs] = None,
default_root_object: Optional[str] = None,
domain_name: Optional[str] = None,
enabled: Optional[bool] = None,
etag: Optional[str] = None,
http_version: Optional[str] = None,
in_progress_invalidation_batches: Optional[int] = None,
last_modified_time: Optional[str] = None,
origin_groups: Optional[Sequence[MultitenantDistributionOriginGroupArgs]] = None,
origins: Optional[Sequence[MultitenantDistributionOriginArgs]] = None,
restrictions: Optional[MultitenantDistributionRestrictionsArgs] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
tenant_config: Optional[MultitenantDistributionTenantConfigArgs] = None,
timeouts: Optional[MultitenantDistributionTimeoutsArgs] = None,
viewer_certificate: Optional[MultitenantDistributionViewerCertificateArgs] = None,
web_acl_id: Optional[str] = None) -> MultitenantDistributionfunc GetMultitenantDistribution(ctx *Context, name string, id IDInput, state *MultitenantDistributionState, opts ...ResourceOption) (*MultitenantDistribution, error)public static MultitenantDistribution Get(string name, Input<string> id, MultitenantDistributionState? state, CustomResourceOptions? opts = null)public static MultitenantDistribution get(String name, Output<String> id, MultitenantDistributionState state, CustomResourceOptions options)resources: _: type: aws:cloudfront:MultitenantDistribution get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Active
Trusted List<MultitenantKey Groups Distribution Active Trusted Key Group> - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- Arn string
- ARN for the distribution.
- Cache
Behaviors List<MultitenantDistribution Cache Behavior> - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- Caller
Reference string - Internal value used by CloudFront to allow future updates to the distribution configuration.
- Comment string
- Any comments you want to include about the distribution.
- Connection
Mode string - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - Custom
Error List<MultitenantResponses Distribution Custom Error Response> - One or more custom error response elements. See Custom Error Response below.
- Default
Cache MultitenantBehavior Distribution Default Cache Behavior - Default cache behavior for this distribution. See Default Cache Behavior below.
- Default
Root stringObject - Object that you want CloudFront to return when an end user requests the root URL.
- Domain
Name string - Domain name corresponding to the distribution.
- Enabled bool
- Whether the distribution is enabled to accept end user requests for content.
- Etag string
- Current version of the distribution's information.
- Http
Version string - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - In
Progress intInvalidation Batches - Number of invalidation batches currently in progress.
- Last
Modified stringTime - Date and time the distribution was last modified.
- Origin
Groups List<MultitenantDistribution Origin Group> - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- Origins
List<Multitenant
Distribution Origin> - One or more origins for this distribution (multiples allowed). See Origin below.
- Restrictions
Multitenant
Distribution Restrictions - Restriction configuration for this distribution. See Restrictions below.
- Status string
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Tenant
Config MultitenantDistribution Tenant Config - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- Timeouts
Multitenant
Distribution Timeouts - Viewer
Certificate MultitenantDistribution Viewer Certificate - SSL configuration for this distribution. See Viewer Certificate below.
- Web
Acl stringId - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
- Active
Trusted []MultitenantKey Groups Distribution Active Trusted Key Group Args - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- Arn string
- ARN for the distribution.
- Cache
Behaviors []MultitenantDistribution Cache Behavior Args - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- Caller
Reference string - Internal value used by CloudFront to allow future updates to the distribution configuration.
- Comment string
- Any comments you want to include about the distribution.
- Connection
Mode string - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - Custom
Error []MultitenantResponses Distribution Custom Error Response Args - One or more custom error response elements. See Custom Error Response below.
- Default
Cache MultitenantBehavior Distribution Default Cache Behavior Args - Default cache behavior for this distribution. See Default Cache Behavior below.
- Default
Root stringObject - Object that you want CloudFront to return when an end user requests the root URL.
- Domain
Name string - Domain name corresponding to the distribution.
- Enabled bool
- Whether the distribution is enabled to accept end user requests for content.
- Etag string
- Current version of the distribution's information.
- Http
Version string - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - In
Progress intInvalidation Batches - Number of invalidation batches currently in progress.
- Last
Modified stringTime - Date and time the distribution was last modified.
- Origin
Groups []MultitenantDistribution Origin Group Args - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- Origins
[]Multitenant
Distribution Origin Args - One or more origins for this distribution (multiples allowed). See Origin below.
- Restrictions
Multitenant
Distribution Restrictions Args - Restriction configuration for this distribution. See Restrictions below.
- Status string
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - map[string]string
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Tenant
Config MultitenantDistribution Tenant Config Args - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- Timeouts
Multitenant
Distribution Timeouts Args - Viewer
Certificate MultitenantDistribution Viewer Certificate Args - SSL configuration for this distribution. See Viewer Certificate below.
- Web
Acl stringId - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
- active
Trusted List<MultitenantKey Groups Distribution Active Trusted Key Group> - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- arn String
- ARN for the distribution.
- cache
Behaviors List<MultitenantDistribution Cache Behavior> - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- caller
Reference String - Internal value used by CloudFront to allow future updates to the distribution configuration.
- comment String
- Any comments you want to include about the distribution.
- connection
Mode String - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - custom
Error List<MultitenantResponses Distribution Custom Error Response> - One or more custom error response elements. See Custom Error Response below.
- default
Cache MultitenantBehavior Distribution Default Cache Behavior - Default cache behavior for this distribution. See Default Cache Behavior below.
- default
Root StringObject - Object that you want CloudFront to return when an end user requests the root URL.
- domain
Name String - Domain name corresponding to the distribution.
- enabled Boolean
- Whether the distribution is enabled to accept end user requests for content.
- etag String
- Current version of the distribution's information.
- http
Version String - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - in
Progress IntegerInvalidation Batches - Number of invalidation batches currently in progress.
- last
Modified StringTime - Date and time the distribution was last modified.
- origin
Groups List<MultitenantDistribution Origin Group> - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- origins
List<Multitenant
Distribution Origin> - One or more origins for this distribution (multiples allowed). See Origin below.
- restrictions
Multitenant
Distribution Restrictions - Restriction configuration for this distribution. See Restrictions below.
- status String
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - tenant
Config MultitenantDistribution Tenant Config - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- timeouts
Multitenant
Distribution Timeouts - viewer
Certificate MultitenantDistribution Viewer Certificate - SSL configuration for this distribution. See Viewer Certificate below.
- web
Acl StringId - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
- active
Trusted MultitenantKey Groups Distribution Active Trusted Key Group[] - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- arn string
- ARN for the distribution.
- cache
Behaviors MultitenantDistribution Cache Behavior[] - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- caller
Reference string - Internal value used by CloudFront to allow future updates to the distribution configuration.
- comment string
- Any comments you want to include about the distribution.
- connection
Mode string - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - custom
Error MultitenantResponses Distribution Custom Error Response[] - One or more custom error response elements. See Custom Error Response below.
- default
Cache MultitenantBehavior Distribution Default Cache Behavior - Default cache behavior for this distribution. See Default Cache Behavior below.
- default
Root stringObject - Object that you want CloudFront to return when an end user requests the root URL.
- domain
Name string - Domain name corresponding to the distribution.
- enabled boolean
- Whether the distribution is enabled to accept end user requests for content.
- etag string
- Current version of the distribution's information.
- http
Version string - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - in
Progress numberInvalidation Batches - Number of invalidation batches currently in progress.
- last
Modified stringTime - Date and time the distribution was last modified.
- origin
Groups MultitenantDistribution Origin Group[] - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- origins
Multitenant
Distribution Origin[] - One or more origins for this distribution (multiples allowed). See Origin below.
- restrictions
Multitenant
Distribution Restrictions - Restriction configuration for this distribution. See Restrictions below.
- status string
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - tenant
Config MultitenantDistribution Tenant Config - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- timeouts
Multitenant
Distribution Timeouts - viewer
Certificate MultitenantDistribution Viewer Certificate - SSL configuration for this distribution. See Viewer Certificate below.
- web
Acl stringId - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
- active_
trusted_ Sequence[Multitenantkey_ groups Distribution Active Trusted Key Group Args] - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- arn str
- ARN for the distribution.
- cache_
behaviors Sequence[MultitenantDistribution Cache Behavior Args] - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- caller_
reference str - Internal value used by CloudFront to allow future updates to the distribution configuration.
- comment str
- Any comments you want to include about the distribution.
- connection_
mode str - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - custom_
error_ Sequence[Multitenantresponses Distribution Custom Error Response Args] - One or more custom error response elements. See Custom Error Response below.
- default_
cache_ Multitenantbehavior Distribution Default Cache Behavior Args - Default cache behavior for this distribution. See Default Cache Behavior below.
- default_
root_ strobject - Object that you want CloudFront to return when an end user requests the root URL.
- domain_
name str - Domain name corresponding to the distribution.
- enabled bool
- Whether the distribution is enabled to accept end user requests for content.
- etag str
- Current version of the distribution's information.
- http_
version str - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - in_
progress_ intinvalidation_ batches - Number of invalidation batches currently in progress.
- last_
modified_ strtime - Date and time the distribution was last modified.
- origin_
groups Sequence[MultitenantDistribution Origin Group Args] - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- origins
Sequence[Multitenant
Distribution Origin Args] - One or more origins for this distribution (multiples allowed). See Origin below.
- restrictions
Multitenant
Distribution Restrictions Args - Restriction configuration for this distribution. See Restrictions below.
- status str
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - tenant_
config MultitenantDistribution Tenant Config Args - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- timeouts
Multitenant
Distribution Timeouts Args - viewer_
certificate MultitenantDistribution Viewer Certificate Args - SSL configuration for this distribution. See Viewer Certificate below.
- web_
acl_ strid - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
- active
Trusted List<Property Map>Key Groups - List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below.
- arn String
- ARN for the distribution.
- cache
Behaviors List<Property Map> - Ordered list of cache behaviors resource for this distribution. See Cache Behavior below.
- caller
Reference String - Internal value used by CloudFront to allow future updates to the distribution configuration.
- comment String
- Any comments you want to include about the distribution.
- connection
Mode String - Connection mode for the distribution. Always set to
tenant-onlyfor multi-tenant distributions. - custom
Error List<Property Map>Responses - One or more custom error response elements. See Custom Error Response below.
- default
Cache Property MapBehavior - Default cache behavior for this distribution. See Default Cache Behavior below.
- default
Root StringObject - Object that you want CloudFront to return when an end user requests the root URL.
- domain
Name String - Domain name corresponding to the distribution.
- enabled Boolean
- Whether the distribution is enabled to accept end user requests for content.
- etag String
- Current version of the distribution's information.
- http
Version String - Maximum HTTP version to support on the distribution. Allowed values are
http1.1,http2,http2and3, andhttp3. Default:http2. - in
Progress NumberInvalidation Batches - Number of invalidation batches currently in progress.
- last
Modified StringTime - Date and time the distribution was last modified.
- origin
Groups List<Property Map> - One or more origin_group for this distribution (multiples allowed). See Origin Group below.
- origins List<Property Map>
- One or more origins for this distribution (multiples allowed). See Origin below.
- restrictions Property Map
- Restriction configuration for this distribution. See Restrictions below.
- status String
- Current status of the distribution.
Deployedif the distribution's information is fully propagated throughout the Amazon CloudFront system. - Map<String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - tenant
Config Property Map - Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below.
- timeouts Property Map
- viewer
Certificate Property Map - SSL configuration for this distribution. See Viewer Certificate below.
- web
Acl StringId - Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.
Supporting Types
MultitenantDistributionActiveTrustedKeyGroup, MultitenantDistributionActiveTrustedKeyGroupArgs
- Enabled bool
- Whether any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies.
- Items
List<Multitenant
Distribution Active Trusted Key Group Item> - List of key groups. See Key Group Items below.
- Enabled bool
- Whether any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies.
- Items
[]Multitenant
Distribution Active Trusted Key Group Item - List of key groups. See Key Group Items below.
- enabled Boolean
- Whether any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies.
- items
List<Multitenant
Distribution Active Trusted Key Group Item> - List of key groups. See Key Group Items below.
- enabled boolean
- Whether any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies.
- items
Multitenant
Distribution Active Trusted Key Group Item[] - List of key groups. See Key Group Items below.
- enabled bool
- Whether any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies.
- items
Sequence[Multitenant
Distribution Active Trusted Key Group Item] - List of key groups. See Key Group Items below.
- enabled Boolean
- Whether any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies.
- items List<Property Map>
- List of key groups. See Key Group Items below.
MultitenantDistributionActiveTrustedKeyGroupItem, MultitenantDistributionActiveTrustedKeyGroupItemArgs
- Key
Group stringId - ID of the key group that contains the public keys.
- Key
Pair List<string>Ids - Set of active CloudFront key pairs associated with the signer that can be used to verify the signatures of signed URLs and signed cookies.
- Key
Group stringId - ID of the key group that contains the public keys.
- Key
Pair []stringIds - Set of active CloudFront key pairs associated with the signer that can be used to verify the signatures of signed URLs and signed cookies.
- key
Group StringId - ID of the key group that contains the public keys.
- key
Pair List<String>Ids - Set of active CloudFront key pairs associated with the signer that can be used to verify the signatures of signed URLs and signed cookies.
- key
Group stringId - ID of the key group that contains the public keys.
- key
Pair string[]Ids - Set of active CloudFront key pairs associated with the signer that can be used to verify the signatures of signed URLs and signed cookies.
- key_
group_ strid - ID of the key group that contains the public keys.
- key_
pair_ Sequence[str]ids - Set of active CloudFront key pairs associated with the signer that can be used to verify the signatures of signed URLs and signed cookies.
- key
Group StringId - ID of the key group that contains the public keys.
- key
Pair List<String>Ids - Set of active CloudFront key pairs associated with the signer that can be used to verify the signatures of signed URLs and signed cookies.
MultitenantDistributionCacheBehavior, MultitenantDistributionCacheBehaviorArgs
- Path
Pattern string - Pattern that specifies which requests you want this cache behavior to apply to.
- Target
Origin stringId - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- Viewer
Protocol stringPolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - Allowed
Methods MultitenantDistribution Cache Behavior Allowed Methods - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- Cache
Policy stringId - Unique identifier of the cache policy that is attached to the cache behavior.
- Compress bool
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - Field
Level stringEncryption Id - Field level encryption configuration ID.
- Function
Associations List<MultitenantDistribution Cache Behavior Function Association> - Configuration block for CloudFront Functions associations. See Function Association below.
- Lambda
Function List<MultitenantAssociations Distribution Cache Behavior Lambda Function Association> - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- Origin
Request stringPolicy Id - Unique identifier of the origin request policy that is attached to the behavior.
- Realtime
Log stringConfig Arn - ARN of the real-time log configuration that is attached to this cache behavior.
- Response
Headers stringPolicy Id - Identifier for a response headers policy.
- Trusted
Key MultitenantGroups Distribution Cache Behavior Trusted Key Groups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
- Path
Pattern string - Pattern that specifies which requests you want this cache behavior to apply to.
- Target
Origin stringId - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- Viewer
Protocol stringPolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - Allowed
Methods MultitenantDistribution Cache Behavior Allowed Methods - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- Cache
Policy stringId - Unique identifier of the cache policy that is attached to the cache behavior.
- Compress bool
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - Field
Level stringEncryption Id - Field level encryption configuration ID.
- Function
Associations []MultitenantDistribution Cache Behavior Function Association - Configuration block for CloudFront Functions associations. See Function Association below.
- Lambda
Function []MultitenantAssociations Distribution Cache Behavior Lambda Function Association - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- Origin
Request stringPolicy Id - Unique identifier of the origin request policy that is attached to the behavior.
- Realtime
Log stringConfig Arn - ARN of the real-time log configuration that is attached to this cache behavior.
- Response
Headers stringPolicy Id - Identifier for a response headers policy.
- Trusted
Key MultitenantGroups Distribution Cache Behavior Trusted Key Groups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
- path
Pattern String - Pattern that specifies which requests you want this cache behavior to apply to.
- target
Origin StringId - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- viewer
Protocol StringPolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - allowed
Methods MultitenantDistribution Cache Behavior Allowed Methods - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- cache
Policy StringId - Unique identifier of the cache policy that is attached to the cache behavior.
- compress Boolean
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - field
Level StringEncryption Id - Field level encryption configuration ID.
- function
Associations List<MultitenantDistribution Cache Behavior Function Association> - Configuration block for CloudFront Functions associations. See Function Association below.
- lambda
Function List<MultitenantAssociations Distribution Cache Behavior Lambda Function Association> - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- origin
Request StringPolicy Id - Unique identifier of the origin request policy that is attached to the behavior.
- realtime
Log StringConfig Arn - ARN of the real-time log configuration that is attached to this cache behavior.
- response
Headers StringPolicy Id - Identifier for a response headers policy.
- trusted
Key MultitenantGroups Distribution Cache Behavior Trusted Key Groups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
- path
Pattern string - Pattern that specifies which requests you want this cache behavior to apply to.
- target
Origin stringId - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- viewer
Protocol stringPolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - allowed
Methods MultitenantDistribution Cache Behavior Allowed Methods - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- cache
Policy stringId - Unique identifier of the cache policy that is attached to the cache behavior.
- compress boolean
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - field
Level stringEncryption Id - Field level encryption configuration ID.
- function
Associations MultitenantDistribution Cache Behavior Function Association[] - Configuration block for CloudFront Functions associations. See Function Association below.
- lambda
Function MultitenantAssociations Distribution Cache Behavior Lambda Function Association[] - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- origin
Request stringPolicy Id - Unique identifier of the origin request policy that is attached to the behavior.
- realtime
Log stringConfig Arn - ARN of the real-time log configuration that is attached to this cache behavior.
- response
Headers stringPolicy Id - Identifier for a response headers policy.
- trusted
Key MultitenantGroups Distribution Cache Behavior Trusted Key Groups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
- path_
pattern str - Pattern that specifies which requests you want this cache behavior to apply to.
- target_
origin_ strid - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- viewer_
protocol_ strpolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - allowed_
methods MultitenantDistribution Cache Behavior Allowed Methods - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- cache_
policy_ strid - Unique identifier of the cache policy that is attached to the cache behavior.
- compress bool
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - field_
level_ strencryption_ id - Field level encryption configuration ID.
- function_
associations Sequence[MultitenantDistribution Cache Behavior Function Association] - Configuration block for CloudFront Functions associations. See Function Association below.
- lambda_
function_ Sequence[Multitenantassociations Distribution Cache Behavior Lambda Function Association] - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- origin_
request_ strpolicy_ id - Unique identifier of the origin request policy that is attached to the behavior.
- realtime_
log_ strconfig_ arn - ARN of the real-time log configuration that is attached to this cache behavior.
- response_
headers_ strpolicy_ id - Identifier for a response headers policy.
- trusted_
key_ Multitenantgroups Distribution Cache Behavior Trusted Key Groups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
- path
Pattern String - Pattern that specifies which requests you want this cache behavior to apply to.
- target
Origin StringId - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- viewer
Protocol StringPolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - allowed
Methods Property Map - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- cache
Policy StringId - Unique identifier of the cache policy that is attached to the cache behavior.
- compress Boolean
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - field
Level StringEncryption Id - Field level encryption configuration ID.
- function
Associations List<Property Map> - Configuration block for CloudFront Functions associations. See Function Association below.
- lambda
Function List<Property Map>Associations - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- origin
Request StringPolicy Id - Unique identifier of the origin request policy that is attached to the behavior.
- realtime
Log StringConfig Arn - ARN of the real-time log configuration that is attached to this cache behavior.
- response
Headers StringPolicy Id - Identifier for a response headers policy.
- trusted
Key Property MapGroups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
MultitenantDistributionCacheBehaviorAllowedMethods, MultitenantDistributionCacheBehaviorAllowedMethodsArgs
- Cached
Methods List<string> - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- Items List<string>
- Cached
Methods []string - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- Items []string
- cached
Methods List<String> - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- items List<String>
- cached
Methods string[] - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- items string[]
- cached_
methods Sequence[str] - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- items Sequence[str]
- cached
Methods List<String> - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- items List<String>
MultitenantDistributionCacheBehaviorFunctionAssociation, MultitenantDistributionCacheBehaviorFunctionAssociationArgs
- Event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - Function
Arn string - ARN of the CloudFront function.
- Event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - Function
Arn string - ARN of the CloudFront function.
- event
Type String - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - function
Arn String - ARN of the CloudFront function.
- event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - function
Arn string - ARN of the CloudFront function.
- event_
type str - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - function_
arn str - ARN of the CloudFront function.
- event
Type String - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - function
Arn String - ARN of the CloudFront function.
MultitenantDistributionCacheBehaviorLambdaFunctionAssociation, MultitenantDistributionCacheBehaviorLambdaFunctionAssociationArgs
- Event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - Lambda
Function stringArn - ARN of the Lambda function.
- Include
Body bool - When set to true, the request body is exposed to the Lambda function. Default:
false.
- Event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - Lambda
Function stringArn - ARN of the Lambda function.
- Include
Body bool - When set to true, the request body is exposed to the Lambda function. Default:
false.
- event
Type String - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - lambda
Function StringArn - ARN of the Lambda function.
- include
Body Boolean - When set to true, the request body is exposed to the Lambda function. Default:
false.
- event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - lambda
Function stringArn - ARN of the Lambda function.
- include
Body boolean - When set to true, the request body is exposed to the Lambda function. Default:
false.
- event_
type str - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - lambda_
function_ strarn - ARN of the Lambda function.
- include_
body bool - When set to true, the request body is exposed to the Lambda function. Default:
false.
- event
Type String - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - lambda
Function StringArn - ARN of the Lambda function.
- include
Body Boolean - When set to true, the request body is exposed to the Lambda function. Default:
false.
MultitenantDistributionCacheBehaviorTrustedKeyGroups, MultitenantDistributionCacheBehaviorTrustedKeyGroupsArgs
MultitenantDistributionCustomErrorResponse, MultitenantDistributionCustomErrorResponseArgs
- Error
Code int - HTTP status code for which you want to specify a custom error page and/or a caching duration.
- Error
Caching intMin Ttl - Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.
- Response
Code string - HTTP status code that you want CloudFront to return to the viewer along with the custom error page.
- Response
Page stringPath - Path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode.
- Error
Code int - HTTP status code for which you want to specify a custom error page and/or a caching duration.
- Error
Caching intMin Ttl - Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.
- Response
Code string - HTTP status code that you want CloudFront to return to the viewer along with the custom error page.
- Response
Page stringPath - Path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode.
- error
Code Integer - HTTP status code for which you want to specify a custom error page and/or a caching duration.
- error
Caching IntegerMin Ttl - Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.
- response
Code String - HTTP status code that you want CloudFront to return to the viewer along with the custom error page.
- response
Page StringPath - Path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode.
- error
Code number - HTTP status code for which you want to specify a custom error page and/or a caching duration.
- error
Caching numberMin Ttl - Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.
- response
Code string - HTTP status code that you want CloudFront to return to the viewer along with the custom error page.
- response
Page stringPath - Path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode.
- error_
code int - HTTP status code for which you want to specify a custom error page and/or a caching duration.
- error_
caching_ intmin_ ttl - Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.
- response_
code str - HTTP status code that you want CloudFront to return to the viewer along with the custom error page.
- response_
page_ strpath - Path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode.
- error
Code Number - HTTP status code for which you want to specify a custom error page and/or a caching duration.
- error
Caching NumberMin Ttl - Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.
- response
Code String - HTTP status code that you want CloudFront to return to the viewer along with the custom error page.
- response
Page StringPath - Path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode.
MultitenantDistributionDefaultCacheBehavior, MultitenantDistributionDefaultCacheBehaviorArgs
- Target
Origin stringId - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- Viewer
Protocol stringPolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - Allowed
Methods MultitenantDistribution Default Cache Behavior Allowed Methods - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- Cache
Policy stringId - Unique identifier of the cache policy that is attached to the cache behavior.
- Compress bool
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - Field
Level stringEncryption Id - Field level encryption configuration ID.
- Function
Associations List<MultitenantDistribution Default Cache Behavior Function Association> - Configuration block for CloudFront Functions associations. See Function Association below.
- Lambda
Function List<MultitenantAssociations Distribution Default Cache Behavior Lambda Function Association> - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- Origin
Request stringPolicy Id - Unique identifier of the origin request policy that is attached to the behavior.
- Realtime
Log stringConfig Arn - ARN of the real-time log configuration that is attached to this cache behavior.
- Response
Headers stringPolicy Id - Identifier for a response headers policy.
- Trusted
Key MultitenantGroups Distribution Default Cache Behavior Trusted Key Groups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
- Target
Origin stringId - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- Viewer
Protocol stringPolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - Allowed
Methods MultitenantDistribution Default Cache Behavior Allowed Methods - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- Cache
Policy stringId - Unique identifier of the cache policy that is attached to the cache behavior.
- Compress bool
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - Field
Level stringEncryption Id - Field level encryption configuration ID.
- Function
Associations []MultitenantDistribution Default Cache Behavior Function Association - Configuration block for CloudFront Functions associations. See Function Association below.
- Lambda
Function []MultitenantAssociations Distribution Default Cache Behavior Lambda Function Association - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- Origin
Request stringPolicy Id - Unique identifier of the origin request policy that is attached to the behavior.
- Realtime
Log stringConfig Arn - ARN of the real-time log configuration that is attached to this cache behavior.
- Response
Headers stringPolicy Id - Identifier for a response headers policy.
- Trusted
Key MultitenantGroups Distribution Default Cache Behavior Trusted Key Groups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
- target
Origin StringId - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- viewer
Protocol StringPolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - allowed
Methods MultitenantDistribution Default Cache Behavior Allowed Methods - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- cache
Policy StringId - Unique identifier of the cache policy that is attached to the cache behavior.
- compress Boolean
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - field
Level StringEncryption Id - Field level encryption configuration ID.
- function
Associations List<MultitenantDistribution Default Cache Behavior Function Association> - Configuration block for CloudFront Functions associations. See Function Association below.
- lambda
Function List<MultitenantAssociations Distribution Default Cache Behavior Lambda Function Association> - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- origin
Request StringPolicy Id - Unique identifier of the origin request policy that is attached to the behavior.
- realtime
Log StringConfig Arn - ARN of the real-time log configuration that is attached to this cache behavior.
- response
Headers StringPolicy Id - Identifier for a response headers policy.
- trusted
Key MultitenantGroups Distribution Default Cache Behavior Trusted Key Groups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
- target
Origin stringId - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- viewer
Protocol stringPolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - allowed
Methods MultitenantDistribution Default Cache Behavior Allowed Methods - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- cache
Policy stringId - Unique identifier of the cache policy that is attached to the cache behavior.
- compress boolean
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - field
Level stringEncryption Id - Field level encryption configuration ID.
- function
Associations MultitenantDistribution Default Cache Behavior Function Association[] - Configuration block for CloudFront Functions associations. See Function Association below.
- lambda
Function MultitenantAssociations Distribution Default Cache Behavior Lambda Function Association[] - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- origin
Request stringPolicy Id - Unique identifier of the origin request policy that is attached to the behavior.
- realtime
Log stringConfig Arn - ARN of the real-time log configuration that is attached to this cache behavior.
- response
Headers stringPolicy Id - Identifier for a response headers policy.
- trusted
Key MultitenantGroups Distribution Default Cache Behavior Trusted Key Groups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
- target_
origin_ strid - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- viewer_
protocol_ strpolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - allowed_
methods MultitenantDistribution Default Cache Behavior Allowed Methods - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- cache_
policy_ strid - Unique identifier of the cache policy that is attached to the cache behavior.
- compress bool
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - field_
level_ strencryption_ id - Field level encryption configuration ID.
- function_
associations Sequence[MultitenantDistribution Default Cache Behavior Function Association] - Configuration block for CloudFront Functions associations. See Function Association below.
- lambda_
function_ Sequence[Multitenantassociations Distribution Default Cache Behavior Lambda Function Association] - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- origin_
request_ strpolicy_ id - Unique identifier of the origin request policy that is attached to the behavior.
- realtime_
log_ strconfig_ arn - ARN of the real-time log configuration that is attached to this cache behavior.
- response_
headers_ strpolicy_ id - Identifier for a response headers policy.
- trusted_
key_ Multitenantgroups Distribution Default Cache Behavior Trusted Key Groups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
- target
Origin StringId - Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
- viewer
Protocol StringPolicy - Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of
allow-all,https-only, orredirect-to-https. - allowed
Methods Property Map - Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
- cache
Policy StringId - Unique identifier of the cache policy that is attached to the cache behavior.
- compress Boolean
- Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false. - field
Level StringEncryption Id - Field level encryption configuration ID.
- function
Associations List<Property Map> - Configuration block for CloudFront Functions associations. See Function Association below.
- lambda
Function List<Property Map>Associations - Configuration block for Lambda@Edge associations. See Lambda Function Association below.
- origin
Request StringPolicy Id - Unique identifier of the origin request policy that is attached to the behavior.
- realtime
Log StringConfig Arn - ARN of the real-time log configuration that is attached to this cache behavior.
- response
Headers StringPolicy Id - Identifier for a response headers policy.
- trusted
Key Property MapGroups - List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
MultitenantDistributionDefaultCacheBehaviorAllowedMethods, MultitenantDistributionDefaultCacheBehaviorAllowedMethodsArgs
- Cached
Methods List<string> - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- Items List<string>
- Cached
Methods []string - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- Items []string
- cached
Methods List<String> - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- items List<String>
- cached
Methods string[] - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- items string[]
- cached_
methods Sequence[str] - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- items Sequence[str]
- cached
Methods List<String> - Controls whether CloudFront caches the response to requests using the specified HTTP methods.
- items List<String>
MultitenantDistributionDefaultCacheBehaviorFunctionAssociation, MultitenantDistributionDefaultCacheBehaviorFunctionAssociationArgs
- Event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - Function
Arn string - ARN of the CloudFront function.
- Event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - Function
Arn string - ARN of the CloudFront function.
- event
Type String - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - function
Arn String - ARN of the CloudFront function.
- event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - function
Arn string - ARN of the CloudFront function.
- event_
type str - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - function_
arn str - ARN of the CloudFront function.
- event
Type String - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - function
Arn String - ARN of the CloudFront function.
MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociation, MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs
- Event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - Lambda
Function stringArn - ARN of the Lambda function.
- Include
Body bool - When set to true, the request body is exposed to the Lambda function. Default:
false.
- Event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - Lambda
Function stringArn - ARN of the Lambda function.
- Include
Body bool - When set to true, the request body is exposed to the Lambda function. Default:
false.
- event
Type String - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - lambda
Function StringArn - ARN of the Lambda function.
- include
Body Boolean - When set to true, the request body is exposed to the Lambda function. Default:
false.
- event
Type string - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - lambda
Function stringArn - ARN of the Lambda function.
- include
Body boolean - When set to true, the request body is exposed to the Lambda function. Default:
false.
- event_
type str - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - lambda_
function_ strarn - ARN of the Lambda function.
- include_
body bool - When set to true, the request body is exposed to the Lambda function. Default:
false.
- event
Type String - Specific event to trigger this function. Valid values:
viewer-request,origin-request,viewer-response,origin-response. - lambda
Function StringArn - ARN of the Lambda function.
- include
Body Boolean - When set to true, the request body is exposed to the Lambda function. Default:
false.
MultitenantDistributionDefaultCacheBehaviorTrustedKeyGroups, MultitenantDistributionDefaultCacheBehaviorTrustedKeyGroupsArgs
MultitenantDistributionOrigin, MultitenantDistributionOriginArgs
- Domain
Name string - DNS domain name of either the S3 bucket, or web site of your custom origin.
- Id string
- Identifier for the distribution.
- Connection
Attempts int - Number of times that CloudFront attempts to connect to the origin. Must be between 1-3. Default: 3.
- Connection
Timeout int - Number of seconds that CloudFront waits when trying to establish a connection to the origin. Must be between 1-10. Default: 10.
- Custom
Headers List<MultitenantDistribution Origin Custom Header> - One or more sub-resources with
nameandvalueparameters that specify header data that will be sent to the origin. See Custom Header below. - Custom
Origin List<MultitenantConfigs Distribution Origin Custom Origin Config> - CloudFront origin access identity to associate with the origin. See Custom Origin Config below.
- Origin
Access stringControl Id - CloudFront origin access control identifier to associate with the origin.
- Origin
Path string - Optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
- Origin
Shields List<MultitenantDistribution Origin Origin Shield> - CloudFront Origin Shield configuration information. See Origin Shield below.
- Response
Completion intTimeout - Number of seconds that CloudFront waits for a response after forwarding a request to the origin. Default: 30.
- Vpc
Origin List<MultitenantConfigs Distribution Origin Vpc Origin Config> - CloudFront VPC origin configuration. See VPC Origin Config below.
- Domain
Name string - DNS domain name of either the S3 bucket, or web site of your custom origin.
- Id string
- Identifier for the distribution.
- Connection
Attempts int - Number of times that CloudFront attempts to connect to the origin. Must be between 1-3. Default: 3.
- Connection
Timeout int - Number of seconds that CloudFront waits when trying to establish a connection to the origin. Must be between 1-10. Default: 10.
- Custom
Headers []MultitenantDistribution Origin Custom Header - One or more sub-resources with
nameandvalueparameters that specify header data that will be sent to the origin. See Custom Header below. - Custom
Origin []MultitenantConfigs Distribution Origin Custom Origin Config - CloudFront origin access identity to associate with the origin. See Custom Origin Config below.
- Origin
Access stringControl Id - CloudFront origin access control identifier to associate with the origin.
- Origin
Path string - Optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
- Origin
Shields []MultitenantDistribution Origin Origin Shield - CloudFront Origin Shield configuration information. See Origin Shield below.
- Response
Completion intTimeout - Number of seconds that CloudFront waits for a response after forwarding a request to the origin. Default: 30.
- Vpc
Origin []MultitenantConfigs Distribution Origin Vpc Origin Config - CloudFront VPC origin configuration. See VPC Origin Config below.
- domain
Name String - DNS domain name of either the S3 bucket, or web site of your custom origin.
- id String
- Identifier for the distribution.
- connection
Attempts Integer - Number of times that CloudFront attempts to connect to the origin. Must be between 1-3. Default: 3.
- connection
Timeout Integer - Number of seconds that CloudFront waits when trying to establish a connection to the origin. Must be between 1-10. Default: 10.
- custom
Headers List<MultitenantDistribution Origin Custom Header> - One or more sub-resources with
nameandvalueparameters that specify header data that will be sent to the origin. See Custom Header below. - custom
Origin List<MultitenantConfigs Distribution Origin Custom Origin Config> - CloudFront origin access identity to associate with the origin. See Custom Origin Config below.
- origin
Access StringControl Id - CloudFront origin access control identifier to associate with the origin.
- origin
Path String - Optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
- origin
Shields List<MultitenantDistribution Origin Origin Shield> - CloudFront Origin Shield configuration information. See Origin Shield below.
- response
Completion IntegerTimeout - Number of seconds that CloudFront waits for a response after forwarding a request to the origin. Default: 30.
- vpc
Origin List<MultitenantConfigs Distribution Origin Vpc Origin Config> - CloudFront VPC origin configuration. See VPC Origin Config below.
- domain
Name string - DNS domain name of either the S3 bucket, or web site of your custom origin.
- id string
- Identifier for the distribution.
- connection
Attempts number - Number of times that CloudFront attempts to connect to the origin. Must be between 1-3. Default: 3.
- connection
Timeout number - Number of seconds that CloudFront waits when trying to establish a connection to the origin. Must be between 1-10. Default: 10.
- custom
Headers MultitenantDistribution Origin Custom Header[] - One or more sub-resources with
nameandvalueparameters that specify header data that will be sent to the origin. See Custom Header below. - custom
Origin MultitenantConfigs Distribution Origin Custom Origin Config[] - CloudFront origin access identity to associate with the origin. See Custom Origin Config below.
- origin
Access stringControl Id - CloudFront origin access control identifier to associate with the origin.
- origin
Path string - Optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
- origin
Shields MultitenantDistribution Origin Origin Shield[] - CloudFront Origin Shield configuration information. See Origin Shield below.
- response
Completion numberTimeout - Number of seconds that CloudFront waits for a response after forwarding a request to the origin. Default: 30.
- vpc
Origin MultitenantConfigs Distribution Origin Vpc Origin Config[] - CloudFront VPC origin configuration. See VPC Origin Config below.
- domain_
name str - DNS domain name of either the S3 bucket, or web site of your custom origin.
- id str
- Identifier for the distribution.
- connection_
attempts int - Number of times that CloudFront attempts to connect to the origin. Must be between 1-3. Default: 3.
- connection_
timeout int - Number of seconds that CloudFront waits when trying to establish a connection to the origin. Must be between 1-10. Default: 10.
- custom_
headers Sequence[MultitenantDistribution Origin Custom Header] - One or more sub-resources with
nameandvalueparameters that specify header data that will be sent to the origin. See Custom Header below. - custom_
origin_ Sequence[Multitenantconfigs Distribution Origin Custom Origin Config] - CloudFront origin access identity to associate with the origin. See Custom Origin Config below.
- origin_
access_ strcontrol_ id - CloudFront origin access control identifier to associate with the origin.
- origin_
path str - Optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
- origin_
shields Sequence[MultitenantDistribution Origin Origin Shield] - CloudFront Origin Shield configuration information. See Origin Shield below.
- response_
completion_ inttimeout - Number of seconds that CloudFront waits for a response after forwarding a request to the origin. Default: 30.
- vpc_
origin_ Sequence[Multitenantconfigs Distribution Origin Vpc Origin Config] - CloudFront VPC origin configuration. See VPC Origin Config below.
- domain
Name String - DNS domain name of either the S3 bucket, or web site of your custom origin.
- id String
- Identifier for the distribution.
- connection
Attempts Number - Number of times that CloudFront attempts to connect to the origin. Must be between 1-3. Default: 3.
- connection
Timeout Number - Number of seconds that CloudFront waits when trying to establish a connection to the origin. Must be between 1-10. Default: 10.
- custom
Headers List<Property Map> - One or more sub-resources with
nameandvalueparameters that specify header data that will be sent to the origin. See Custom Header below. - custom
Origin List<Property Map>Configs - CloudFront origin access identity to associate with the origin. See Custom Origin Config below.
- origin
Access StringControl Id - CloudFront origin access control identifier to associate with the origin.
- origin
Path String - Optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
- origin
Shields List<Property Map> - CloudFront Origin Shield configuration information. See Origin Shield below.
- response
Completion NumberTimeout - Number of seconds that CloudFront waits for a response after forwarding a request to the origin. Default: 30.
- vpc
Origin List<Property Map>Configs - CloudFront VPC origin configuration. See VPC Origin Config below.
MultitenantDistributionOriginCustomHeader, MultitenantDistributionOriginCustomHeaderArgs
- Header
Name string - Name of the header.
- Header
Value string - Value for the header.
- Header
Name string - Name of the header.
- Header
Value string - Value for the header.
- header
Name String - Name of the header.
- header
Value String - Value for the header.
- header
Name string - Name of the header.
- header
Value string - Value for the header.
- header_
name str - Name of the header.
- header_
value str - Value for the header.
- header
Name String - Name of the header.
- header
Value String - Value for the header.
MultitenantDistributionOriginCustomOriginConfig, MultitenantDistributionOriginCustomOriginConfigArgs
- Http
Port int - HTTP port the custom origin listens on.
- Https
Port int - HTTPS port the custom origin listens on.
- Origin
Protocol stringPolicy - Origin protocol policy to apply to your origin. Valid values are
http-only,https-only, andmatch-viewer. - Origin
Ssl List<string>Protocols - List of SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
- Ip
Address stringType - Type of IP addresses used by your origins. Valid values are
ipv4anddualstack. - Origin
Keepalive intTimeout - Custom keep-alive timeout, in seconds. Default: 5.
- Origin
Read intTimeout - Custom read timeout, in seconds. Default: 30.
- Http
Port int - HTTP port the custom origin listens on.
- Https
Port int - HTTPS port the custom origin listens on.
- Origin
Protocol stringPolicy - Origin protocol policy to apply to your origin. Valid values are
http-only,https-only, andmatch-viewer. - Origin
Ssl []stringProtocols - List of SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
- Ip
Address stringType - Type of IP addresses used by your origins. Valid values are
ipv4anddualstack. - Origin
Keepalive intTimeout - Custom keep-alive timeout, in seconds. Default: 5.
- Origin
Read intTimeout - Custom read timeout, in seconds. Default: 30.
- http
Port Integer - HTTP port the custom origin listens on.
- https
Port Integer - HTTPS port the custom origin listens on.
- origin
Protocol StringPolicy - Origin protocol policy to apply to your origin. Valid values are
http-only,https-only, andmatch-viewer. - origin
Ssl List<String>Protocols - List of SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
- ip
Address StringType - Type of IP addresses used by your origins. Valid values are
ipv4anddualstack. - origin
Keepalive IntegerTimeout - Custom keep-alive timeout, in seconds. Default: 5.
- origin
Read IntegerTimeout - Custom read timeout, in seconds. Default: 30.
- http
Port number - HTTP port the custom origin listens on.
- https
Port number - HTTPS port the custom origin listens on.
- origin
Protocol stringPolicy - Origin protocol policy to apply to your origin. Valid values are
http-only,https-only, andmatch-viewer. - origin
Ssl string[]Protocols - List of SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
- ip
Address stringType - Type of IP addresses used by your origins. Valid values are
ipv4anddualstack. - origin
Keepalive numberTimeout - Custom keep-alive timeout, in seconds. Default: 5.
- origin
Read numberTimeout - Custom read timeout, in seconds. Default: 30.
- http_
port int - HTTP port the custom origin listens on.
- https_
port int - HTTPS port the custom origin listens on.
- origin_
protocol_ strpolicy - Origin protocol policy to apply to your origin. Valid values are
http-only,https-only, andmatch-viewer. - origin_
ssl_ Sequence[str]protocols - List of SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
- ip_
address_ strtype - Type of IP addresses used by your origins. Valid values are
ipv4anddualstack. - origin_
keepalive_ inttimeout - Custom keep-alive timeout, in seconds. Default: 5.
- origin_
read_ inttimeout - Custom read timeout, in seconds. Default: 30.
- http
Port Number - HTTP port the custom origin listens on.
- https
Port Number - HTTPS port the custom origin listens on.
- origin
Protocol StringPolicy - Origin protocol policy to apply to your origin. Valid values are
http-only,https-only, andmatch-viewer. - origin
Ssl List<String>Protocols - List of SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
- ip
Address StringType - Type of IP addresses used by your origins. Valid values are
ipv4anddualstack. - origin
Keepalive NumberTimeout - Custom keep-alive timeout, in seconds. Default: 5.
- origin
Read NumberTimeout - Custom read timeout, in seconds. Default: 30.
MultitenantDistributionOriginGroup, MultitenantDistributionOriginGroupArgs
- Origin
Id string - Unique identifier for the origin group.
- Failover
Criteria MultitenantDistribution Origin Group Failover Criteria - Failover criteria for when to failover to the secondary origin. See Failover Criteria below.
- Members
List<Multitenant
Distribution Origin Group Member> - List of origins in this origin group. Must contain exactly 2 members. See Origin Group Member below.
- Origin
Id string - Unique identifier for the origin group.
- Failover
Criteria MultitenantDistribution Origin Group Failover Criteria - Failover criteria for when to failover to the secondary origin. See Failover Criteria below.
- Members
[]Multitenant
Distribution Origin Group Member - List of origins in this origin group. Must contain exactly 2 members. See Origin Group Member below.
- origin
Id String - Unique identifier for the origin group.
- failover
Criteria MultitenantDistribution Origin Group Failover Criteria - Failover criteria for when to failover to the secondary origin. See Failover Criteria below.
- members
List<Multitenant
Distribution Origin Group Member> - List of origins in this origin group. Must contain exactly 2 members. See Origin Group Member below.
- origin
Id string - Unique identifier for the origin group.
- failover
Criteria MultitenantDistribution Origin Group Failover Criteria - Failover criteria for when to failover to the secondary origin. See Failover Criteria below.
- members
Multitenant
Distribution Origin Group Member[] - List of origins in this origin group. Must contain exactly 2 members. See Origin Group Member below.
- origin_
id str - Unique identifier for the origin group.
- failover_
criteria MultitenantDistribution Origin Group Failover Criteria - Failover criteria for when to failover to the secondary origin. See Failover Criteria below.
- members
Sequence[Multitenant
Distribution Origin Group Member] - List of origins in this origin group. Must contain exactly 2 members. See Origin Group Member below.
- origin
Id String - Unique identifier for the origin group.
- failover
Criteria Property Map - Failover criteria for when to failover to the secondary origin. See Failover Criteria below.
- members List<Property Map>
- List of origins in this origin group. Must contain exactly 2 members. See Origin Group Member below.
MultitenantDistributionOriginGroupFailoverCriteria, MultitenantDistributionOriginGroupFailoverCriteriaArgs
- Status
Codes List<int> - List of HTTP status codes that trigger a failover to the secondary origin.
- Status
Codes []int - List of HTTP status codes that trigger a failover to the secondary origin.
- status
Codes List<Integer> - List of HTTP status codes that trigger a failover to the secondary origin.
- status
Codes number[] - List of HTTP status codes that trigger a failover to the secondary origin.
- status_
codes Sequence[int] - List of HTTP status codes that trigger a failover to the secondary origin.
- status
Codes List<Number> - List of HTTP status codes that trigger a failover to the secondary origin.
MultitenantDistributionOriginGroupMember, MultitenantDistributionOriginGroupMemberArgs
- Origin
Id string
- Origin
Id string
- origin
Id String
- origin
Id string
- origin_
id str
- origin
Id String
MultitenantDistributionOriginOriginShield, MultitenantDistributionOriginOriginShieldArgs
- Enabled bool
- Whether Origin Shield is enabled.
- Origin
Shield stringRegion - AWS Region for Origin Shield. Required when
enabledistrue.
- Enabled bool
- Whether Origin Shield is enabled.
- Origin
Shield stringRegion - AWS Region for Origin Shield. Required when
enabledistrue.
- enabled Boolean
- Whether Origin Shield is enabled.
- origin
Shield StringRegion - AWS Region for Origin Shield. Required when
enabledistrue.
- enabled boolean
- Whether Origin Shield is enabled.
- origin
Shield stringRegion - AWS Region for Origin Shield. Required when
enabledistrue.
- enabled bool
- Whether Origin Shield is enabled.
- origin_
shield_ strregion - AWS Region for Origin Shield. Required when
enabledistrue.
- enabled Boolean
- Whether Origin Shield is enabled.
- origin
Shield StringRegion - AWS Region for Origin Shield. Required when
enabledistrue.
MultitenantDistributionOriginVpcOriginConfig, MultitenantDistributionOriginVpcOriginConfigArgs
- Vpc
Origin stringId - ID of the VPC origin that you want CloudFront to route requests to.
- Origin
Keepalive intTimeout - Custom keep-alive timeout, in seconds. By default, CloudFront uses a default timeout. Default: 5.
- Origin
Read intTimeout - Custom read timeout, in seconds. By default, CloudFront uses a default timeout. Default: 30.
- Vpc
Origin stringId - ID of the VPC origin that you want CloudFront to route requests to.
- Origin
Keepalive intTimeout - Custom keep-alive timeout, in seconds. By default, CloudFront uses a default timeout. Default: 5.
- Origin
Read intTimeout - Custom read timeout, in seconds. By default, CloudFront uses a default timeout. Default: 30.
- vpc
Origin StringId - ID of the VPC origin that you want CloudFront to route requests to.
- origin
Keepalive IntegerTimeout - Custom keep-alive timeout, in seconds. By default, CloudFront uses a default timeout. Default: 5.
- origin
Read IntegerTimeout - Custom read timeout, in seconds. By default, CloudFront uses a default timeout. Default: 30.
- vpc
Origin stringId - ID of the VPC origin that you want CloudFront to route requests to.
- origin
Keepalive numberTimeout - Custom keep-alive timeout, in seconds. By default, CloudFront uses a default timeout. Default: 5.
- origin
Read numberTimeout - Custom read timeout, in seconds. By default, CloudFront uses a default timeout. Default: 30.
- vpc_
origin_ strid - ID of the VPC origin that you want CloudFront to route requests to.
- origin_
keepalive_ inttimeout - Custom keep-alive timeout, in seconds. By default, CloudFront uses a default timeout. Default: 5.
- origin_
read_ inttimeout - Custom read timeout, in seconds. By default, CloudFront uses a default timeout. Default: 30.
- vpc
Origin StringId - ID of the VPC origin that you want CloudFront to route requests to.
- origin
Keepalive NumberTimeout - Custom keep-alive timeout, in seconds. By default, CloudFront uses a default timeout. Default: 5.
- origin
Read NumberTimeout - Custom read timeout, in seconds. By default, CloudFront uses a default timeout. Default: 30.
MultitenantDistributionRestrictions, MultitenantDistributionRestrictionsArgs
- Geo
Restriction MultitenantDistribution Restrictions Geo Restriction - Geographic restriction configuration. See Geo Restriction below.
- Geo
Restriction MultitenantDistribution Restrictions Geo Restriction - Geographic restriction configuration. See Geo Restriction below.
- geo
Restriction MultitenantDistribution Restrictions Geo Restriction - Geographic restriction configuration. See Geo Restriction below.
- geo
Restriction MultitenantDistribution Restrictions Geo Restriction - Geographic restriction configuration. See Geo Restriction below.
- geo_
restriction MultitenantDistribution Restrictions Geo Restriction - Geographic restriction configuration. See Geo Restriction below.
- geo
Restriction Property Map - Geographic restriction configuration. See Geo Restriction below.
MultitenantDistributionRestrictionsGeoRestriction, MultitenantDistributionRestrictionsGeoRestrictionArgs
- Restriction
Type string - Method to restrict distribution of your content by country. Valid values are
none,whitelist, andblacklist. - Items List<string>
- List of ISO 3166-1-alpha-2 country codes for which you want CloudFront either to distribute your content (
whitelist) or not distribute your content (blacklist). Required whenrestriction_typeiswhitelistorblacklist.
- Restriction
Type string - Method to restrict distribution of your content by country. Valid values are
none,whitelist, andblacklist. - Items []string
- List of ISO 3166-1-alpha-2 country codes for which you want CloudFront either to distribute your content (
whitelist) or not distribute your content (blacklist). Required whenrestriction_typeiswhitelistorblacklist.
- restriction
Type String - Method to restrict distribution of your content by country. Valid values are
none,whitelist, andblacklist. - items List<String>
- List of ISO 3166-1-alpha-2 country codes for which you want CloudFront either to distribute your content (
whitelist) or not distribute your content (blacklist). Required whenrestriction_typeiswhitelistorblacklist.
- restriction
Type string - Method to restrict distribution of your content by country. Valid values are
none,whitelist, andblacklist. - items string[]
- List of ISO 3166-1-alpha-2 country codes for which you want CloudFront either to distribute your content (
whitelist) or not distribute your content (blacklist). Required whenrestriction_typeiswhitelistorblacklist.
- restriction_
type str - Method to restrict distribution of your content by country. Valid values are
none,whitelist, andblacklist. - items Sequence[str]
- List of ISO 3166-1-alpha-2 country codes for which you want CloudFront either to distribute your content (
whitelist) or not distribute your content (blacklist). Required whenrestriction_typeiswhitelistorblacklist.
- restriction
Type String - Method to restrict distribution of your content by country. Valid values are
none,whitelist, andblacklist. - items List<String>
- List of ISO 3166-1-alpha-2 country codes for which you want CloudFront either to distribute your content (
whitelist) or not distribute your content (blacklist). Required whenrestriction_typeiswhitelistorblacklist.
MultitenantDistributionTenantConfig, MultitenantDistributionTenantConfigArgs
- Parameter
Definitions List<MultitenantDistribution Tenant Config Parameter Definition> - One or more parameter definitions for the tenant configuration. See Parameter Definition below.
- Parameter
Definitions []MultitenantDistribution Tenant Config Parameter Definition - One or more parameter definitions for the tenant configuration. See Parameter Definition below.
- parameter
Definitions List<MultitenantDistribution Tenant Config Parameter Definition> - One or more parameter definitions for the tenant configuration. See Parameter Definition below.
- parameter
Definitions MultitenantDistribution Tenant Config Parameter Definition[] - One or more parameter definitions for the tenant configuration. See Parameter Definition below.
- parameter_
definitions Sequence[MultitenantDistribution Tenant Config Parameter Definition] - One or more parameter definitions for the tenant configuration. See Parameter Definition below.
- parameter
Definitions List<Property Map> - One or more parameter definitions for the tenant configuration. See Parameter Definition below.
MultitenantDistributionTenantConfigParameterDefinition, MultitenantDistributionTenantConfigParameterDefinitionArgs
- Name string
- Name of the parameter.
- Definitions
List<Multitenant
Distribution Tenant Config Parameter Definition Definition> - Definition of the parameter schema. See Parameter Definition Schema below.
- Name string
- Name of the parameter.
- Definitions
[]Multitenant
Distribution Tenant Config Parameter Definition Definition - Definition of the parameter schema. See Parameter Definition Schema below.
- name String
- Name of the parameter.
- definitions
List<Multitenant
Distribution Tenant Config Parameter Definition Definition> - Definition of the parameter schema. See Parameter Definition Schema below.
- name string
- Name of the parameter.
- definitions
Multitenant
Distribution Tenant Config Parameter Definition Definition[] - Definition of the parameter schema. See Parameter Definition Schema below.
- name str
- Name of the parameter.
- definitions
Sequence[Multitenant
Distribution Tenant Config Parameter Definition Definition] - Definition of the parameter schema. See Parameter Definition Schema below.
- name String
- Name of the parameter.
- definitions List<Property Map>
- Definition of the parameter schema. See Parameter Definition Schema below.
MultitenantDistributionTenantConfigParameterDefinitionDefinition, MultitenantDistributionTenantConfigParameterDefinitionDefinitionArgs
- String
Schemas List<MultitenantDistribution Tenant Config Parameter Definition Definition String Schema> - String schema configuration. See String Schema below.
- String
Schemas []MultitenantDistribution Tenant Config Parameter Definition Definition String Schema - String schema configuration. See String Schema below.
- string
Schemas List<MultitenantDistribution Tenant Config Parameter Definition Definition String Schema> - String schema configuration. See String Schema below.
- string
Schemas MultitenantDistribution Tenant Config Parameter Definition Definition String Schema[] - String schema configuration. See String Schema below.
- string_
schemas Sequence[MultitenantDistribution Tenant Config Parameter Definition Definition String Schema] - String schema configuration. See String Schema below.
- string
Schemas List<Property Map> - String schema configuration. See String Schema below.
MultitenantDistributionTenantConfigParameterDefinitionDefinitionStringSchema, MultitenantDistributionTenantConfigParameterDefinitionDefinitionStringSchemaArgs
- Required bool
- Whether the parameter is required.
- Comment string
- Comment describing the parameter.
- Default
Value string - Default value for the parameter.
- Required bool
- Whether the parameter is required.
- Comment string
- Comment describing the parameter.
- Default
Value string - Default value for the parameter.
- required Boolean
- Whether the parameter is required.
- comment String
- Comment describing the parameter.
- default
Value String - Default value for the parameter.
- required boolean
- Whether the parameter is required.
- comment string
- Comment describing the parameter.
- default
Value string - Default value for the parameter.
- required bool
- Whether the parameter is required.
- comment str
- Comment describing the parameter.
- default_
value str - Default value for the parameter.
- required Boolean
- Whether the parameter is required.
- comment String
- Comment describing the parameter.
- default
Value String - Default value for the parameter.
MultitenantDistributionTimeouts, MultitenantDistributionTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
MultitenantDistributionViewerCertificate, MultitenantDistributionViewerCertificateArgs
- Acm
Certificate stringArn - ARN of the AWS Certificate Manager certificate that you wish to use with this distribution. Required when using a custom SSL certificate.
- Cloudfront
Default boolCertificate - Whether to use the CloudFront default certificate. Cannot be used with
acm_certificate_arn. - Minimum
Protocol stringVersion - Minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. Default:
TLSv1. - Ssl
Support stringMethod - How you want CloudFront to serve HTTPS requests. Valid values are
sni-onlyandvip. Required whenacm_certificate_arnis specified.
- Acm
Certificate stringArn - ARN of the AWS Certificate Manager certificate that you wish to use with this distribution. Required when using a custom SSL certificate.
- Cloudfront
Default boolCertificate - Whether to use the CloudFront default certificate. Cannot be used with
acm_certificate_arn. - Minimum
Protocol stringVersion - Minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. Default:
TLSv1. - Ssl
Support stringMethod - How you want CloudFront to serve HTTPS requests. Valid values are
sni-onlyandvip. Required whenacm_certificate_arnis specified.
- acm
Certificate StringArn - ARN of the AWS Certificate Manager certificate that you wish to use with this distribution. Required when using a custom SSL certificate.
- cloudfront
Default BooleanCertificate - Whether to use the CloudFront default certificate. Cannot be used with
acm_certificate_arn. - minimum
Protocol StringVersion - Minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. Default:
TLSv1. - ssl
Support StringMethod - How you want CloudFront to serve HTTPS requests. Valid values are
sni-onlyandvip. Required whenacm_certificate_arnis specified.
- acm
Certificate stringArn - ARN of the AWS Certificate Manager certificate that you wish to use with this distribution. Required when using a custom SSL certificate.
- cloudfront
Default booleanCertificate - Whether to use the CloudFront default certificate. Cannot be used with
acm_certificate_arn. - minimum
Protocol stringVersion - Minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. Default:
TLSv1. - ssl
Support stringMethod - How you want CloudFront to serve HTTPS requests. Valid values are
sni-onlyandvip. Required whenacm_certificate_arnis specified.
- acm_
certificate_ strarn - ARN of the AWS Certificate Manager certificate that you wish to use with this distribution. Required when using a custom SSL certificate.
- cloudfront_
default_ boolcertificate - Whether to use the CloudFront default certificate. Cannot be used with
acm_certificate_arn. - minimum_
protocol_ strversion - Minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. Default:
TLSv1. - ssl_
support_ strmethod - How you want CloudFront to serve HTTPS requests. Valid values are
sni-onlyandvip. Required whenacm_certificate_arnis specified.
- acm
Certificate StringArn - ARN of the AWS Certificate Manager certificate that you wish to use with this distribution. Required when using a custom SSL certificate.
- cloudfront
Default BooleanCertificate - Whether to use the CloudFront default certificate. Cannot be used with
acm_certificate_arn. - minimum
Protocol StringVersion - Minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. Default:
TLSv1. - ssl
Support StringMethod - How you want CloudFront to serve HTTPS requests. Valid values are
sni-onlyandvip. Required whenacm_certificate_arnis specified.
Import
Using pulumi import, import CloudFront Multi-tenant Distributions using the id. For example:
$ pulumi import aws:cloudfront/multitenantDistribution:MultitenantDistribution distribution E74FTE3AEXAMPLE
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
