Class CfnTransitGatewayPolicyTableEntry
AWS::EC2::TransitGatewayPolicyTableEntry Resource Definition.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayPolicyTableEntry : CfnResource, IInspectable, ITransitGatewayPolicyTableEntryRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnTransitGatewayPolicyTableEntry Inherits CfnResource Implements IInspectable, ITransitGatewayPolicyTableEntryRef, IConstruct, IDependable, IEnvironmentAware
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
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.EC2;
var cfnTransitGatewayPolicyTableEntry = new CfnTransitGatewayPolicyTableEntry(this, "MyCfnTransitGatewayPolicyTableEntry", new CfnTransitGatewayPolicyTableEntryProps {
PolicyRule = new TransitGatewayPolicyRuleProperty {
DestinationCidrBlock = "destinationCidrBlock",
DestinationPortRange = "destinationPortRange",
Protocol = "protocol",
SourceCidrBlock = "sourceCidrBlock",
SourcePortRange = "sourcePortRange"
},
PolicyRuleNumber = "policyRuleNumber",
TargetRouteTableId = "targetRouteTableId",
TransitGatewayPolicyTableId = "transitGatewayPolicyTableId"
});
Synopsis
Constructors
| CfnTransitGatewayPolicyTableEntry(Construct, string, ICfnTransitGatewayPolicyTableEntryProps) | Create a new |
Properties
| AttrState | The state of the policy table entry. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | AWS::EC2::TransitGatewayPolicyTableEntry Resource Definition. |
| CfnPropertyNames | AWS::EC2::TransitGatewayPolicyTableEntry Resource Definition. |
| PolicyRule | AWS::EC2::TransitGatewayPolicyTableEntry Resource Definition. |
| PolicyRuleNumber | The rule number for the policy table entry. |
| TargetRouteTableId | The ID of the target route table. |
| TransitGatewayPolicyTableEntryRef | A reference to a TransitGatewayPolicyTableEntry resource. |
| TransitGatewayPolicyTableId | The ID of the transit gateway policy table. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnTransitGatewayPolicyTableEntry(object) | Checks whether the given object is a CfnTransitGatewayPolicyTableEntry. |
| RenderProperties(IDictionary<string, object>) | AWS::EC2::TransitGatewayPolicyTableEntry Resource Definition. |
Constructors
CfnTransitGatewayPolicyTableEntry(Construct, string, ICfnTransitGatewayPolicyTableEntryProps)
Create a new AWS::EC2::TransitGatewayPolicyTableEntry.
public CfnTransitGatewayPolicyTableEntry(Construct scope, string id, ICfnTransitGatewayPolicyTableEntryProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnTransitGatewayPolicyTableEntryProps
Resource properties.
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
ExampleMetadata: fixture=_generated
Properties
AttrState
The state of the policy table entry.
public virtual string AttrState { get; }
Property Value
Remarks
CloudformationAttribute: State
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
ExampleMetadata: fixture=_generated
CfnProperties
AWS::EC2::TransitGatewayPolicyTableEntry Resource Definition.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
ExampleMetadata: fixture=_generated
CfnPropertyNames
AWS::EC2::TransitGatewayPolicyTableEntry Resource Definition.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
ExampleMetadata: fixture=_generated
PolicyRule
AWS::EC2::TransitGatewayPolicyTableEntry Resource Definition.
public virtual object PolicyRule { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnTransitGatewayPolicyTableEntry.ITransitGatewayPolicyRuleProperty
PolicyRuleNumber
The rule number for the policy table entry.
public virtual string PolicyRuleNumber { get; set; }
Property Value
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
ExampleMetadata: fixture=_generated
TargetRouteTableId
The ID of the target route table.
public virtual string TargetRouteTableId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
ExampleMetadata: fixture=_generated
TransitGatewayPolicyTableEntryRef
A reference to a TransitGatewayPolicyTableEntry resource.
public virtual ITransitGatewayPolicyTableEntryReference TransitGatewayPolicyTableEntryRef { get; }
Property Value
ITransitGatewayPolicyTableEntryReference
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
ExampleMetadata: fixture=_generated
TransitGatewayPolicyTableId
The ID of the transit gateway policy table.
public virtual string TransitGatewayPolicyTableId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
ExampleMetadata: fixture=_generated
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.
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
ExampleMetadata: fixture=_generated
IsCfnTransitGatewayPolicyTableEntry(object)
Checks whether the given object is a CfnTransitGatewayPolicyTableEntry.
public static bool IsCfnTransitGatewayPolicyTableEntry(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
AWS::EC2::TransitGatewayPolicyTableEntry Resource Definition.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::EC2::TransitGatewayPolicyTableEntry
ExampleMetadata: fixture=_generated