DistributionOrigin class

Constructors

DistributionOrigin({Input<int?>? connectionAttempts, Input<int?>? connectionTimeout, Input<List<DistributionOriginCustomHeader>?>? customHeaders, Input<DistributionOriginCustomOriginConfig?>? customOriginConfig, required Input<String> domainName, Input<String?>? originAccessControlId, required Input<String> originId, Input<String?>? originPath, Input<DistributionOriginOriginShield?>? originShield, Input<int?>? responseCompletionTimeout, Input<DistributionOriginS3OriginConfig?>? s3OriginConfig, Input<DistributionOriginVpcOriginConfig?>? vpcOriginConfig})
Creates a new DistributionOrigin. connectionAttempts Number of times that CloudFront attempts to connect to the origin. Must be between 1-3. Defaults to 3. connectionTimeout Number of seconds that CloudFront waits when trying to establish a connection to the origin. Must be between 1-10. Defaults to 10. customHeaders One or more sub-resources with name and value parameters that specify header data that will be sent to the origin (multiples allowed). customOriginConfig The CloudFront custom origin configuration information. If an S3 origin is required, use originAccessControlId or s3OriginConfig instead. domainName Domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net. originAccessControlId Unique identifier of a CloudFront origin access control for this origin. originId Required. originPath Optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin. originShield 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. responseCompletionTimeout Time (in seconds) that a request from CloudFront to the origin can stay open and wait for a response. Must be integer greater than or equal to the value of originReadTimeout. If omitted or explicitly set to 0, no maximum value is enforced. s3OriginConfig CloudFront S3 origin configuration information. If a custom origin is required, use customOriginConfig instead. vpcOriginConfig The VPC origin configuration.
const
DistributionOrigin.fromMap(Map<String, dynamic> map)
factory

Properties

connectionAttempts → Input<int?>?
Number of times that CloudFront attempts to connect to the origin. Must be between 1-3. Defaults to 3.
final
connectionTimeout → Input<int?>?
Number of seconds that CloudFront waits when trying to establish a connection to the origin. Must be between 1-10. Defaults to 10.
final
customHeaders → Input<List<DistributionOriginCustomHeader>?>?
One or more sub-resources with name and value parameters that specify header data that will be sent to the origin (multiples allowed).
final
customOriginConfig → Input<DistributionOriginCustomOriginConfig?>?
The CloudFront custom origin configuration information. If an S3 origin is required, use originAccessControlId or s3OriginConfig instead.
final
domainName → Input<String>
Domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.
final
hashCode → int
The hash code for this object.
no setterinherited
originAccessControlId → Input<String?>?
Unique identifier of a CloudFront origin access control for this origin.
final
originId → Input<String>
final
originPath → Input<String?>?
Optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
final
originShield → Input<DistributionOriginOriginShield?>?
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.
final
responseCompletionTimeout → Input<int?>?
Time (in seconds) that a request from CloudFront to the origin can stay open and wait for a response. Must be integer greater than or equal to the value of originReadTimeout. If omitted or explicitly set to 0, no maximum value is enforced.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
s3OriginConfig → Input<DistributionOriginS3OriginConfig?>?
CloudFront S3 origin configuration information. If a custom origin is required, use customOriginConfig instead.
final
vpcOriginConfig → Input<DistributionOriginVpcOriginConfig?>?
The VPC origin configuration.
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