Show / Hide Table of Contents

Interface CfnDistribution.IVpcOriginConfigProperty

An Amazon CloudFront VPC origin configuration.

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDistribution.IVpcOriginConfigProperty
Syntax (vb)
Public Interface 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

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.

Properties

OriginKeepaliveTimeout

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

double? OriginKeepaliveTimeout { get; }
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.

double? OriginReadTimeout { get; }
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.

string? OwnerAccountId { get; }
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.

string VpcOriginId { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX