DistributionArgs constructor

const DistributionArgs({
  1. required Input<String> bundleId,
  2. Input<DistributionCacheBehaviorSettings?>? cacheBehaviorSettings,
  3. Input<List<DistributionCacheBehavior>?>? cacheBehaviors,
  4. Input<String?>? certificateName,
  5. required Input<DistributionDefaultCacheBehavior> defaultCacheBehavior,
  6. Input<String?>? ipAddressType,
  7. Input<bool?>? isEnabled,
  8. Input<String?>? name,
  9. required Input<DistributionOrigin> origin,
  10. Input<String?>? region,
  11. 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.

Implementation

const DistributionArgs({
  required this.bundleId,
  this.cacheBehaviorSettings,
  this.cacheBehaviors,
  this.certificateName,
  required this.defaultCacheBehavior,
  this.ipAddressType,
  this.isEnabled,
  this.name,
  required this.origin,
  this.region,
  this.tags,
});