DistributionArgs class
The set of arguments for Distribution. The set of arguments for Distribution.
Constructors
-
DistributionArgs({required Input<
String> bundleId, Input<DistributionCacheBehaviorSettings?> ? cacheBehaviorSettings, Input<List< ? cacheBehaviors, Input<DistributionCacheBehavior> ?>String?> ? certificateName, required Input<DistributionDefaultCacheBehavior> defaultCacheBehavior, Input<String?> ? ipAddressType, Input<bool?> ? isEnabled, Input<String?> ? name, required Input<DistributionOrigin> origin, Input<String?> ? region, Input<Map< ? tags})String, String> ?> -
Creates a new DistributionArgs.
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.defaultCacheBehaviorDefault cache behavior of the distribution. See below.ipAddressTypeIP address type of the distribution. Valid values:dualstack,ipv4. Default:dualstack.isEnabledWhether the distribution is enabled. Default:true.nameName of the distribution.originOrigin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. See below.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.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.const -
DistributionArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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
-
defaultCacheBehavior
→ Input<
DistributionDefaultCacheBehavior> -
Default cache behavior of the distribution. See below.
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 -
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
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
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
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