DistributionState class
Input properties used for looking up and filtering Distribution resources.
Constructors
-
DistributionState({Input<
List< ? alternativeDomainNames, Input<String> ?>String?> ? arn, Input<String?> ? bundleId, Input<DistributionCacheBehaviorSettings?> ? cacheBehaviorSettings, Input<List< ? cacheBehaviors, Input<DistributionCacheBehavior> ?>String?> ? certificateName, Input<String?> ? createdAt, Input<DistributionDefaultCacheBehavior?> ? defaultCacheBehavior, Input<String?> ? domainName, Input<String?> ? ipAddressType, Input<bool?> ? isEnabled, Input<List< ? locations, Input<DistributionLocation> ?>String?> ? name, Input<DistributionOrigin?> ? origin, Input<String?> ? originPublicDns, Input<String?> ? region, Input<String?> ? resourceType, Input<String?> ? status, Input<String?> ? supportCode, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll})String, String> ?> -
Creates a new DistributionState.
alternativeDomainNamesAlternate domain names of the distribution.arnARN of the distribution.bundleIdBundle ID to use for the distribution.cacheBehaviorSettingsCache behavior settings of the distribution. See below.cacheBehaviorsPer-path cache behavior of the distribution. See below.certificateNameName of the SSL/TLS certificate attached to the distribution.createdAtTimestamp when the distribution was created.defaultCacheBehaviorDefault cache behavior of the distribution. See below.domainNameDomain name of the distribution.ipAddressTypeIP address type of the distribution. Valid values:dualstack,ipv4. Default:dualstack.isEnabledWhether the distribution is enabled. Default:true.locationsLocation of the distribution, such as the AWS Region and Availability Zone. See below.nameName of the distribution.originOrigin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. See below.originPublicDnsPublic DNS of the origin.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceTypeLightsail resource type (e.g., Distribution).statusStatus of the distribution.supportCodeSupport 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.tagsMap of tags for the Lightsail Distribution. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.const -
DistributionState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
alternativeDomainNames
→ Input<
List< ?String> ?> -
Alternate domain names of the distribution.
final
-
arn
→ Input<
String?> ? -
ARN of the distribution.
final
-
bundleId
→ Input<
String?> ? -
Bundle ID to use for the distribution.
final
-
cacheBehaviors
→ Input<
List< ?DistributionCacheBehavior> ?> -
Per-path cache behavior of the distribution. See below.
final
-
cacheBehaviorSettings
→ Input<
DistributionCacheBehaviorSettings?> ? -
Cache behavior settings of the distribution. See below.
final
-
certificateName
→ Input<
String?> ? -
Name of the SSL/TLS certificate attached to the distribution.
final
-
createdAt
→ Input<
String?> ? -
Timestamp when the distribution was created.
final
-
defaultCacheBehavior
→ Input<
DistributionDefaultCacheBehavior?> ? -
Default cache behavior of the distribution. See below.
final
-
domainName
→ Input<
String?> ? -
Domain name of the distribution.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ipAddressType
→ Input<
String?> ? -
IP address type of the distribution. Valid values:
dualstack,ipv4. Default:dualstack.final -
isEnabled
→ Input<
bool?> ? -
Whether the distribution is enabled. Default:
true.final -
locations
→ Input<
List< ?DistributionLocation> ?> -
Location of the distribution, such as the AWS Region and Availability Zone. See below.
final
-
name
→ Input<
String?> ? -
Name of the distribution.
final
-
origin
→ Input<
DistributionOrigin?> ? -
Origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. See below.
final
-
originPublicDns
→ Input<
String?> ? -
Public DNS of the origin.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
resourceType
→ Input<
String?> ? -
Lightsail resource type (e.g., Distribution).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
→ Input<
String?> ? -
Status of the distribution.
final
-
supportCode
→ Input<
String?> ? -
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.
final
-
Map of tags for the Lightsail Distribution. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited