Show / Hide Table of Contents

Class CfnDistribution.VpcOriginConfigProperty

An Amazon CloudFront VPC origin configuration.

Inheritance
object
CfnDistribution.VpcOriginConfigProperty
Implements
CfnDistribution.IVpcOriginConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDistribution.VpcOriginConfigProperty : CfnDistribution.IVpcOriginConfigProperty
Syntax (vb)
Public Class CfnDistribution.VpcOriginConfigProperty Implements CfnDistribution.IVpcOriginConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-vpcoriginconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudFront;

             var vpcOriginConfigProperty = new VpcOriginConfigProperty {
                 VpcOriginId = "vpcOriginId",

                 // the properties below are optional
                 OriginKeepaliveTimeout = 123,
                 OriginReadTimeout = 123,
                 OwnerAccountId = "ownerAccountId"
             };

Synopsis

Constructors

VpcOriginConfigProperty()

An Amazon CloudFront VPC origin configuration.

Properties

OriginKeepaliveTimeout

Specifies how long, in seconds, CloudFront persists its connection to the origin.

OriginReadTimeout

Specifies how long, in seconds, CloudFront waits for a response from the origin.

OwnerAccountId

The account ID of the AWS account that owns the VPC origin.

VpcOriginId

The VPC origin ID.

Constructors

VpcOriginConfigProperty()

An Amazon CloudFront VPC origin configuration.

public VpcOriginConfigProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-vpcoriginconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudFront;

             var vpcOriginConfigProperty = new VpcOriginConfigProperty {
                 VpcOriginId = "vpcOriginId",

                 // the properties below are optional
                 OriginKeepaliveTimeout = 123,
                 OriginReadTimeout = 123,
                 OwnerAccountId = "ownerAccountId"
             };

Properties

OriginKeepaliveTimeout

Specifies how long, in seconds, CloudFront persists its connection to the origin.

public double? OriginKeepaliveTimeout { get; set; }
Property Value

double?

Remarks

The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 5 seconds.

For more information, see Keep-alive timeout (custom origins only) in the Amazon CloudFront Developer Guide .

Default: - 5

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-vpcoriginconfig.html#cfn-cloudfront-distribution-vpcoriginconfig-originkeepalivetimeout

OriginReadTimeout

Specifies how long, in seconds, CloudFront waits for a response from the origin.

public double? OriginReadTimeout { get; set; }
Property Value

double?

Remarks

This is also known as the origin response timeout . The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.

For more information, see Response timeout in the Amazon CloudFront Developer Guide .

Default: - 30

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-vpcoriginconfig.html#cfn-cloudfront-distribution-vpcoriginconfig-originreadtimeout

OwnerAccountId

The account ID of the AWS account that owns the VPC origin.

public string? OwnerAccountId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-vpcoriginconfig.html#cfn-cloudfront-distribution-vpcoriginconfig-owneraccountid

VpcOriginId

The VPC origin ID.

public string VpcOriginId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-vpcoriginconfig.html#cfn-cloudfront-distribution-vpcoriginconfig-vpcoriginid

Implements

CfnDistribution.IVpcOriginConfigProperty
Back to top Generated by DocFX