Interface CfnDistributionPropsMixin.VpcOriginConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDistributionPropsMixin.VpcOriginConfigProperty.Jsii$Proxy
- Enclosing class:
CfnDistributionPropsMixin
@Stability(Stable)
public static interface CfnDistributionPropsMixin.VpcOriginConfigProperty
extends software.amazon.jsii.JsiiSerializable
An Amazon CloudFront VPC origin configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.cloudfront.*;
VpcOriginConfigProperty vpcOriginConfigProperty = VpcOriginConfigProperty.builder()
.originKeepaliveTimeout(123)
.originReadTimeout(123)
.ownerAccountId("ownerAccountId")
.vpcOriginId("vpcOriginId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDistributionPropsMixin.VpcOriginConfigPropertystatic final classAn implementation forCfnDistributionPropsMixin.VpcOriginConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberSpecifies how long, in seconds, CloudFront persists its connection to the origin.default NumberSpecifies how long, in seconds, CloudFront waits for a response from the origin.default StringThe account ID of the AWS account that owns the VPC origin.default StringThe VPC origin ID.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOriginKeepaliveTimeout
Specifies how long, in seconds, CloudFront persists its connection to the origin.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 Also:
-
getOriginReadTimeout
Specifies how long, in seconds, CloudFront waits for a response from the origin.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 Also:
-
getOwnerAccountId
The account ID of the AWS account that owns the VPC origin.- See Also:
-
getVpcOriginId
The VPC origin ID.- See Also:
-
builder
-