Class CfnDistributionTenantMixinProps
Properties for CfnDistributionTenantPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.CloudFront
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnDistributionTenantMixinProps : ICfnDistributionTenantMixinProps
Syntax (vb)
Public Class CfnDistributionTenantMixinProps Implements ICfnDistributionTenantMixinProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.CloudFront;
var cfnDistributionTenantMixinProps = new CfnDistributionTenantMixinProps {
ConnectionGroupId = "connectionGroupId",
Customizations = new CustomizationsProperty {
Certificate = new CertificateProperty {
Arn = "arn"
},
GeoRestrictions = new GeoRestrictionCustomizationProperty {
Locations = new [] { "locations" },
RestrictionType = "restrictionType"
},
WebAcl = new WebAclCustomizationProperty {
Action = "action",
Arn = "arn"
}
},
DistributionId = "distributionId",
Domains = new [] { "domains" },
Enabled = false,
ManagedCertificateRequest = new ManagedCertificateRequestProperty {
CertificateTransparencyLoggingPreference = "certificateTransparencyLoggingPreference",
PrimaryDomainName = "primaryDomainName",
ValidationTokenHost = "validationTokenHost"
},
Name = "name",
Parameters = new [] { new ParameterProperty {
Name = "name",
Value = "value"
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnDistributionTenantMixinProps() | Properties for CfnDistributionTenantPropsMixin. |
Properties
| ConnectionGroupId | The ID of the connection group for the distribution tenant. |
| Customizations | Customizations for the distribution tenant. |
| DistributionId | The ID of the multi-tenant distribution. |
| Domains | The domains associated with the distribution tenant. |
| Enabled | Indicates whether the distribution tenant is in an enabled state. |
| ManagedCertificateRequest | An object that represents the request for the Amazon CloudFront managed ACM certificate. |
| Name | The name of the distribution tenant. |
| Parameters | A list of parameter values to add to the resource. |
| Tags | A complex type that contains zero or more |
Constructors
CfnDistributionTenantMixinProps()
Properties for CfnDistributionTenantPropsMixin.
public CfnDistributionTenantMixinProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.CloudFront;
var cfnDistributionTenantMixinProps = new CfnDistributionTenantMixinProps {
ConnectionGroupId = "connectionGroupId",
Customizations = new CustomizationsProperty {
Certificate = new CertificateProperty {
Arn = "arn"
},
GeoRestrictions = new GeoRestrictionCustomizationProperty {
Locations = new [] { "locations" },
RestrictionType = "restrictionType"
},
WebAcl = new WebAclCustomizationProperty {
Action = "action",
Arn = "arn"
}
},
DistributionId = "distributionId",
Domains = new [] { "domains" },
Enabled = false,
ManagedCertificateRequest = new ManagedCertificateRequestProperty {
CertificateTransparencyLoggingPreference = "certificateTransparencyLoggingPreference",
PrimaryDomainName = "primaryDomainName",
ValidationTokenHost = "validationTokenHost"
},
Name = "name",
Parameters = new [] { new ParameterProperty {
Name = "name",
Value = "value"
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
ConnectionGroupId
The ID of the connection group for the distribution tenant.
public string? ConnectionGroupId { get; set; }
Property Value
Remarks
If you don't specify a connection group, CloudFront uses the default connection group.
Customizations
Customizations for the distribution tenant.
public object? Customizations { get; set; }
Property Value
Remarks
For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and AWS WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
Type union: either IResolvable or CfnDistributionTenantPropsMixin.ICustomizationsProperty
DistributionId
The ID of the multi-tenant distribution.
public string? DistributionId { get; set; }
Property Value
Remarks
Domains
The domains associated with the distribution tenant.
public string[]? Domains { get; set; }
Property Value
string[]
Remarks
Enabled
Indicates whether the distribution tenant is in an enabled state.
public object? Enabled { get; set; }
Property Value
Remarks
If disabled, the distribution tenant won't serve traffic.
Type union: either bool or IResolvable
ManagedCertificateRequest
An object that represents the request for the Amazon CloudFront managed ACM certificate.
public object? ManagedCertificateRequest { get; set; }
Property Value
Remarks
Name
The name of the distribution tenant.
public string? Name { get; set; }
Property Value
Remarks
Parameters
A list of parameter values to add to the resource.
public object? Parameters { get; set; }
Property Value
Remarks
A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
Type union: either IResolvable or (either IResolvable or CfnDistributionTenantPropsMixin.IParameterProperty)[]
Tags
A complex type that contains zero or more Tag elements.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]