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<DistributionCacheBehavior>?>? cacheBehaviors, Input<String?>? certificateName, required Input<DistributionDefaultCacheBehavior> defaultCacheBehavior, Input<String?>? ipAddressType, Input<bool?>? isEnabled, Input<String?>? name, required Input<DistributionOrigin> origin, Input<String?>? region, Input<Map<String, String>?>? tags})
Creates a new DistributionArgs. 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. defaultCacheBehavior Default cache behavior of the distribution. See below. ipAddressType IP address type of the distribution. Valid values: dualstack, ipv4. Default: dualstack. isEnabled Whether the distribution is enabled. Default: true. name Name of the distribution. origin Origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. See below. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. 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.
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
tags → Input<Map<String, String>?>?
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.
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