Interface CfnDirectConnectGatewayAssociationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDirectConnectGatewayAssociationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:41.938Z")
@Stability(Stable)
public interface CfnDirectConnectGatewayAssociationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDirectConnectGatewayAssociation.
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.directconnect.*;
CfnDirectConnectGatewayAssociationProps cfnDirectConnectGatewayAssociationProps = CfnDirectConnectGatewayAssociationProps.builder()
.associatedGatewayId("associatedGatewayId")
.directConnectGatewayId("directConnectGatewayId")
// the properties below are optional
.acceptDirectConnectGatewayAssociationProposalRoleArn("acceptDirectConnectGatewayAssociationProposalRoleArn")
.allowedPrefixesToDirectConnectGateway(List.of("allowedPrefixesToDirectConnectGateway"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDirectConnectGatewayAssociationPropsstatic final classAn implementation forCfnDirectConnectGatewayAssociationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the role to accept the Direct Connect Gateway association proposal.The Amazon VPC prefixes to advertise to the Direct Connect gateway.Returns union: eitherStringorIDirectConnectGatewayRefMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssociatedGatewayId
- See Also:
-
getDirectConnectGatewayId
Returns union: eitherStringorIDirectConnectGatewayRef- See Also:
-
getAcceptDirectConnectGatewayAssociationProposalRoleArn
@Stability(Stable) @Nullable default String getAcceptDirectConnectGatewayAssociationProposalRoleArn()The Amazon Resource Name (ARN) of the role to accept the Direct Connect Gateway association proposal.Needs directconnect:AcceptDirectConnectGatewayAssociationProposal permissions.
- See Also:
-
getAllowedPrefixesToDirectConnectGateway
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 Also:
-
builder
-