CfnTransitGatewayPolicyTableAssociationProps Struct
Properties for defining a CfnTransitGatewayPolicyTableAssociation.
| 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 ec2 } from 'aws-cdk-lib';
const cfnTransitGatewayPolicyTableAssociationProps: ec2.CfnTransitGatewayPolicyTableAssociationProps = {
transitGatewayAttachmentId: 'transitGatewayAttachmentId',
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 import aws_ec2 as ec2
cfn_transit_gateway_policy_table_association_props = ec2.CfnTransitGatewayPolicyTableAssociationProps(
transit_gateway_attachment_id="transitGatewayAttachmentId",
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.services.ec2.*;
CfnTransitGatewayPolicyTableAssociationProps cfnTransitGatewayPolicyTableAssociationProps = CfnTransitGatewayPolicyTableAssociationProps.builder()
.transitGatewayAttachmentId("transitGatewayAttachmentId")
.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.AWS.EC2;
var cfnTransitGatewayPolicyTableAssociationProps = new CfnTransitGatewayPolicyTableAssociationProps {
TransitGatewayAttachmentId = "transitGatewayAttachmentId",
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"
cfnTransitGatewayPolicyTableAssociationProps := &CfnTransitGatewayPolicyTableAssociationProps{
TransitGatewayAttachmentId: jsii.String("transitGatewayAttachmentId"),
TransitGatewayPolicyTableId: jsii.String("transitGatewayPolicyTableId"),
}
Properties
transitGatewayAttachmentIdstringtransit_gateway_attachment_idstrtransitGatewayAttachmentIdStringTransitGatewayAttachmentIdstringTransitGatewayAttachmentId*string required #The ID of transit gateway attachment.
transitGatewayPolicyTableIdstringtransit_gateway_policy_table_idstrtransitGatewayPolicyTableIdStringTransitGatewayPolicyTableIdstringTransitGatewayPolicyTableId*string required #The ID of transit gateway policy table.