Class CfnVpcOrigin
An Amazon CloudFront VPC origin.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVpcOrigin : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnVpcOrigin
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-vpcorigin.html
CloudformationResource: AWS::CloudFront::VpcOrigin
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 cfnVpcOrigin = new CfnVpcOrigin(this, "MyCfnVpcOrigin", 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
CfnVpcOrigin(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnVpcOrigin(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnVpcOrigin(Construct, String, ICfnVpcOriginProps) |
Properties
AttrArn | The VPC origin ARN. |
AttrCreatedTime | The VPC origin created time. |
AttrId | The VPC origin ID. |
AttrLastModifiedTime | The VPC origin last modified time. |
AttrStatus | The VPC origin status. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Tags | A complex type that contains zero or more |
VpcOriginEndpointConfig | The VPC origin endpoint configuration. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnVpcOrigin(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnVpcOrigin(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnVpcOrigin(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnVpcOrigin(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnVpcOrigin(Construct, String, ICfnVpcOriginProps)
public CfnVpcOrigin(Construct scope, string id, ICfnVpcOriginProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnVpcOriginProps
Resource properties.
Properties
AttrArn
The VPC origin ARN.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreatedTime
The VPC origin created time.
public virtual string AttrCreatedTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedTime
AttrId
The VPC origin ID.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrLastModifiedTime
The VPC origin last modified time.
public virtual string AttrLastModifiedTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastModifiedTime
AttrStatus
The VPC origin status.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Status
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Tags
A complex type that contains zero or more Tag
elements.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
VpcOriginEndpointConfig
The VPC origin endpoint configuration.
public virtual object VpcOriginEndpointConfig { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>