TransitGatewayPolicyTableEntryReference Struct
A reference to a TransitGatewayPolicyTableEntry resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const transitGatewayPolicyTableEntryReference: interfaces_ec2.TransitGatewayPolicyTableEntryReference = {
policyRuleNumber: 'policyRuleNumber',
transitGatewayPolicyTableId: 'transitGatewayPolicyTableId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_ec2 as interfaces_ec2
transit_gateway_policy_table_entry_reference = interfaces_ec2.TransitGatewayPolicyTableEntryReference(
policy_rule_number="policyRuleNumber",
transit_gateway_policy_table_id="transitGatewayPolicyTableId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ec2.*;
TransitGatewayPolicyTableEntryReference transitGatewayPolicyTableEntryReference = TransitGatewayPolicyTableEntryReference.builder()
.policyRuleNumber("policyRuleNumber")
.transitGatewayPolicyTableId("transitGatewayPolicyTableId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.EC2;
var transitGatewayPolicyTableEntryReference = new TransitGatewayPolicyTableEntryReference {
PolicyRuleNumber = "policyRuleNumber",
TransitGatewayPolicyTableId = "transitGatewayPolicyTableId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
transitGatewayPolicyTableEntryReference := &TransitGatewayPolicyTableEntryReference{
PolicyRuleNumber: jsii.String("policyRuleNumber"),
TransitGatewayPolicyTableId: jsii.String("transitGatewayPolicyTableId"),
}
Properties
policyRuleNumberstringpolicy_rule_numberstrpolicyRuleNumberStringPolicyRuleNumberstringPolicyRuleNumber*string required #The PolicyRuleNumber of the TransitGatewayPolicyTableEntry resource.
transitGatewayPolicyTableIdstringtransit_gateway_policy_table_idstrtransitGatewayPolicyTableIdStringTransitGatewayPolicyTableIdstringTransitGatewayPolicyTableId*string required #The TransitGatewayPolicyTableId of the TransitGatewayPolicyTableEntry resource.