DistributionState constructor
- Input<
List< ? alternativeDomainNames,String> ?> - Input<
String?> ? arn, - Input<
String?> ? bundleId, - Input<
DistributionCacheBehaviorSettings?> ? cacheBehaviorSettings, - Input<
List< ? cacheBehaviors,DistributionCacheBehavior> ?> - Input<
String?> ? certificateName, - Input<
String?> ? createdAt, - Input<
DistributionDefaultCacheBehavior?> ? defaultCacheBehavior, - Input<
String?> ? domainName, - Input<
String?> ? ipAddressType, - Input<
bool?> ? isEnabled, - Input<
List< ? locations,DistributionLocation> ?> - Input<
String?> ? name, - Input<
DistributionOrigin?> ? origin, - Input<
String?> ? originPublicDns, - Input<
String?> ? region, - Input<
String?> ? resourceType, - Input<
String?> ? status, - Input<
String?> ? supportCode, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?>
Creates a new DistributionState.
alternativeDomainNames Alternate domain names of the distribution.
arn ARN of the distribution.
bundleId Bundle ID to use for the distribution.
cacheBehaviorSettings Cache behavior settings of the distribution. See below.
cacheBehaviors Per-path cache behavior of the distribution. See below.
certificateName Name of the SSL/TLS certificate attached to the distribution.
createdAt Timestamp when the distribution was created.
defaultCacheBehavior Default cache behavior of the distribution. See below.
domainName Domain name of the distribution.
ipAddressType IP address type of the distribution. Valid values: dualstack, ipv4. Default: dualstack.
isEnabled Whether the distribution is enabled. Default: true.
locations Location of the distribution, such as the AWS Region and Availability Zone. See below.
name Name of the distribution.
origin Origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. See below.
originPublicDns Public DNS of the origin.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
resourceType Lightsail resource type (e.g., Distribution).
status Status of the distribution.
supportCode Support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.
tags Map of tags for the Lightsail Distribution. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
Implementation
const DistributionState({
this.alternativeDomainNames,
this.arn,
this.bundleId,
this.cacheBehaviorSettings,
this.cacheBehaviors,
this.certificateName,
this.createdAt,
this.defaultCacheBehavior,
this.domainName,
this.ipAddressType,
this.isEnabled,
this.locations,
this.name,
this.origin,
this.originPublicDns,
this.region,
this.resourceType,
this.status,
this.supportCode,
this.tags,
this.tagsAll,
});