Class CfnVpcOriginProps
Properties for defining a CfnVpcOrigin.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVpcOriginProps : ICfnVpcOriginProps
Syntax (vb)
Public Class CfnVpcOriginProps Implements ICfnVpcOriginProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-vpcorigin.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 cfnVpcOriginProps = new CfnVpcOriginProps {
VpcOriginEndpointConfig = new VpcOriginEndpointConfigProperty {
Arn = "arn",
Name = "name",
// the properties below are optional
HttpPort = 123,
HttpsPort = 123,
OriginProtocolPolicy = "originProtocolPolicy",
OriginSslProtocols = new [] { "originSslProtocols" }
},
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnVpcOriginProps() | Properties for defining a |
Properties
| Tags | A complex type that contains zero or more |
| VpcOriginEndpointConfig | The VPC origin endpoint configuration. |
Constructors
CfnVpcOriginProps()
Properties for defining a CfnVpcOrigin.
public CfnVpcOriginProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-vpcorigin.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 cfnVpcOriginProps = new CfnVpcOriginProps {
VpcOriginEndpointConfig = new VpcOriginEndpointConfigProperty {
Arn = "arn",
Name = "name",
// the properties below are optional
HttpPort = 123,
HttpsPort = 123,
OriginProtocolPolicy = "originProtocolPolicy",
OriginSslProtocols = new [] { "originSslProtocols" }
},
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
Tags
A complex type that contains zero or more Tag elements.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
VpcOriginEndpointConfig
The VPC origin endpoint configuration.
public object VpcOriginEndpointConfig { get; set; }