Class CfnVpcOriginProps
Properties for defining a CfnVpcOrigin
.
Inheritance
System.Object
CfnVpcOriginProps
Implements
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVpcOriginProps : Object, ICfnVpcOriginProps
Syntax (vb)
Public Class CfnVpcOriginProps
Inherits Object
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
Tags | A complex type that contains zero or more |
VpcOriginEndpointConfig | The VPC origin endpoint configuration. |
Constructors
CfnVpcOriginProps()
public CfnVpcOriginProps()
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; }
Property Value
System.Object