Class CfnTransitGatewayPolicyTableAssociation

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ec2.CfnTransitGatewayPolicyTableAssociation
All Implemented Interfaces:
IInspectable, ITransitGatewayPolicyTableAssociationRef, IEnvironmentAware, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-08-10T14:51:02.023Z") @Stability(Stable) public class CfnTransitGatewayPolicyTableAssociation extends CfnResource implements IInspectable, ITransitGatewayPolicyTableAssociationRef
AWS::EC2::TransitGatewayPolicyTableAssociation Resource Definition.

Example:

 // 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.*;
 CfnTransitGatewayPolicyTableAssociation cfnTransitGatewayPolicyTableAssociation = CfnTransitGatewayPolicyTableAssociation.Builder.create(this, "MyCfnTransitGatewayPolicyTableAssociation")
         .transitGatewayAttachmentId("transitGatewayAttachmentId")
         .transitGatewayPolicyTableId("transitGatewayPolicyTableId")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnTransitGatewayPolicyTableAssociation

      protected CfnTransitGatewayPolicyTableAssociation(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnTransitGatewayPolicyTableAssociation

      protected CfnTransitGatewayPolicyTableAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnTransitGatewayPolicyTableAssociation

      @Stability(Stable) public CfnTransitGatewayPolicyTableAssociation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTransitGatewayPolicyTableAssociationProps props)
      Create a new AWS::EC2::TransitGatewayPolicyTableAssociation.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • isCfnTransitGatewayPolicyTableAssociation

      @Stability(Stable) @NotNull public static Boolean isCfnTransitGatewayPolicyTableAssociation(@NotNull Object x)
      Checks whether the given object is a CfnTransitGatewayPolicyTableAssociation.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrState

      @Stability(Stable) @NotNull public String getAttrState()
      The state of the transit gateway policy table association.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getTransitGatewayPolicyTableAssociationRef

      @Stability(Stable) @NotNull public TransitGatewayPolicyTableAssociationReference getTransitGatewayPolicyTableAssociationRef()
      A reference to a TransitGatewayPolicyTableAssociation resource.
      Specified by:
      getTransitGatewayPolicyTableAssociationRef in interface ITransitGatewayPolicyTableAssociationRef
    • getTransitGatewayAttachmentId

      @Stability(Stable) @NotNull public String getTransitGatewayAttachmentId()
      The ID of transit gateway attachment.
    • setTransitGatewayAttachmentId

      @Stability(Stable) public void setTransitGatewayAttachmentId(@NotNull String value)
      The ID of transit gateway attachment.
    • getTransitGatewayPolicyTableId

      @Stability(Stable) @NotNull public String getTransitGatewayPolicyTableId()
      The ID of transit gateway policy table.
    • setTransitGatewayPolicyTableId

      @Stability(Stable) public void setTransitGatewayPolicyTableId(@NotNull String value)
      The ID of transit gateway policy table.