Package-level declarations

Types

Link copied to clipboard
class BgpPeer : KotlinCustomResource

Provides a Direct Connect BGP peer resource.

Link copied to clipboard
data class BgpPeerArgs(val addressFamily: Output<String>? = null, val amazonAddress: Output<String>? = null, val bgpAsn: Output<Int>? = null, val bgpAuthKey: Output<String>? = null, val customerAddress: Output<String>? = null, val virtualInterfaceId: Output<String>? = null) : ConvertibleToJava<BgpPeerArgs>

Provides a Direct Connect BGP peer resource.

Link copied to clipboard
Link copied to clipboard
object BgpPeerMapper : ResourceMapper<BgpPeer>
Link copied to clipboard
Link copied to clipboard
class Connection : KotlinCustomResource

Provides a Connection of Direct Connect.

Link copied to clipboard
data class ConnectionArgs(val bandwidth: Output<String>? = null, val encryptionMode: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val providerName: Output<String>? = null, val requestMacsec: Output<Boolean>? = null, val skipDestroy: Output<Boolean>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ConnectionArgs>

Provides a Connection of Direct Connect.

Link copied to clipboard
Link copied to clipboard
class ConnectionAssociation : KotlinCustomResource

Associates a Direct Connect Connection with a LAG.

Link copied to clipboard
data class ConnectionAssociationArgs(val connectionId: Output<String>? = null, val lagId: Output<String>? = null) : ConvertibleToJava<ConnectionAssociationArgs>

Associates a Direct Connect Connection with a LAG.

Link copied to clipboard
Link copied to clipboard
class ConnectionConfirmation : KotlinCustomResource

Provides a confirmation of the creation of the specified hosted connection on an interconnect.

Link copied to clipboard
data class ConnectionConfirmationArgs(val connectionId: Output<String>? = null) : ConvertibleToJava<ConnectionConfirmationArgs>

Provides a confirmation of the creation of the specified hosted connection on an interconnect.

Link copied to clipboard
Link copied to clipboard
object ConnectionMapper : ResourceMapper<Connection>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Gateway : KotlinCustomResource

Provides a Direct Connect Gateway.

Link copied to clipboard
data class GatewayArgs(val amazonSideAsn: Output<String>? = null, val name: Output<String>? = null) : ConvertibleToJava<GatewayArgs>

Provides a Direct Connect Gateway.

Link copied to clipboard
Link copied to clipboard
class GatewayAssociation : KotlinCustomResource

Associates a Direct Connect Gateway with a VGW or transit gateway. To create a cross-account association, create an aws.directconnect.GatewayAssociationProposal resource in the AWS account that owns the VGW or transit gateway and then accept the proposal in the AWS account that owns the Direct Connect Gateway by creating an aws.directconnect.GatewayAssociation resource with the proposal_id and associated_gateway_owner_account_id attributes set.

Link copied to clipboard
data class GatewayAssociationArgs(val allowedPrefixes: Output<List<String>>? = null, val associatedGatewayId: Output<String>? = null, val associatedGatewayOwnerAccountId: Output<String>? = null, val dxGatewayId: Output<String>? = null, val proposalId: Output<String>? = null, val vpnGatewayId: Output<String>? = null) : ConvertibleToJava<GatewayAssociationArgs>

Associates a Direct Connect Gateway with a VGW or transit gateway. To create a cross-account association, create an aws.directconnect.GatewayAssociationProposal resource in the AWS account that owns the VGW or transit gateway and then accept the proposal in the AWS account that owns the Direct Connect Gateway by creating an aws.directconnect.GatewayAssociation resource with the proposal_id and associated_gateway_owner_account_id attributes set.

Link copied to clipboard
Link copied to clipboard
class GatewayAssociationProposal : KotlinCustomResource

Manages a Direct Connect Gateway Association Proposal, typically for enabling cross-account associations. For single account associations, see the aws.directconnect.GatewayAssociation resource.

Link copied to clipboard
data class GatewayAssociationProposalArgs(val allowedPrefixes: Output<List<String>>? = null, val associatedGatewayId: Output<String>? = null, val dxGatewayId: Output<String>? = null, val dxGatewayOwnerAccountId: Output<String>? = null) : ConvertibleToJava<GatewayAssociationProposalArgs>

Manages a Direct Connect Gateway Association Proposal, typically for enabling cross-account associations. For single account associations, see the aws.directconnect.GatewayAssociation resource.

Link copied to clipboard
object GatewayMapper : ResourceMapper<Gateway>
Link copied to clipboard
Link copied to clipboard
class HostedConnection : KotlinCustomResource

Provides a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects. Intended for use by AWS Direct Connect Partners only.

Link copied to clipboard
data class HostedConnectionArgs(val bandwidth: Output<String>? = null, val connectionId: Output<String>? = null, val name: Output<String>? = null, val ownerAccountId: Output<String>? = null, val vlan: Output<Int>? = null) : ConvertibleToJava<HostedConnectionArgs>

Provides a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects. Intended for use by AWS Direct Connect Partners only.

Link copied to clipboard
object HostedConnectionMapper : ResourceMapper<HostedConnection>
Link copied to clipboard
class HostedPrivateVirtualInterface : KotlinCustomResource

Provides a Direct Connect hosted private virtual interface resource. This resource represents the allocator's side of the hosted virtual interface. A hosted virtual interface is a virtual interface that is owned by another AWS account.

Link copied to clipboard
class HostedPrivateVirtualInterfaceAccepter : KotlinCustomResource

Provides a resource to manage the accepter's side of a Direct Connect hosted private virtual interface. This resource accepts ownership of a private virtual interface created by another AWS account.

data class HostedPrivateVirtualInterfaceAccepterArgs(val dxGatewayId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val virtualInterfaceId: Output<String>? = null, val vpnGatewayId: Output<String>? = null) : ConvertibleToJava<HostedPrivateVirtualInterfaceAccepterArgs>

Provides a resource to manage the accepter's side of a Direct Connect hosted private virtual interface. This resource accepts ownership of a private virtual interface created by another AWS account.

Link copied to clipboard
data class HostedPrivateVirtualInterfaceArgs(val addressFamily: Output<String>? = null, val amazonAddress: Output<String>? = null, val bgpAsn: Output<Int>? = null, val bgpAuthKey: Output<String>? = null, val connectionId: Output<String>? = null, val customerAddress: Output<String>? = null, val mtu: Output<Int>? = null, val name: Output<String>? = null, val ownerAccountId: Output<String>? = null, val vlan: Output<Int>? = null) : ConvertibleToJava<HostedPrivateVirtualInterfaceArgs>

Provides a Direct Connect hosted private virtual interface resource. This resource represents the allocator's side of the hosted virtual interface. A hosted virtual interface is a virtual interface that is owned by another AWS account.

Link copied to clipboard
class HostedPublicVirtualInterface : KotlinCustomResource

Provides a Direct Connect hosted public virtual interface resource. This resource represents the allocator's side of the hosted virtual interface. A hosted virtual interface is a virtual interface that is owned by another AWS account.

Link copied to clipboard
class HostedPublicVirtualInterfaceAccepter : KotlinCustomResource

Provides a resource to manage the accepter's side of a Direct Connect hosted public virtual interface. This resource accepts ownership of a public virtual interface created by another AWS account.

Link copied to clipboard
data class HostedPublicVirtualInterfaceAccepterArgs(val tags: Output<Map<String, String>>? = null, val virtualInterfaceId: Output<String>? = null) : ConvertibleToJava<HostedPublicVirtualInterfaceAccepterArgs>

Provides a resource to manage the accepter's side of a Direct Connect hosted public virtual interface. This resource accepts ownership of a public virtual interface created by another AWS account.

Link copied to clipboard
data class HostedPublicVirtualInterfaceArgs(val addressFamily: Output<String>? = null, val amazonAddress: Output<String>? = null, val bgpAsn: Output<Int>? = null, val bgpAuthKey: Output<String>? = null, val connectionId: Output<String>? = null, val customerAddress: Output<String>? = null, val name: Output<String>? = null, val ownerAccountId: Output<String>? = null, val routeFilterPrefixes: Output<List<String>>? = null, val vlan: Output<Int>? = null) : ConvertibleToJava<HostedPublicVirtualInterfaceArgs>

Provides a Direct Connect hosted public virtual interface resource. This resource represents the allocator's side of the hosted virtual interface. A hosted virtual interface is a virtual interface that is owned by another AWS account.

Link copied to clipboard
class HostedTransitVirtualInterface : KotlinCustomResource

Provides a Direct Connect hosted transit virtual interface resource. This resource represents the allocator's side of the hosted virtual interface. A hosted virtual interface is a virtual interface that is owned by another AWS account.

Link copied to clipboard
class HostedTransitVirtualInterfaceAcceptor : KotlinCustomResource

Provides a resource to manage the accepter's side of a Direct Connect hosted transit virtual interface. This resource accepts ownership of a transit virtual interface created by another AWS account.

data class HostedTransitVirtualInterfaceAcceptorArgs(val dxGatewayId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val virtualInterfaceId: Output<String>? = null) : ConvertibleToJava<HostedTransitVirtualInterfaceAcceptorArgs>

Provides a resource to manage the accepter's side of a Direct Connect hosted transit virtual interface. This resource accepts ownership of a transit virtual interface created by another AWS account.

Link copied to clipboard
data class HostedTransitVirtualInterfaceArgs(val addressFamily: Output<String>? = null, val amazonAddress: Output<String>? = null, val bgpAsn: Output<Int>? = null, val bgpAuthKey: Output<String>? = null, val connectionId: Output<String>? = null, val customerAddress: Output<String>? = null, val mtu: Output<Int>? = null, val name: Output<String>? = null, val ownerAccountId: Output<String>? = null, val vlan: Output<Int>? = null) : ConvertibleToJava<HostedTransitVirtualInterfaceArgs>

Provides a Direct Connect hosted transit virtual interface resource. This resource represents the allocator's side of the hosted virtual interface. A hosted virtual interface is a virtual interface that is owned by another AWS account.

Link copied to clipboard
class LinkAggregationGroup : KotlinCustomResource

Provides a Direct Connect LAG. Connections can be added to the LAG via the aws.directconnect.Connection and aws.directconnect.ConnectionAssociation resources.

Link copied to clipboard
data class LinkAggregationGroupArgs(val connectionId: Output<String>? = null, val connectionsBandwidth: Output<String>? = null, val forceDestroy: Output<Boolean>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val providerName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<LinkAggregationGroupArgs>

Provides a Direct Connect LAG. Connections can be added to the LAG via the aws.directconnect.Connection and aws.directconnect.ConnectionAssociation resources.

Link copied to clipboard
Link copied to clipboard
class MacsecKeyAssociation : KotlinCustomResource

Provides a MAC Security (MACSec) secret key resource for use with Direct Connect. See MACsec prerequisites for information about MAC Security (MACsec) prerequisites. Creating this resource will also create a resource of type aws.secretsmanager.Secret which is managed by Direct Connect. While you can import this resource into your state, because this secret is managed by Direct Connect, you will not be able to make any modifications to it. See How AWS Direct Connect uses AWS Secrets Manager for details.

Link copied to clipboard
data class MacsecKeyAssociationArgs(val cak: Output<String>? = null, val ckn: Output<String>? = null, val connectionId: Output<String>? = null, val secretArn: Output<String>? = null) : ConvertibleToJava<MacsecKeyAssociationArgs>

Provides a MAC Security (MACSec) secret key resource for use with Direct Connect. See MACsec prerequisites for information about MAC Security (MACsec) prerequisites. Creating this resource will also create a resource of type aws.secretsmanager.Secret which is managed by Direct Connect. While you can import this resource into your state, because this secret is managed by Direct Connect, you will not be able to make any modifications to it. See How AWS Direct Connect uses AWS Secrets Manager for details.

Link copied to clipboard
Link copied to clipboard
class PrivateVirtualInterface : KotlinCustomResource

Provides a Direct Connect private virtual interface resource.

Link copied to clipboard
data class PrivateVirtualInterfaceArgs(val addressFamily: Output<String>? = null, val amazonAddress: Output<String>? = null, val bgpAsn: Output<Int>? = null, val bgpAuthKey: Output<String>? = null, val connectionId: Output<String>? = null, val customerAddress: Output<String>? = null, val dxGatewayId: Output<String>? = null, val mtu: Output<Int>? = null, val name: Output<String>? = null, val sitelinkEnabled: Output<Boolean>? = null, val tags: Output<Map<String, String>>? = null, val vlan: Output<Int>? = null, val vpnGatewayId: Output<String>? = null) : ConvertibleToJava<PrivateVirtualInterfaceArgs>

Provides a Direct Connect private virtual interface resource.

Link copied to clipboard
Link copied to clipboard
class PublicVirtualInterface : KotlinCustomResource

Provides a Direct Connect public virtual interface resource.

Link copied to clipboard
data class PublicVirtualInterfaceArgs(val addressFamily: Output<String>? = null, val amazonAddress: Output<String>? = null, val bgpAsn: Output<Int>? = null, val bgpAuthKey: Output<String>? = null, val connectionId: Output<String>? = null, val customerAddress: Output<String>? = null, val name: Output<String>? = null, val routeFilterPrefixes: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null, val vlan: Output<Int>? = null) : ConvertibleToJava<PublicVirtualInterfaceArgs>

Provides a Direct Connect public virtual interface resource.

Link copied to clipboard
Link copied to clipboard
class TransitVirtualInterface : KotlinCustomResource

Provides a Direct Connect transit virtual interface resource. A transit virtual interface is a VLAN that transports traffic from a Direct Connect gateway to one or more transit gateways.

Link copied to clipboard
data class TransitVirtualInterfaceArgs(val addressFamily: Output<String>? = null, val amazonAddress: Output<String>? = null, val bgpAsn: Output<Int>? = null, val bgpAuthKey: Output<String>? = null, val connectionId: Output<String>? = null, val customerAddress: Output<String>? = null, val dxGatewayId: Output<String>? = null, val mtu: Output<Int>? = null, val name: Output<String>? = null, val sitelinkEnabled: Output<Boolean>? = null, val tags: Output<Map<String, String>>? = null, val vlan: Output<Int>? = null) : ConvertibleToJava<TransitVirtualInterfaceArgs>

Provides a Direct Connect transit virtual interface resource. A transit virtual interface is a VLAN that transports traffic from a Direct Connect gateway to one or more transit gateways.

Link copied to clipboard

Functions

Link copied to clipboard
fun bgpPeer(name: String): BgpPeer
suspend fun bgpPeer(name: String, block: suspend BgpPeerResourceBuilder.() -> Unit): BgpPeer
Link copied to clipboard
suspend fun connection(name: String, block: suspend ConnectionResourceBuilder.() -> Unit): Connection
Link copied to clipboard
fun gateway(name: String): Gateway
suspend fun gateway(name: String, block: suspend GatewayResourceBuilder.() -> Unit): Gateway
Link copied to clipboard