MultitenantDistributionArgs constructor

const MultitenantDistributionArgs({
  1. Input<List<MultitenantDistributionActiveTrustedKeyGroup>?>? activeTrustedKeyGroups,
  2. Input<List<MultitenantDistributionCacheBehavior>?>? cacheBehaviors,
  3. required Input<String> comment,
  4. Input<List<MultitenantDistributionCustomErrorResponse>?>? customErrorResponses,
  5. required Input<MultitenantDistributionDefaultCacheBehavior> defaultCacheBehavior,
  6. Input<String?>? defaultRootObject,
  7. required Input<bool> enabled,
  8. Input<String?>? httpVersion,
  9. Input<List<MultitenantDistributionOriginGroup>?>? originGroups,
  10. Input<List<MultitenantDistributionOrigin>?>? origins,
  11. Input<MultitenantDistributionRestrictions?>? restrictions,
  12. Input<Map<String, String>?>? tags,
  13. required Input<MultitenantDistributionTenantConfig> tenantConfig,
  14. Input<MultitenantDistributionTimeouts?>? timeouts,
  15. required Input<MultitenantDistributionViewerCertificate> viewerCertificate,
  16. Input<String?>? webAclId,
})

Creates a new MultitenantDistributionArgs. activeTrustedKeyGroups List of key groups that CloudFront can use to validate signed URLs or signed cookies. See Active Trusted Key Groups below. cacheBehaviors Ordered list of cache behaviors resource for this distribution. See Cache Behavior below. comment Any comments you want to include about the distribution. customErrorResponses One or more custom error response elements. See Custom Error Response below. defaultCacheBehavior Default cache behavior for this distribution. See Default Cache Behavior below. defaultRootObject Object that you want CloudFront to return when an end user requests the root URL. enabled Whether the distribution is enabled to accept end user requests for content. httpVersion Maximum HTTP version to support on the distribution. Allowed values are http1.1, http2, http2and3, and http3. Default: http2. originGroups One or more originGroup for this distribution (multiples allowed). See Origin Group below. origins One or more origins for this distribution (multiples allowed). See Origin below. restrictions Restriction configuration for this distribution. See Restrictions below. tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tenantConfig Tenant configuration that contains parameter definitions for multi-tenant distributions. See Tenant Config below. timeouts Optional. viewerCertificate SSL configuration for this distribution. See Viewer Certificate below. webAclId Unique identifier that specifies the AWS WAF v2 web ACL to associate with this distribution.

Implementation

const MultitenantDistributionArgs({
  this.activeTrustedKeyGroups,
  this.cacheBehaviors,
  required this.comment,
  this.customErrorResponses,
  required this.defaultCacheBehavior,
  this.defaultRootObject,
  required this.enabled,
  this.httpVersion,
  this.originGroups,
  this.origins,
  this.restrictions,
  this.tags,
  required this.tenantConfig,
  this.timeouts,
  required this.viewerCertificate,
  this.webAclId,
});