Interface CfnDistributionTenantProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDistributionTenantProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-05-20T23:52:51.634Z")
@Stability(Stable)
public interface CfnDistributionTenantProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDistributionTenant.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;
CfnDistributionTenantProps cfnDistributionTenantProps = CfnDistributionTenantProps.builder()
.distributionId("distributionId")
.domains(List.of("domains"))
.name("name")
// the properties below are optional
.connectionGroupId("connectionGroupId")
.customizations(CustomizationsProperty.builder()
.certificate(CertificateProperty.builder()
.arn("arn")
.build())
.geoRestrictions(GeoRestrictionCustomizationProperty.builder()
.locations(List.of("locations"))
.restrictionType("restrictionType")
.build())
.webAcl(WebAclCustomizationProperty.builder()
.action("action")
.arn("arn")
.build())
.build())
.enabled(false)
.managedCertificateRequest(ManagedCertificateRequestProperty.builder()
.certificateTransparencyLoggingPreference("certificateTransparencyLoggingPreference")
.primaryDomainName("primaryDomainName")
.validationTokenHost("validationTokenHost")
.build())
.parameters(List.of(ParameterProperty.builder()
.name("name")
.value("value")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDistributionTenantPropsstatic final classAn implementation forCfnDistributionTenantProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe ID of the connection group for the distribution tenant.default ObjectCustomizations for the distribution tenant.The ID of the multi-tenant distribution.The domains associated with the distribution tenant.default ObjectIndicates whether the distribution tenant is in an enabled state.default ObjectAn object that represents the request for the Amazon CloudFront managed ACM certificate.getName()The name of the distribution tenant.default ObjectA list of parameter values to add to the resource.getTags()A complex type that contains zero or moreTagelements.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDistributionId
The ID of the multi-tenant distribution.- See Also:
-
getDomains
The domains associated with the distribution tenant.- See Also:
-
getName
The name of the distribution tenant.- See Also:
-
getConnectionGroupId
The ID of the connection group for the distribution tenant.If you don't specify a connection group, CloudFront uses the default connection group.
- See Also:
-
getCustomizations
Customizations for the distribution tenant.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.
- See Also:
-
getEnabled
Indicates whether the distribution tenant is in an enabled state.If disabled, the distribution tenant won't serve traffic.
- See Also:
-
getManagedCertificateRequest
An object that represents the request for the Amazon CloudFront managed ACM certificate.- See Also:
-
getParameters
A list of parameter values to add to the resource.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.
- See Also:
-
getTags
A complex type that contains zero or moreTagelements.- See Also:
-
builder
- Returns:
- a
CfnDistributionTenantProps.BuilderofCfnDistributionTenantProps
-