CfnDirectConnectGatewayAssociationProps
- class aws_cdk.aws_directconnect.CfnDirectConnectGatewayAssociationProps(*, associated_gateway_id, direct_connect_gateway_id, accept_direct_connect_gateway_association_proposal_role_arn=None, allowed_prefixes_to_direct_connect_gateway=None)
Bases:
objectProperties for defining a
CfnDirectConnectGatewayAssociation.- Parameters:
associated_gateway_id (
Union[str,ITransitGatewayRef,IVPNGatewayRef])direct_connect_gateway_id (
Union[str,IDirectConnectGatewayRef])accept_direct_connect_gateway_association_proposal_role_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the role to accept the Direct Connect Gateway association proposal. Needs directconnect:AcceptDirectConnectGatewayAssociationProposal permissions.allowed_prefixes_to_direct_connect_gateway (
Optional[Sequence[str]]) – The Amazon VPC prefixes to advertise to the Direct Connect gateway. This parameter is required when you create an association to a transit gateway.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_directconnect as directconnect cfn_direct_connect_gateway_association_props = directconnect.CfnDirectConnectGatewayAssociationProps( associated_gateway_id="associatedGatewayId", direct_connect_gateway_id="directConnectGatewayId", # the properties below are optional accept_direct_connect_gateway_association_proposal_role_arn="acceptDirectConnectGatewayAssociationProposalRoleArn", allowed_prefixes_to_direct_connect_gateway=["allowedPrefixesToDirectConnectGateway"] )
Attributes
- accept_direct_connect_gateway_association_proposal_role_arn
The Amazon Resource Name (ARN) of the role to accept the Direct Connect Gateway association proposal.
Needs directconnect:AcceptDirectConnectGatewayAssociationProposal permissions.
- allowed_prefixes_to_direct_connect_gateway
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
This parameter is required when you create an association to a transit gateway.
- associated_gateway_id
-
- Type:
see