DistributionOriginArgs

data class DistributionOriginArgs(val connectionAttempts: Output<Int>? = null, val connectionTimeout: Output<Int>? = null, val customHeaders: Output<List<DistributionOriginCustomHeaderArgs>>? = null, val customOriginConfig: Output<DistributionOriginCustomOriginConfigArgs>? = null, val domainName: Output<String>, val originAccessControlId: Output<String>? = null, val originId: Output<String>, val originPath: Output<String>? = null, val originShield: Output<DistributionOriginOriginShieldArgs>? = null, val s3OriginConfig: Output<DistributionOriginS3OriginConfigArgs>? = null) : ConvertibleToJava<DistributionOriginArgs>

Constructors

Link copied to clipboard
constructor(connectionAttempts: Output<Int>? = null, connectionTimeout: Output<Int>? = null, customHeaders: Output<List<DistributionOriginCustomHeaderArgs>>? = null, customOriginConfig: Output<DistributionOriginCustomOriginConfigArgs>? = null, domainName: Output<String>, originAccessControlId: Output<String>? = null, originId: Output<String>, originPath: Output<String>? = null, originShield: Output<DistributionOriginOriginShieldArgs>? = null, s3OriginConfig: Output<DistributionOriginS3OriginConfigArgs>? = null)

Properties

Link copied to clipboard
val connectionAttempts: Output<Int>? = null

Number of times that CloudFront attempts to connect to the origin. Must be between 1-3. Defaults to 3.

Link copied to clipboard
val connectionTimeout: Output<Int>? = null

Number of seconds that CloudFront waits when trying to establish a connection to the origin. Must be between 1-10. Defaults to 10.

Link copied to clipboard

One or more sub-resources with name and value parameters that specify header data that will be sent to the origin (multiples allowed).

Link copied to clipboard

The CloudFront custom origin configuration information. If an S3 origin is required, use origin_access_control_id or s3_origin_config instead.

Link copied to clipboard
val domainName: Output<String>

DNS domain name of either the S3 bucket, or web site of your custom origin.

Link copied to clipboard
val originAccessControlId: Output<String>? = null

Unique identifier of a 8 for this origin.

Link copied to clipboard
val originId: Output<String>

Unique identifier for the origin.

Link copied to clipboard
val originPath: Output<String>? = null

Optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.

Link copied to clipboard

The CloudFront Origin Shield configuration information. Using Origin Shield can help reduce the load on your origin. For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.

Link copied to clipboard

The CloudFront S3 origin configuration information. If a custom origin is required, use custom_origin_config instead.

Functions

Link copied to clipboard
open override fun toJava(): DistributionOriginArgs