Documentation ¶
Index ¶
- type BgpPeer
- type BgpPeerArgs
- type BgpPeerArray
- type BgpPeerArrayInput
- type BgpPeerArrayOutput
- type BgpPeerInput
- type BgpPeerMap
- type BgpPeerMapInput
- type BgpPeerMapOutput
- type BgpPeerOutput
- func (o BgpPeerOutput) AddressFamily() pulumi.StringOutput
- func (o BgpPeerOutput) AmazonAddress() pulumi.StringOutput
- func (o BgpPeerOutput) AwsDevice() pulumi.StringOutput
- func (o BgpPeerOutput) BgpAsn() pulumi.IntOutput
- func (o BgpPeerOutput) BgpAuthKey() pulumi.StringOutput
- func (o BgpPeerOutput) BgpPeerId() pulumi.StringOutput
- func (o BgpPeerOutput) BgpStatus() pulumi.StringOutput
- func (o BgpPeerOutput) CustomerAddress() pulumi.StringOutput
- func (BgpPeerOutput) ElementType() reflect.Type
- func (o BgpPeerOutput) ToBgpPeerOutput() BgpPeerOutput
- func (o BgpPeerOutput) ToBgpPeerOutputWithContext(ctx context.Context) BgpPeerOutput
- func (o BgpPeerOutput) VirtualInterfaceId() pulumi.StringOutput
- type BgpPeerState
- type Connection
- type ConnectionArgs
- type ConnectionArray
- type ConnectionArrayInput
- type ConnectionArrayOutput
- func (ConnectionArrayOutput) ElementType() reflect.Type
- func (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
- type ConnectionAssociation
- type ConnectionAssociationArgs
- type ConnectionAssociationArray
- func (ConnectionAssociationArray) ElementType() reflect.Type
- func (i ConnectionAssociationArray) ToConnectionAssociationArrayOutput() ConnectionAssociationArrayOutput
- func (i ConnectionAssociationArray) ToConnectionAssociationArrayOutputWithContext(ctx context.Context) ConnectionAssociationArrayOutput
- type ConnectionAssociationArrayInput
- type ConnectionAssociationArrayOutput
- func (ConnectionAssociationArrayOutput) ElementType() reflect.Type
- func (o ConnectionAssociationArrayOutput) Index(i pulumi.IntInput) ConnectionAssociationOutput
- func (o ConnectionAssociationArrayOutput) ToConnectionAssociationArrayOutput() ConnectionAssociationArrayOutput
- func (o ConnectionAssociationArrayOutput) ToConnectionAssociationArrayOutputWithContext(ctx context.Context) ConnectionAssociationArrayOutput
- type ConnectionAssociationInput
- type ConnectionAssociationMap
- type ConnectionAssociationMapInput
- type ConnectionAssociationMapOutput
- func (ConnectionAssociationMapOutput) ElementType() reflect.Type
- func (o ConnectionAssociationMapOutput) MapIndex(k pulumi.StringInput) ConnectionAssociationOutput
- func (o ConnectionAssociationMapOutput) ToConnectionAssociationMapOutput() ConnectionAssociationMapOutput
- func (o ConnectionAssociationMapOutput) ToConnectionAssociationMapOutputWithContext(ctx context.Context) ConnectionAssociationMapOutput
- type ConnectionAssociationOutput
- func (o ConnectionAssociationOutput) ConnectionId() pulumi.StringOutput
- func (ConnectionAssociationOutput) ElementType() reflect.Type
- func (o ConnectionAssociationOutput) LagId() pulumi.StringOutput
- func (o ConnectionAssociationOutput) ToConnectionAssociationOutput() ConnectionAssociationOutput
- func (o ConnectionAssociationOutput) ToConnectionAssociationOutputWithContext(ctx context.Context) ConnectionAssociationOutput
- type ConnectionAssociationState
- type ConnectionConfirmation
- type ConnectionConfirmationArgs
- type ConnectionConfirmationArray
- func (ConnectionConfirmationArray) ElementType() reflect.Type
- func (i ConnectionConfirmationArray) ToConnectionConfirmationArrayOutput() ConnectionConfirmationArrayOutput
- func (i ConnectionConfirmationArray) ToConnectionConfirmationArrayOutputWithContext(ctx context.Context) ConnectionConfirmationArrayOutput
- type ConnectionConfirmationArrayInput
- type ConnectionConfirmationArrayOutput
- func (ConnectionConfirmationArrayOutput) ElementType() reflect.Type
- func (o ConnectionConfirmationArrayOutput) Index(i pulumi.IntInput) ConnectionConfirmationOutput
- func (o ConnectionConfirmationArrayOutput) ToConnectionConfirmationArrayOutput() ConnectionConfirmationArrayOutput
- func (o ConnectionConfirmationArrayOutput) ToConnectionConfirmationArrayOutputWithContext(ctx context.Context) ConnectionConfirmationArrayOutput
- type ConnectionConfirmationInput
- type ConnectionConfirmationMap
- type ConnectionConfirmationMapInput
- type ConnectionConfirmationMapOutput
- func (ConnectionConfirmationMapOutput) ElementType() reflect.Type
- func (o ConnectionConfirmationMapOutput) MapIndex(k pulumi.StringInput) ConnectionConfirmationOutput
- func (o ConnectionConfirmationMapOutput) ToConnectionConfirmationMapOutput() ConnectionConfirmationMapOutput
- func (o ConnectionConfirmationMapOutput) ToConnectionConfirmationMapOutputWithContext(ctx context.Context) ConnectionConfirmationMapOutput
- type ConnectionConfirmationOutput
- func (o ConnectionConfirmationOutput) ConnectionId() pulumi.StringOutput
- func (ConnectionConfirmationOutput) ElementType() reflect.Type
- func (o ConnectionConfirmationOutput) ToConnectionConfirmationOutput() ConnectionConfirmationOutput
- func (o ConnectionConfirmationOutput) ToConnectionConfirmationOutputWithContext(ctx context.Context) ConnectionConfirmationOutput
- type ConnectionConfirmationState
- type ConnectionInput
- type ConnectionMap
- type ConnectionMapInput
- type ConnectionMapOutput
- func (ConnectionMapOutput) ElementType() reflect.Type
- func (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
- func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput
- func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
- type ConnectionOutput
- func (o ConnectionOutput) Arn() pulumi.StringOutput
- func (o ConnectionOutput) AwsDevice() pulumi.StringOutput
- func (o ConnectionOutput) Bandwidth() pulumi.StringOutput
- func (ConnectionOutput) ElementType() reflect.Type
- func (o ConnectionOutput) EncryptionMode() pulumi.StringOutput
- func (o ConnectionOutput) HasLogicalRedundancy() pulumi.StringOutput
- func (o ConnectionOutput) JumboFrameCapable() pulumi.BoolOutput
- func (o ConnectionOutput) Location() pulumi.StringOutput
- func (o ConnectionOutput) MacsecCapable() pulumi.BoolOutput
- func (o ConnectionOutput) Name() pulumi.StringOutput
- func (o ConnectionOutput) OwnerAccountId() pulumi.StringOutput
- func (o ConnectionOutput) PartnerName() pulumi.StringOutput
- func (o ConnectionOutput) PortEncryptionStatus() pulumi.StringOutput
- func (o ConnectionOutput) ProviderName() pulumi.StringOutput
- func (o ConnectionOutput) RequestMacsec() pulumi.BoolPtrOutput
- func (o ConnectionOutput) SkipDestroy() pulumi.BoolPtrOutput
- func (o ConnectionOutput) Tags() pulumi.StringMapOutput
- func (o ConnectionOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
- func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
- func (o ConnectionOutput) VlanId() pulumi.IntOutput
- type ConnectionState
- type Gateway
- type GatewayArgs
- type GatewayArray
- type GatewayArrayInput
- type GatewayArrayOutput
- type GatewayAssociation
- type GatewayAssociationArgs
- type GatewayAssociationArray
- type GatewayAssociationArrayInput
- type GatewayAssociationArrayOutput
- func (GatewayAssociationArrayOutput) ElementType() reflect.Type
- func (o GatewayAssociationArrayOutput) Index(i pulumi.IntInput) GatewayAssociationOutput
- func (o GatewayAssociationArrayOutput) ToGatewayAssociationArrayOutput() GatewayAssociationArrayOutput
- func (o GatewayAssociationArrayOutput) ToGatewayAssociationArrayOutputWithContext(ctx context.Context) GatewayAssociationArrayOutput
- type GatewayAssociationInput
- type GatewayAssociationMap
- type GatewayAssociationMapInput
- type GatewayAssociationMapOutput
- func (GatewayAssociationMapOutput) ElementType() reflect.Type
- func (o GatewayAssociationMapOutput) MapIndex(k pulumi.StringInput) GatewayAssociationOutput
- func (o GatewayAssociationMapOutput) ToGatewayAssociationMapOutput() GatewayAssociationMapOutput
- func (o GatewayAssociationMapOutput) ToGatewayAssociationMapOutputWithContext(ctx context.Context) GatewayAssociationMapOutput
- type GatewayAssociationOutput
- func (o GatewayAssociationOutput) AllowedPrefixes() pulumi.StringArrayOutput
- func (o GatewayAssociationOutput) AssociatedGatewayId() pulumi.StringOutput
- func (o GatewayAssociationOutput) AssociatedGatewayOwnerAccountId() pulumi.StringOutput
- func (o GatewayAssociationOutput) AssociatedGatewayType() pulumi.StringOutput
- func (o GatewayAssociationOutput) DxGatewayAssociationId() pulumi.StringOutput
- func (o GatewayAssociationOutput) DxGatewayId() pulumi.StringOutput
- func (o GatewayAssociationOutput) DxGatewayOwnerAccountId() pulumi.StringOutput
- func (GatewayAssociationOutput) ElementType() reflect.Type
- func (o GatewayAssociationOutput) ProposalId() pulumi.StringPtrOutput
- func (o GatewayAssociationOutput) ToGatewayAssociationOutput() GatewayAssociationOutput
- func (o GatewayAssociationOutput) ToGatewayAssociationOutputWithContext(ctx context.Context) GatewayAssociationOutput
- func (o GatewayAssociationOutput) VpnGatewayId() pulumi.StringPtrOutputdeprecated
- type GatewayAssociationProposal
- func (*GatewayAssociationProposal) ElementType() reflect.Type
- func (i *GatewayAssociationProposal) ToGatewayAssociationProposalOutput() GatewayAssociationProposalOutput
- func (i *GatewayAssociationProposal) ToGatewayAssociationProposalOutputWithContext(ctx context.Context) GatewayAssociationProposalOutput
- type GatewayAssociationProposalArgs
- type GatewayAssociationProposalArray
- func (GatewayAssociationProposalArray) ElementType() reflect.Type
- func (i GatewayAssociationProposalArray) ToGatewayAssociationProposalArrayOutput() GatewayAssociationProposalArrayOutput
- func (i GatewayAssociationProposalArray) ToGatewayAssociationProposalArrayOutputWithContext(ctx context.Context) GatewayAssociationProposalArrayOutput
- type GatewayAssociationProposalArrayInput
- type GatewayAssociationProposalArrayOutput
- func (GatewayAssociationProposalArrayOutput) ElementType() reflect.Type
- func (o GatewayAssociationProposalArrayOutput) Index(i pulumi.IntInput) GatewayAssociationProposalOutput
- func (o GatewayAssociationProposalArrayOutput) ToGatewayAssociationProposalArrayOutput() GatewayAssociationProposalArrayOutput
- func (o GatewayAssociationProposalArrayOutput) ToGatewayAssociationProposalArrayOutputWithContext(ctx context.Context) GatewayAssociationProposalArrayOutput
- type GatewayAssociationProposalInput
- type GatewayAssociationProposalMap
- func (GatewayAssociationProposalMap) ElementType() reflect.Type
- func (i GatewayAssociationProposalMap) ToGatewayAssociationProposalMapOutput() GatewayAssociationProposalMapOutput
- func (i GatewayAssociationProposalMap) ToGatewayAssociationProposalMapOutputWithContext(ctx context.Context) GatewayAssociationProposalMapOutput
- type GatewayAssociationProposalMapInput
- type GatewayAssociationProposalMapOutput
- func (GatewayAssociationProposalMapOutput) ElementType() reflect.Type
- func (o GatewayAssociationProposalMapOutput) MapIndex(k pulumi.StringInput) GatewayAssociationProposalOutput
- func (o GatewayAssociationProposalMapOutput) ToGatewayAssociationProposalMapOutput() GatewayAssociationProposalMapOutput
- func (o GatewayAssociationProposalMapOutput) ToGatewayAssociationProposalMapOutputWithContext(ctx context.Context) GatewayAssociationProposalMapOutput
- type GatewayAssociationProposalOutput
- func (o GatewayAssociationProposalOutput) AllowedPrefixes() pulumi.StringArrayOutput
- func (o GatewayAssociationProposalOutput) AssociatedGatewayId() pulumi.StringOutput
- func (o GatewayAssociationProposalOutput) AssociatedGatewayOwnerAccountId() pulumi.StringOutput
- func (o GatewayAssociationProposalOutput) AssociatedGatewayType() pulumi.StringOutput
- func (o GatewayAssociationProposalOutput) DxGatewayId() pulumi.StringOutput
- func (o GatewayAssociationProposalOutput) DxGatewayOwnerAccountId() pulumi.StringOutput
- func (GatewayAssociationProposalOutput) ElementType() reflect.Type
- func (o GatewayAssociationProposalOutput) ToGatewayAssociationProposalOutput() GatewayAssociationProposalOutput
- func (o GatewayAssociationProposalOutput) ToGatewayAssociationProposalOutputWithContext(ctx context.Context) GatewayAssociationProposalOutput
- type GatewayAssociationProposalState
- type GatewayAssociationState
- type GatewayInput
- type GatewayMap
- type GatewayMapInput
- type GatewayMapOutput
- type GatewayOutput
- func (o GatewayOutput) AmazonSideAsn() pulumi.StringOutput
- func (GatewayOutput) ElementType() reflect.Type
- func (o GatewayOutput) Name() pulumi.StringOutput
- func (o GatewayOutput) OwnerAccountId() pulumi.StringOutput
- func (o GatewayOutput) ToGatewayOutput() GatewayOutput
- func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
- type GatewayState
- type GetLocationArgs
- type GetLocationOutputArgs
- type GetLocationResult
- type GetLocationResultOutput
- func (o GetLocationResultOutput) AvailableMacsecPortSpeeds() pulumi.StringArrayOutput
- func (o GetLocationResultOutput) AvailablePortSpeeds() pulumi.StringArrayOutput
- func (o GetLocationResultOutput) AvailableProviders() pulumi.StringArrayOutput
- func (GetLocationResultOutput) ElementType() reflect.Type
- func (o GetLocationResultOutput) Id() pulumi.StringOutput
- func (o GetLocationResultOutput) LocationCode() pulumi.StringOutput
- func (o GetLocationResultOutput) LocationName() pulumi.StringOutput
- func (o GetLocationResultOutput) ToGetLocationResultOutput() GetLocationResultOutput
- func (o GetLocationResultOutput) ToGetLocationResultOutputWithContext(ctx context.Context) GetLocationResultOutput
- type GetLocationsResult
- type GetLocationsResultOutput
- func (GetLocationsResultOutput) ElementType() reflect.Type
- func (o GetLocationsResultOutput) Id() pulumi.StringOutput
- func (o GetLocationsResultOutput) LocationCodes() pulumi.StringArrayOutput
- func (o GetLocationsResultOutput) ToGetLocationsResultOutput() GetLocationsResultOutput
- func (o GetLocationsResultOutput) ToGetLocationsResultOutputWithContext(ctx context.Context) GetLocationsResultOutput
- type GetRouterConfigurationArgs
- type GetRouterConfigurationOutputArgs
- type GetRouterConfigurationResult
- type GetRouterConfigurationResultOutput
- func (o GetRouterConfigurationResultOutput) CustomerRouterConfig() pulumi.StringOutput
- func (GetRouterConfigurationResultOutput) ElementType() reflect.Type
- func (o GetRouterConfigurationResultOutput) Id() pulumi.StringOutput
- func (o GetRouterConfigurationResultOutput) RouterTypeIdentifier() pulumi.StringOutput
- func (o GetRouterConfigurationResultOutput) Routers() GetRouterConfigurationRouterArrayOutput
- func (o GetRouterConfigurationResultOutput) ToGetRouterConfigurationResultOutput() GetRouterConfigurationResultOutput
- func (o GetRouterConfigurationResultOutput) ToGetRouterConfigurationResultOutputWithContext(ctx context.Context) GetRouterConfigurationResultOutput
- func (o GetRouterConfigurationResultOutput) VirtualInterfaceId() pulumi.StringOutput
- func (o GetRouterConfigurationResultOutput) VirtualInterfaceName() pulumi.StringOutput
- type GetRouterConfigurationRouter
- type GetRouterConfigurationRouterArgs
- func (GetRouterConfigurationRouterArgs) ElementType() reflect.Type
- func (i GetRouterConfigurationRouterArgs) ToGetRouterConfigurationRouterOutput() GetRouterConfigurationRouterOutput
- func (i GetRouterConfigurationRouterArgs) ToGetRouterConfigurationRouterOutputWithContext(ctx context.Context) GetRouterConfigurationRouterOutput
- type GetRouterConfigurationRouterArray
- func (GetRouterConfigurationRouterArray) ElementType() reflect.Type
- func (i GetRouterConfigurationRouterArray) ToGetRouterConfigurationRouterArrayOutput() GetRouterConfigurationRouterArrayOutput
- func (i GetRouterConfigurationRouterArray) ToGetRouterConfigurationRouterArrayOutputWithContext(ctx context.Context) GetRouterConfigurationRouterArrayOutput
- type GetRouterConfigurationRouterArrayInput
- type GetRouterConfigurationRouterArrayOutput
- func (GetRouterConfigurationRouterArrayOutput) ElementType() reflect.Type
- func (o GetRouterConfigurationRouterArrayOutput) Index(i pulumi.IntInput) GetRouterConfigurationRouterOutput
- func (o GetRouterConfigurationRouterArrayOutput) ToGetRouterConfigurationRouterArrayOutput() GetRouterConfigurationRouterArrayOutput
- func (o GetRouterConfigurationRouterArrayOutput) ToGetRouterConfigurationRouterArrayOutputWithContext(ctx context.Context) GetRouterConfigurationRouterArrayOutput
- type GetRouterConfigurationRouterInput
- type GetRouterConfigurationRouterOutput
- func (GetRouterConfigurationRouterOutput) ElementType() reflect.Type
- func (o GetRouterConfigurationRouterOutput) Platform() pulumi.StringOutput
- func (o GetRouterConfigurationRouterOutput) RouterTypeIdentifier() pulumi.StringOutput
- func (o GetRouterConfigurationRouterOutput) Software() pulumi.StringOutput
- func (o GetRouterConfigurationRouterOutput) ToGetRouterConfigurationRouterOutput() GetRouterConfigurationRouterOutput
- func (o GetRouterConfigurationRouterOutput) ToGetRouterConfigurationRouterOutputWithContext(ctx context.Context) GetRouterConfigurationRouterOutput
- func (o GetRouterConfigurationRouterOutput) Vendor() pulumi.StringOutput
- func (o GetRouterConfigurationRouterOutput) XsltTemplateName() pulumi.StringOutput
- func (o GetRouterConfigurationRouterOutput) XsltTemplateNameForMacSec() pulumi.StringOutput
- type HostedConnection
- type HostedConnectionArgs
- type HostedConnectionArray
- type HostedConnectionArrayInput
- type HostedConnectionArrayOutput
- func (HostedConnectionArrayOutput) ElementType() reflect.Type
- func (o HostedConnectionArrayOutput) Index(i pulumi.IntInput) HostedConnectionOutput
- func (o HostedConnectionArrayOutput) ToHostedConnectionArrayOutput() HostedConnectionArrayOutput
- func (o HostedConnectionArrayOutput) ToHostedConnectionArrayOutputWithContext(ctx context.Context) HostedConnectionArrayOutput
- type HostedConnectionInput
- type HostedConnectionMap
- type HostedConnectionMapInput
- type HostedConnectionMapOutput
- func (HostedConnectionMapOutput) ElementType() reflect.Type
- func (o HostedConnectionMapOutput) MapIndex(k pulumi.StringInput) HostedConnectionOutput
- func (o HostedConnectionMapOutput) ToHostedConnectionMapOutput() HostedConnectionMapOutput
- func (o HostedConnectionMapOutput) ToHostedConnectionMapOutputWithContext(ctx context.Context) HostedConnectionMapOutput
- type HostedConnectionOutput
- func (o HostedConnectionOutput) AwsDevice() pulumi.StringOutput
- func (o HostedConnectionOutput) Bandwidth() pulumi.StringOutput
- func (o HostedConnectionOutput) ConnectionId() pulumi.StringOutput
- func (HostedConnectionOutput) ElementType() reflect.Type
- func (o HostedConnectionOutput) HasLogicalRedundancy() pulumi.StringOutput
- func (o HostedConnectionOutput) JumboFrameCapable() pulumi.BoolOutput
- func (o HostedConnectionOutput) LagId() pulumi.StringOutput
- func (o HostedConnectionOutput) LoaIssueTime() pulumi.StringOutput
- func (o HostedConnectionOutput) Location() pulumi.StringOutput
- func (o HostedConnectionOutput) Name() pulumi.StringOutput
- func (o HostedConnectionOutput) OwnerAccountId() pulumi.StringOutput
- func (o HostedConnectionOutput) PartnerName() pulumi.StringOutput
- func (o HostedConnectionOutput) ProviderName() pulumi.StringOutput
- func (o HostedConnectionOutput) Region() pulumi.StringOutput
- func (o HostedConnectionOutput) State() pulumi.StringOutput
- func (o HostedConnectionOutput) ToHostedConnectionOutput() HostedConnectionOutput
- func (o HostedConnectionOutput) ToHostedConnectionOutputWithContext(ctx context.Context) HostedConnectionOutput
- func (o HostedConnectionOutput) Vlan() pulumi.IntOutput
- type HostedConnectionState
- type HostedPrivateVirtualInterface
- func (*HostedPrivateVirtualInterface) ElementType() reflect.Type
- func (i *HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfaceOutput() HostedPrivateVirtualInterfaceOutput
- func (i *HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfaceOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceOutput
- type HostedPrivateVirtualInterfaceAccepter
- func (*HostedPrivateVirtualInterfaceAccepter) ElementType() reflect.Type
- func (i *HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterOutput() HostedPrivateVirtualInterfaceAccepterOutput
- func (i *HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterOutput
- type HostedPrivateVirtualInterfaceAccepterArgs
- type HostedPrivateVirtualInterfaceAccepterArray
- func (HostedPrivateVirtualInterfaceAccepterArray) ElementType() reflect.Type
- func (i HostedPrivateVirtualInterfaceAccepterArray) ToHostedPrivateVirtualInterfaceAccepterArrayOutput() HostedPrivateVirtualInterfaceAccepterArrayOutput
- func (i HostedPrivateVirtualInterfaceAccepterArray) ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterArrayOutput
- type HostedPrivateVirtualInterfaceAccepterArrayInput
- type HostedPrivateVirtualInterfaceAccepterArrayOutput
- func (HostedPrivateVirtualInterfaceAccepterArrayOutput) ElementType() reflect.Type
- func (o HostedPrivateVirtualInterfaceAccepterArrayOutput) Index(i pulumi.IntInput) HostedPrivateVirtualInterfaceAccepterOutput
- func (o HostedPrivateVirtualInterfaceAccepterArrayOutput) ToHostedPrivateVirtualInterfaceAccepterArrayOutput() HostedPrivateVirtualInterfaceAccepterArrayOutput
- func (o HostedPrivateVirtualInterfaceAccepterArrayOutput) ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterArrayOutput
- type HostedPrivateVirtualInterfaceAccepterInput
- type HostedPrivateVirtualInterfaceAccepterMap
- func (HostedPrivateVirtualInterfaceAccepterMap) ElementType() reflect.Type
- func (i HostedPrivateVirtualInterfaceAccepterMap) ToHostedPrivateVirtualInterfaceAccepterMapOutput() HostedPrivateVirtualInterfaceAccepterMapOutput
- func (i HostedPrivateVirtualInterfaceAccepterMap) ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterMapOutput
- type HostedPrivateVirtualInterfaceAccepterMapInput
- type HostedPrivateVirtualInterfaceAccepterMapOutput
- func (HostedPrivateVirtualInterfaceAccepterMapOutput) ElementType() reflect.Type
- func (o HostedPrivateVirtualInterfaceAccepterMapOutput) MapIndex(k pulumi.StringInput) HostedPrivateVirtualInterfaceAccepterOutput
- func (o HostedPrivateVirtualInterfaceAccepterMapOutput) ToHostedPrivateVirtualInterfaceAccepterMapOutput() HostedPrivateVirtualInterfaceAccepterMapOutput
- func (o HostedPrivateVirtualInterfaceAccepterMapOutput) ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterMapOutput
- type HostedPrivateVirtualInterfaceAccepterOutput
- func (o HostedPrivateVirtualInterfaceAccepterOutput) Arn() pulumi.StringOutput
- func (o HostedPrivateVirtualInterfaceAccepterOutput) DxGatewayId() pulumi.StringPtrOutput
- func (HostedPrivateVirtualInterfaceAccepterOutput) ElementType() reflect.Type
- func (o HostedPrivateVirtualInterfaceAccepterOutput) Tags() pulumi.StringMapOutput
- func (o HostedPrivateVirtualInterfaceAccepterOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterOutput() HostedPrivateVirtualInterfaceAccepterOutput
- func (o HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterOutput
- func (o HostedPrivateVirtualInterfaceAccepterOutput) VirtualInterfaceId() pulumi.StringOutput
- func (o HostedPrivateVirtualInterfaceAccepterOutput) VpnGatewayId() pulumi.StringPtrOutput
- type HostedPrivateVirtualInterfaceAccepterState
- type HostedPrivateVirtualInterfaceArgs
- type HostedPrivateVirtualInterfaceArray
- func (HostedPrivateVirtualInterfaceArray) ElementType() reflect.Type
- func (i HostedPrivateVirtualInterfaceArray) ToHostedPrivateVirtualInterfaceArrayOutput() HostedPrivateVirtualInterfaceArrayOutput
- func (i HostedPrivateVirtualInterfaceArray) ToHostedPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceArrayOutput
- type HostedPrivateVirtualInterfaceArrayInput
- type HostedPrivateVirtualInterfaceArrayOutput
- func (HostedPrivateVirtualInterfaceArrayOutput) ElementType() reflect.Type
- func (o HostedPrivateVirtualInterfaceArrayOutput) Index(i pulumi.IntInput) HostedPrivateVirtualInterfaceOutput
- func (o HostedPrivateVirtualInterfaceArrayOutput) ToHostedPrivateVirtualInterfaceArrayOutput() HostedPrivateVirtualInterfaceArrayOutput
- func (o HostedPrivateVirtualInterfaceArrayOutput) ToHostedPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceArrayOutput
- type HostedPrivateVirtualInterfaceInput
- type HostedPrivateVirtualInterfaceMap
- func (HostedPrivateVirtualInterfaceMap) ElementType() reflect.Type
- func (i HostedPrivateVirtualInterfaceMap) ToHostedPrivateVirtualInterfaceMapOutput() HostedPrivateVirtualInterfaceMapOutput
- func (i HostedPrivateVirtualInterfaceMap) ToHostedPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceMapOutput
- type HostedPrivateVirtualInterfaceMapInput
- type HostedPrivateVirtualInterfaceMapOutput
- func (HostedPrivateVirtualInterfaceMapOutput) ElementType() reflect.Type
- func (o HostedPrivateVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) HostedPrivateVirtualInterfaceOutput
- func (o HostedPrivateVirtualInterfaceMapOutput) ToHostedPrivateVirtualInterfaceMapOutput() HostedPrivateVirtualInterfaceMapOutput
- func (o HostedPrivateVirtualInterfaceMapOutput) ToHostedPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceMapOutput
- type HostedPrivateVirtualInterfaceOutput
- func (o HostedPrivateVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
- func (o HostedPrivateVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
- func (o HostedPrivateVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
- func (o HostedPrivateVirtualInterfaceOutput) Arn() pulumi.StringOutput
- func (o HostedPrivateVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
- func (o HostedPrivateVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
- func (o HostedPrivateVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
- func (o HostedPrivateVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
- func (o HostedPrivateVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
- func (HostedPrivateVirtualInterfaceOutput) ElementType() reflect.Type
- func (o HostedPrivateVirtualInterfaceOutput) JumboFrameCapable() pulumi.BoolOutput
- func (o HostedPrivateVirtualInterfaceOutput) Mtu() pulumi.IntPtrOutput
- func (o HostedPrivateVirtualInterfaceOutput) Name() pulumi.StringOutput
- func (o HostedPrivateVirtualInterfaceOutput) OwnerAccountId() pulumi.StringOutput
- func (o HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfaceOutput() HostedPrivateVirtualInterfaceOutput
- func (o HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfaceOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceOutput
- func (o HostedPrivateVirtualInterfaceOutput) Vlan() pulumi.IntOutput
- type HostedPrivateVirtualInterfaceState
- type HostedPublicVirtualInterface
- func (*HostedPublicVirtualInterface) ElementType() reflect.Type
- func (i *HostedPublicVirtualInterface) ToHostedPublicVirtualInterfaceOutput() HostedPublicVirtualInterfaceOutput
- func (i *HostedPublicVirtualInterface) ToHostedPublicVirtualInterfaceOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceOutput
- type HostedPublicVirtualInterfaceAccepter
- func (*HostedPublicVirtualInterfaceAccepter) ElementType() reflect.Type
- func (i *HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterOutput() HostedPublicVirtualInterfaceAccepterOutput
- func (i *HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterOutput
- type HostedPublicVirtualInterfaceAccepterArgs
- type HostedPublicVirtualInterfaceAccepterArray
- func (HostedPublicVirtualInterfaceAccepterArray) ElementType() reflect.Type
- func (i HostedPublicVirtualInterfaceAccepterArray) ToHostedPublicVirtualInterfaceAccepterArrayOutput() HostedPublicVirtualInterfaceAccepterArrayOutput
- func (i HostedPublicVirtualInterfaceAccepterArray) ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterArrayOutput
- type HostedPublicVirtualInterfaceAccepterArrayInput
- type HostedPublicVirtualInterfaceAccepterArrayOutput
- func (HostedPublicVirtualInterfaceAccepterArrayOutput) ElementType() reflect.Type
- func (o HostedPublicVirtualInterfaceAccepterArrayOutput) Index(i pulumi.IntInput) HostedPublicVirtualInterfaceAccepterOutput
- func (o HostedPublicVirtualInterfaceAccepterArrayOutput) ToHostedPublicVirtualInterfaceAccepterArrayOutput() HostedPublicVirtualInterfaceAccepterArrayOutput
- func (o HostedPublicVirtualInterfaceAccepterArrayOutput) ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterArrayOutput
- type HostedPublicVirtualInterfaceAccepterInput
- type HostedPublicVirtualInterfaceAccepterMap
- func (HostedPublicVirtualInterfaceAccepterMap) ElementType() reflect.Type
- func (i HostedPublicVirtualInterfaceAccepterMap) ToHostedPublicVirtualInterfaceAccepterMapOutput() HostedPublicVirtualInterfaceAccepterMapOutput
- func (i HostedPublicVirtualInterfaceAccepterMap) ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterMapOutput
- type HostedPublicVirtualInterfaceAccepterMapInput
- type HostedPublicVirtualInterfaceAccepterMapOutput
- func (HostedPublicVirtualInterfaceAccepterMapOutput) ElementType() reflect.Type
- func (o HostedPublicVirtualInterfaceAccepterMapOutput) MapIndex(k pulumi.StringInput) HostedPublicVirtualInterfaceAccepterOutput
- func (o HostedPublicVirtualInterfaceAccepterMapOutput) ToHostedPublicVirtualInterfaceAccepterMapOutput() HostedPublicVirtualInterfaceAccepterMapOutput
- func (o HostedPublicVirtualInterfaceAccepterMapOutput) ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterMapOutput
- type HostedPublicVirtualInterfaceAccepterOutput
- func (o HostedPublicVirtualInterfaceAccepterOutput) Arn() pulumi.StringOutput
- func (HostedPublicVirtualInterfaceAccepterOutput) ElementType() reflect.Type
- func (o HostedPublicVirtualInterfaceAccepterOutput) Tags() pulumi.StringMapOutput
- func (o HostedPublicVirtualInterfaceAccepterOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterOutput() HostedPublicVirtualInterfaceAccepterOutput
- func (o HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterOutput
- func (o HostedPublicVirtualInterfaceAccepterOutput) VirtualInterfaceId() pulumi.StringOutput
- type HostedPublicVirtualInterfaceAccepterState
- type HostedPublicVirtualInterfaceArgs
- type HostedPublicVirtualInterfaceArray
- func (HostedPublicVirtualInterfaceArray) ElementType() reflect.Type
- func (i HostedPublicVirtualInterfaceArray) ToHostedPublicVirtualInterfaceArrayOutput() HostedPublicVirtualInterfaceArrayOutput
- func (i HostedPublicVirtualInterfaceArray) ToHostedPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceArrayOutput
- type HostedPublicVirtualInterfaceArrayInput
- type HostedPublicVirtualInterfaceArrayOutput
- func (HostedPublicVirtualInterfaceArrayOutput) ElementType() reflect.Type
- func (o HostedPublicVirtualInterfaceArrayOutput) Index(i pulumi.IntInput) HostedPublicVirtualInterfaceOutput
- func (o HostedPublicVirtualInterfaceArrayOutput) ToHostedPublicVirtualInterfaceArrayOutput() HostedPublicVirtualInterfaceArrayOutput
- func (o HostedPublicVirtualInterfaceArrayOutput) ToHostedPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceArrayOutput
- type HostedPublicVirtualInterfaceInput
- type HostedPublicVirtualInterfaceMap
- func (HostedPublicVirtualInterfaceMap) ElementType() reflect.Type
- func (i HostedPublicVirtualInterfaceMap) ToHostedPublicVirtualInterfaceMapOutput() HostedPublicVirtualInterfaceMapOutput
- func (i HostedPublicVirtualInterfaceMap) ToHostedPublicVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceMapOutput
- type HostedPublicVirtualInterfaceMapInput
- type HostedPublicVirtualInterfaceMapOutput
- func (HostedPublicVirtualInterfaceMapOutput) ElementType() reflect.Type
- func (o HostedPublicVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) HostedPublicVirtualInterfaceOutput
- func (o HostedPublicVirtualInterfaceMapOutput) ToHostedPublicVirtualInterfaceMapOutput() HostedPublicVirtualInterfaceMapOutput
- func (o HostedPublicVirtualInterfaceMapOutput) ToHostedPublicVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceMapOutput
- type HostedPublicVirtualInterfaceOutput
- func (o HostedPublicVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
- func (o HostedPublicVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
- func (o HostedPublicVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
- func (o HostedPublicVirtualInterfaceOutput) Arn() pulumi.StringOutput
- func (o HostedPublicVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
- func (o HostedPublicVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
- func (o HostedPublicVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
- func (o HostedPublicVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
- func (o HostedPublicVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
- func (HostedPublicVirtualInterfaceOutput) ElementType() reflect.Type
- func (o HostedPublicVirtualInterfaceOutput) Name() pulumi.StringOutput
- func (o HostedPublicVirtualInterfaceOutput) OwnerAccountId() pulumi.StringOutput
- func (o HostedPublicVirtualInterfaceOutput) RouteFilterPrefixes() pulumi.StringArrayOutput
- func (o HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfaceOutput() HostedPublicVirtualInterfaceOutput
- func (o HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfaceOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceOutput
- func (o HostedPublicVirtualInterfaceOutput) Vlan() pulumi.IntOutput
- type HostedPublicVirtualInterfaceState
- type HostedTransitVirtualInterface
- func (*HostedTransitVirtualInterface) ElementType() reflect.Type
- func (i *HostedTransitVirtualInterface) ToHostedTransitVirtualInterfaceOutput() HostedTransitVirtualInterfaceOutput
- func (i *HostedTransitVirtualInterface) ToHostedTransitVirtualInterfaceOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceOutput
- type HostedTransitVirtualInterfaceAcceptor
- func (*HostedTransitVirtualInterfaceAcceptor) ElementType() reflect.Type
- func (i *HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorOutput() HostedTransitVirtualInterfaceAcceptorOutput
- func (i *HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorOutput
- type HostedTransitVirtualInterfaceAcceptorArgs
- type HostedTransitVirtualInterfaceAcceptorArray
- func (HostedTransitVirtualInterfaceAcceptorArray) ElementType() reflect.Type
- func (i HostedTransitVirtualInterfaceAcceptorArray) ToHostedTransitVirtualInterfaceAcceptorArrayOutput() HostedTransitVirtualInterfaceAcceptorArrayOutput
- func (i HostedTransitVirtualInterfaceAcceptorArray) ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorArrayOutput
- type HostedTransitVirtualInterfaceAcceptorArrayInput
- type HostedTransitVirtualInterfaceAcceptorArrayOutput
- func (HostedTransitVirtualInterfaceAcceptorArrayOutput) ElementType() reflect.Type
- func (o HostedTransitVirtualInterfaceAcceptorArrayOutput) Index(i pulumi.IntInput) HostedTransitVirtualInterfaceAcceptorOutput
- func (o HostedTransitVirtualInterfaceAcceptorArrayOutput) ToHostedTransitVirtualInterfaceAcceptorArrayOutput() HostedTransitVirtualInterfaceAcceptorArrayOutput
- func (o HostedTransitVirtualInterfaceAcceptorArrayOutput) ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorArrayOutput
- type HostedTransitVirtualInterfaceAcceptorInput
- type HostedTransitVirtualInterfaceAcceptorMap
- func (HostedTransitVirtualInterfaceAcceptorMap) ElementType() reflect.Type
- func (i HostedTransitVirtualInterfaceAcceptorMap) ToHostedTransitVirtualInterfaceAcceptorMapOutput() HostedTransitVirtualInterfaceAcceptorMapOutput
- func (i HostedTransitVirtualInterfaceAcceptorMap) ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorMapOutput
- type HostedTransitVirtualInterfaceAcceptorMapInput
- type HostedTransitVirtualInterfaceAcceptorMapOutput
- func (HostedTransitVirtualInterfaceAcceptorMapOutput) ElementType() reflect.Type
- func (o HostedTransitVirtualInterfaceAcceptorMapOutput) MapIndex(k pulumi.StringInput) HostedTransitVirtualInterfaceAcceptorOutput
- func (o HostedTransitVirtualInterfaceAcceptorMapOutput) ToHostedTransitVirtualInterfaceAcceptorMapOutput() HostedTransitVirtualInterfaceAcceptorMapOutput
- func (o HostedTransitVirtualInterfaceAcceptorMapOutput) ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorMapOutput
- type HostedTransitVirtualInterfaceAcceptorOutput
- func (o HostedTransitVirtualInterfaceAcceptorOutput) Arn() pulumi.StringOutput
- func (o HostedTransitVirtualInterfaceAcceptorOutput) DxGatewayId() pulumi.StringOutput
- func (HostedTransitVirtualInterfaceAcceptorOutput) ElementType() reflect.Type
- func (o HostedTransitVirtualInterfaceAcceptorOutput) Tags() pulumi.StringMapOutput
- func (o HostedTransitVirtualInterfaceAcceptorOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorOutput() HostedTransitVirtualInterfaceAcceptorOutput
- func (o HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorOutput
- func (o HostedTransitVirtualInterfaceAcceptorOutput) VirtualInterfaceId() pulumi.StringOutput
- type HostedTransitVirtualInterfaceAcceptorState
- type HostedTransitVirtualInterfaceArgs
- type HostedTransitVirtualInterfaceArray
- func (HostedTransitVirtualInterfaceArray) ElementType() reflect.Type
- func (i HostedTransitVirtualInterfaceArray) ToHostedTransitVirtualInterfaceArrayOutput() HostedTransitVirtualInterfaceArrayOutput
- func (i HostedTransitVirtualInterfaceArray) ToHostedTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceArrayOutput
- type HostedTransitVirtualInterfaceArrayInput
- type HostedTransitVirtualInterfaceArrayOutput
- func (HostedTransitVirtualInterfaceArrayOutput) ElementType() reflect.Type
- func (o HostedTransitVirtualInterfaceArrayOutput) Index(i pulumi.IntInput) HostedTransitVirtualInterfaceOutput
- func (o HostedTransitVirtualInterfaceArrayOutput) ToHostedTransitVirtualInterfaceArrayOutput() HostedTransitVirtualInterfaceArrayOutput
- func (o HostedTransitVirtualInterfaceArrayOutput) ToHostedTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceArrayOutput
- type HostedTransitVirtualInterfaceInput
- type HostedTransitVirtualInterfaceMap
- func (HostedTransitVirtualInterfaceMap) ElementType() reflect.Type
- func (i HostedTransitVirtualInterfaceMap) ToHostedTransitVirtualInterfaceMapOutput() HostedTransitVirtualInterfaceMapOutput
- func (i HostedTransitVirtualInterfaceMap) ToHostedTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceMapOutput
- type HostedTransitVirtualInterfaceMapInput
- type HostedTransitVirtualInterfaceMapOutput
- func (HostedTransitVirtualInterfaceMapOutput) ElementType() reflect.Type
- func (o HostedTransitVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) HostedTransitVirtualInterfaceOutput
- func (o HostedTransitVirtualInterfaceMapOutput) ToHostedTransitVirtualInterfaceMapOutput() HostedTransitVirtualInterfaceMapOutput
- func (o HostedTransitVirtualInterfaceMapOutput) ToHostedTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceMapOutput
- type HostedTransitVirtualInterfaceOutput
- func (o HostedTransitVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
- func (o HostedTransitVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
- func (o HostedTransitVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
- func (o HostedTransitVirtualInterfaceOutput) Arn() pulumi.StringOutput
- func (o HostedTransitVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
- func (o HostedTransitVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
- func (o HostedTransitVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
- func (o HostedTransitVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
- func (o HostedTransitVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
- func (HostedTransitVirtualInterfaceOutput) ElementType() reflect.Type
- func (o HostedTransitVirtualInterfaceOutput) JumboFrameCapable() pulumi.BoolOutput
- func (o HostedTransitVirtualInterfaceOutput) Mtu() pulumi.IntPtrOutput
- func (o HostedTransitVirtualInterfaceOutput) Name() pulumi.StringOutput
- func (o HostedTransitVirtualInterfaceOutput) OwnerAccountId() pulumi.StringOutput
- func (o HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfaceOutput() HostedTransitVirtualInterfaceOutput
- func (o HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfaceOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceOutput
- func (o HostedTransitVirtualInterfaceOutput) Vlan() pulumi.IntOutput
- type HostedTransitVirtualInterfaceState
- type LinkAggregationGroup
- type LinkAggregationGroupArgs
- type LinkAggregationGroupArray
- type LinkAggregationGroupArrayInput
- type LinkAggregationGroupArrayOutput
- func (LinkAggregationGroupArrayOutput) ElementType() reflect.Type
- func (o LinkAggregationGroupArrayOutput) Index(i pulumi.IntInput) LinkAggregationGroupOutput
- func (o LinkAggregationGroupArrayOutput) ToLinkAggregationGroupArrayOutput() LinkAggregationGroupArrayOutput
- func (o LinkAggregationGroupArrayOutput) ToLinkAggregationGroupArrayOutputWithContext(ctx context.Context) LinkAggregationGroupArrayOutput
- type LinkAggregationGroupInput
- type LinkAggregationGroupMap
- type LinkAggregationGroupMapInput
- type LinkAggregationGroupMapOutput
- func (LinkAggregationGroupMapOutput) ElementType() reflect.Type
- func (o LinkAggregationGroupMapOutput) MapIndex(k pulumi.StringInput) LinkAggregationGroupOutput
- func (o LinkAggregationGroupMapOutput) ToLinkAggregationGroupMapOutput() LinkAggregationGroupMapOutput
- func (o LinkAggregationGroupMapOutput) ToLinkAggregationGroupMapOutputWithContext(ctx context.Context) LinkAggregationGroupMapOutput
- type LinkAggregationGroupOutput
- func (o LinkAggregationGroupOutput) Arn() pulumi.StringOutput
- func (o LinkAggregationGroupOutput) ConnectionId() pulumi.StringPtrOutput
- func (o LinkAggregationGroupOutput) ConnectionsBandwidth() pulumi.StringOutput
- func (LinkAggregationGroupOutput) ElementType() reflect.Type
- func (o LinkAggregationGroupOutput) ForceDestroy() pulumi.BoolPtrOutput
- func (o LinkAggregationGroupOutput) HasLogicalRedundancy() pulumi.StringOutput
- func (o LinkAggregationGroupOutput) JumboFrameCapable() pulumi.BoolOutput
- func (o LinkAggregationGroupOutput) Location() pulumi.StringOutput
- func (o LinkAggregationGroupOutput) Name() pulumi.StringOutput
- func (o LinkAggregationGroupOutput) OwnerAccountId() pulumi.StringOutput
- func (o LinkAggregationGroupOutput) ProviderName() pulumi.StringOutput
- func (o LinkAggregationGroupOutput) Tags() pulumi.StringMapOutput
- func (o LinkAggregationGroupOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o LinkAggregationGroupOutput) ToLinkAggregationGroupOutput() LinkAggregationGroupOutput
- func (o LinkAggregationGroupOutput) ToLinkAggregationGroupOutputWithContext(ctx context.Context) LinkAggregationGroupOutput
- type LinkAggregationGroupState
- type LookupConnectionArgs
- type LookupConnectionOutputArgs
- type LookupConnectionResult
- type LookupConnectionResultOutput
- func (o LookupConnectionResultOutput) Arn() pulumi.StringOutput
- func (o LookupConnectionResultOutput) AwsDevice() pulumi.StringOutput
- func (o LookupConnectionResultOutput) Bandwidth() pulumi.StringOutput
- func (LookupConnectionResultOutput) ElementType() reflect.Type
- func (o LookupConnectionResultOutput) Id() pulumi.StringOutput
- func (o LookupConnectionResultOutput) Location() pulumi.StringOutput
- func (o LookupConnectionResultOutput) Name() pulumi.StringOutput
- func (o LookupConnectionResultOutput) OwnerAccountId() pulumi.StringOutput
- func (o LookupConnectionResultOutput) PartnerName() pulumi.StringOutput
- func (o LookupConnectionResultOutput) ProviderName() pulumi.StringOutput
- func (o LookupConnectionResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupConnectionResultOutput) ToLookupConnectionResultOutput() LookupConnectionResultOutput
- func (o LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext(ctx context.Context) LookupConnectionResultOutput
- func (o LookupConnectionResultOutput) VlanId() pulumi.IntOutput
- type LookupGatewayArgs
- type LookupGatewayOutputArgs
- type LookupGatewayResult
- type LookupGatewayResultOutput
- func (o LookupGatewayResultOutput) AmazonSideAsn() pulumi.StringOutput
- func (LookupGatewayResultOutput) ElementType() reflect.Type
- func (o LookupGatewayResultOutput) Id() pulumi.StringOutput
- func (o LookupGatewayResultOutput) Name() pulumi.StringOutput
- func (o LookupGatewayResultOutput) OwnerAccountId() pulumi.StringOutput
- func (o LookupGatewayResultOutput) ToLookupGatewayResultOutput() LookupGatewayResultOutput
- func (o LookupGatewayResultOutput) ToLookupGatewayResultOutputWithContext(ctx context.Context) LookupGatewayResultOutput
- type MacsecKeyAssociation
- type MacsecKeyAssociationArgs
- type MacsecKeyAssociationArray
- type MacsecKeyAssociationArrayInput
- type MacsecKeyAssociationArrayOutput
- func (MacsecKeyAssociationArrayOutput) ElementType() reflect.Type
- func (o MacsecKeyAssociationArrayOutput) Index(i pulumi.IntInput) MacsecKeyAssociationOutput
- func (o MacsecKeyAssociationArrayOutput) ToMacsecKeyAssociationArrayOutput() MacsecKeyAssociationArrayOutput
- func (o MacsecKeyAssociationArrayOutput) ToMacsecKeyAssociationArrayOutputWithContext(ctx context.Context) MacsecKeyAssociationArrayOutput
- type MacsecKeyAssociationInput
- type MacsecKeyAssociationMap
- type MacsecKeyAssociationMapInput
- type MacsecKeyAssociationMapOutput
- func (MacsecKeyAssociationMapOutput) ElementType() reflect.Type
- func (o MacsecKeyAssociationMapOutput) MapIndex(k pulumi.StringInput) MacsecKeyAssociationOutput
- func (o MacsecKeyAssociationMapOutput) ToMacsecKeyAssociationMapOutput() MacsecKeyAssociationMapOutput
- func (o MacsecKeyAssociationMapOutput) ToMacsecKeyAssociationMapOutputWithContext(ctx context.Context) MacsecKeyAssociationMapOutput
- type MacsecKeyAssociationOutput
- func (o MacsecKeyAssociationOutput) Cak() pulumi.StringPtrOutput
- func (o MacsecKeyAssociationOutput) Ckn() pulumi.StringOutput
- func (o MacsecKeyAssociationOutput) ConnectionId() pulumi.StringOutput
- func (MacsecKeyAssociationOutput) ElementType() reflect.Type
- func (o MacsecKeyAssociationOutput) SecretArn() pulumi.StringOutput
- func (o MacsecKeyAssociationOutput) StartOn() pulumi.StringOutput
- func (o MacsecKeyAssociationOutput) State() pulumi.StringOutput
- func (o MacsecKeyAssociationOutput) ToMacsecKeyAssociationOutput() MacsecKeyAssociationOutput
- func (o MacsecKeyAssociationOutput) ToMacsecKeyAssociationOutputWithContext(ctx context.Context) MacsecKeyAssociationOutput
- type MacsecKeyAssociationState
- type PrivateVirtualInterface
- type PrivateVirtualInterfaceArgs
- type PrivateVirtualInterfaceArray
- func (PrivateVirtualInterfaceArray) ElementType() reflect.Type
- func (i PrivateVirtualInterfaceArray) ToPrivateVirtualInterfaceArrayOutput() PrivateVirtualInterfaceArrayOutput
- func (i PrivateVirtualInterfaceArray) ToPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) PrivateVirtualInterfaceArrayOutput
- type PrivateVirtualInterfaceArrayInput
- type PrivateVirtualInterfaceArrayOutput
- func (PrivateVirtualInterfaceArrayOutput) ElementType() reflect.Type
- func (o PrivateVirtualInterfaceArrayOutput) Index(i pulumi.IntInput) PrivateVirtualInterfaceOutput
- func (o PrivateVirtualInterfaceArrayOutput) ToPrivateVirtualInterfaceArrayOutput() PrivateVirtualInterfaceArrayOutput
- func (o PrivateVirtualInterfaceArrayOutput) ToPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) PrivateVirtualInterfaceArrayOutput
- type PrivateVirtualInterfaceInput
- type PrivateVirtualInterfaceMap
- func (PrivateVirtualInterfaceMap) ElementType() reflect.Type
- func (i PrivateVirtualInterfaceMap) ToPrivateVirtualInterfaceMapOutput() PrivateVirtualInterfaceMapOutput
- func (i PrivateVirtualInterfaceMap) ToPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) PrivateVirtualInterfaceMapOutput
- type PrivateVirtualInterfaceMapInput
- type PrivateVirtualInterfaceMapOutput
- func (PrivateVirtualInterfaceMapOutput) ElementType() reflect.Type
- func (o PrivateVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) PrivateVirtualInterfaceOutput
- func (o PrivateVirtualInterfaceMapOutput) ToPrivateVirtualInterfaceMapOutput() PrivateVirtualInterfaceMapOutput
- func (o PrivateVirtualInterfaceMapOutput) ToPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) PrivateVirtualInterfaceMapOutput
- type PrivateVirtualInterfaceOutput
- func (o PrivateVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
- func (o PrivateVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
- func (o PrivateVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
- func (o PrivateVirtualInterfaceOutput) Arn() pulumi.StringOutput
- func (o PrivateVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
- func (o PrivateVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
- func (o PrivateVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
- func (o PrivateVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
- func (o PrivateVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
- func (o PrivateVirtualInterfaceOutput) DxGatewayId() pulumi.StringPtrOutput
- func (PrivateVirtualInterfaceOutput) ElementType() reflect.Type
- func (o PrivateVirtualInterfaceOutput) JumboFrameCapable() pulumi.BoolOutput
- func (o PrivateVirtualInterfaceOutput) Mtu() pulumi.IntPtrOutput
- func (o PrivateVirtualInterfaceOutput) Name() pulumi.StringOutput
- func (o PrivateVirtualInterfaceOutput) SitelinkEnabled() pulumi.BoolPtrOutput
- func (o PrivateVirtualInterfaceOutput) Tags() pulumi.StringMapOutput
- func (o PrivateVirtualInterfaceOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfaceOutput() PrivateVirtualInterfaceOutput
- func (o PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfaceOutputWithContext(ctx context.Context) PrivateVirtualInterfaceOutput
- func (o PrivateVirtualInterfaceOutput) Vlan() pulumi.IntOutput
- func (o PrivateVirtualInterfaceOutput) VpnGatewayId() pulumi.StringPtrOutput
- type PrivateVirtualInterfaceState
- type PublicVirtualInterface
- type PublicVirtualInterfaceArgs
- type PublicVirtualInterfaceArray
- func (PublicVirtualInterfaceArray) ElementType() reflect.Type
- func (i PublicVirtualInterfaceArray) ToPublicVirtualInterfaceArrayOutput() PublicVirtualInterfaceArrayOutput
- func (i PublicVirtualInterfaceArray) ToPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) PublicVirtualInterfaceArrayOutput
- type PublicVirtualInterfaceArrayInput
- type PublicVirtualInterfaceArrayOutput
- func (PublicVirtualInterfaceArrayOutput) ElementType() reflect.Type
- func (o PublicVirtualInterfaceArrayOutput) Index(i pulumi.IntInput) PublicVirtualInterfaceOutput
- func (o PublicVirtualInterfaceArrayOutput) ToPublicVirtualInterfaceArrayOutput() PublicVirtualInterfaceArrayOutput
- func (o PublicVirtualInterfaceArrayOutput) ToPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) PublicVirtualInterfaceArrayOutput
- type PublicVirtualInterfaceInput
- type PublicVirtualInterfaceMap
- type PublicVirtualInterfaceMapInput
- type PublicVirtualInterfaceMapOutput
- func (PublicVirtualInterfaceMapOutput) ElementType() reflect.Type
- func (o PublicVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) PublicVirtualInterfaceOutput
- func (o PublicVirtualInterfaceMapOutput) ToPublicVirtualInterfaceMapOutput() PublicVirtualInterfaceMapOutput
- func (o PublicVirtualInterfaceMapOutput) ToPublicVirtualInterfaceMapOutputWithContext(ctx context.Context) PublicVirtualInterfaceMapOutput
- type PublicVirtualInterfaceOutput
- func (o PublicVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
- func (o PublicVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
- func (o PublicVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
- func (o PublicVirtualInterfaceOutput) Arn() pulumi.StringOutput
- func (o PublicVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
- func (o PublicVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
- func (o PublicVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
- func (o PublicVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
- func (o PublicVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
- func (PublicVirtualInterfaceOutput) ElementType() reflect.Type
- func (o PublicVirtualInterfaceOutput) Name() pulumi.StringOutput
- func (o PublicVirtualInterfaceOutput) RouteFilterPrefixes() pulumi.StringArrayOutput
- func (o PublicVirtualInterfaceOutput) Tags() pulumi.StringMapOutput
- func (o PublicVirtualInterfaceOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o PublicVirtualInterfaceOutput) ToPublicVirtualInterfaceOutput() PublicVirtualInterfaceOutput
- func (o PublicVirtualInterfaceOutput) ToPublicVirtualInterfaceOutputWithContext(ctx context.Context) PublicVirtualInterfaceOutput
- func (o PublicVirtualInterfaceOutput) Vlan() pulumi.IntOutput
- type PublicVirtualInterfaceState
- type TransitVirtualInterface
- type TransitVirtualInterfaceArgs
- type TransitVirtualInterfaceArray
- func (TransitVirtualInterfaceArray) ElementType() reflect.Type
- func (i TransitVirtualInterfaceArray) ToTransitVirtualInterfaceArrayOutput() TransitVirtualInterfaceArrayOutput
- func (i TransitVirtualInterfaceArray) ToTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) TransitVirtualInterfaceArrayOutput
- type TransitVirtualInterfaceArrayInput
- type TransitVirtualInterfaceArrayOutput
- func (TransitVirtualInterfaceArrayOutput) ElementType() reflect.Type
- func (o TransitVirtualInterfaceArrayOutput) Index(i pulumi.IntInput) TransitVirtualInterfaceOutput
- func (o TransitVirtualInterfaceArrayOutput) ToTransitVirtualInterfaceArrayOutput() TransitVirtualInterfaceArrayOutput
- func (o TransitVirtualInterfaceArrayOutput) ToTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) TransitVirtualInterfaceArrayOutput
- type TransitVirtualInterfaceInput
- type TransitVirtualInterfaceMap
- func (TransitVirtualInterfaceMap) ElementType() reflect.Type
- func (i TransitVirtualInterfaceMap) ToTransitVirtualInterfaceMapOutput() TransitVirtualInterfaceMapOutput
- func (i TransitVirtualInterfaceMap) ToTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) TransitVirtualInterfaceMapOutput
- type TransitVirtualInterfaceMapInput
- type TransitVirtualInterfaceMapOutput
- func (TransitVirtualInterfaceMapOutput) ElementType() reflect.Type
- func (o TransitVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) TransitVirtualInterfaceOutput
- func (o TransitVirtualInterfaceMapOutput) ToTransitVirtualInterfaceMapOutput() TransitVirtualInterfaceMapOutput
- func (o TransitVirtualInterfaceMapOutput) ToTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) TransitVirtualInterfaceMapOutput
- type TransitVirtualInterfaceOutput
- func (o TransitVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
- func (o TransitVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
- func (o TransitVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
- func (o TransitVirtualInterfaceOutput) Arn() pulumi.StringOutput
- func (o TransitVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
- func (o TransitVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
- func (o TransitVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
- func (o TransitVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
- func (o TransitVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
- func (o TransitVirtualInterfaceOutput) DxGatewayId() pulumi.StringOutput
- func (TransitVirtualInterfaceOutput) ElementType() reflect.Type
- func (o TransitVirtualInterfaceOutput) JumboFrameCapable() pulumi.BoolOutput
- func (o TransitVirtualInterfaceOutput) Mtu() pulumi.IntPtrOutput
- func (o TransitVirtualInterfaceOutput) Name() pulumi.StringOutput
- func (o TransitVirtualInterfaceOutput) SitelinkEnabled() pulumi.BoolPtrOutput
- func (o TransitVirtualInterfaceOutput) Tags() pulumi.StringMapOutput
- func (o TransitVirtualInterfaceOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o TransitVirtualInterfaceOutput) ToTransitVirtualInterfaceOutput() TransitVirtualInterfaceOutput
- func (o TransitVirtualInterfaceOutput) ToTransitVirtualInterfaceOutputWithContext(ctx context.Context) TransitVirtualInterfaceOutput
- func (o TransitVirtualInterfaceOutput) Vlan() pulumi.IntOutput
- type TransitVirtualInterfaceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BgpPeer ¶
type BgpPeer struct { pulumi.CustomResourceState // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringOutput `pulumi:"addressFamily"` // The IPv4 CIDR address to use to send traffic to Amazon. // Required for IPv4 BGP peers on public virtual interfaces. AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"` // The Direct Connect endpoint on which the BGP peer terminates. AwsDevice pulumi.StringOutput `pulumi:"awsDevice"` // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"` // The authentication key for BGP configuration. BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"` // The ID of the BGP peer. BgpPeerId pulumi.StringOutput `pulumi:"bgpPeerId"` // The Up/Down state of the BGP peer. BgpStatus pulumi.StringOutput `pulumi:"bgpStatus"` // The IPv4 CIDR destination address to which Amazon should send traffic. // Required for IPv4 BGP peers on public virtual interfaces. CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"` // The ID of the Direct Connect virtual interface on which to create the BGP peer. VirtualInterfaceId pulumi.StringOutput `pulumi:"virtualInterfaceId"` }
Provides a Direct Connect BGP peer resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewBgpPeer(ctx, "peer", &directconnect.BgpPeerArgs{ VirtualInterfaceId: pulumi.Any(foo.Id), AddressFamily: pulumi.String("ipv6"), BgpAsn: pulumi.Int(65351), }) if err != nil { return err } return nil }) }
```
func GetBgpPeer ¶
func GetBgpPeer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BgpPeerState, opts ...pulumi.ResourceOption) (*BgpPeer, error)
GetBgpPeer gets an existing BgpPeer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBgpPeer ¶
func NewBgpPeer(ctx *pulumi.Context, name string, args *BgpPeerArgs, opts ...pulumi.ResourceOption) (*BgpPeer, error)
NewBgpPeer registers a new resource with the given unique name, arguments, and options.
func (*BgpPeer) ElementType ¶
func (*BgpPeer) ToBgpPeerOutput ¶
func (i *BgpPeer) ToBgpPeerOutput() BgpPeerOutput
func (*BgpPeer) ToBgpPeerOutputWithContext ¶
func (i *BgpPeer) ToBgpPeerOutputWithContext(ctx context.Context) BgpPeerOutput
type BgpPeerArgs ¶
type BgpPeerArgs struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringInput // The IPv4 CIDR address to use to send traffic to Amazon. // Required for IPv4 BGP peers on public virtual interfaces. AmazonAddress pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The IPv4 CIDR destination address to which Amazon should send traffic. // Required for IPv4 BGP peers on public virtual interfaces. CustomerAddress pulumi.StringPtrInput // The ID of the Direct Connect virtual interface on which to create the BGP peer. VirtualInterfaceId pulumi.StringInput }
The set of arguments for constructing a BgpPeer resource.
func (BgpPeerArgs) ElementType ¶
func (BgpPeerArgs) ElementType() reflect.Type
type BgpPeerArray ¶
type BgpPeerArray []BgpPeerInput
func (BgpPeerArray) ElementType ¶
func (BgpPeerArray) ElementType() reflect.Type
func (BgpPeerArray) ToBgpPeerArrayOutput ¶
func (i BgpPeerArray) ToBgpPeerArrayOutput() BgpPeerArrayOutput
func (BgpPeerArray) ToBgpPeerArrayOutputWithContext ¶
func (i BgpPeerArray) ToBgpPeerArrayOutputWithContext(ctx context.Context) BgpPeerArrayOutput
type BgpPeerArrayInput ¶
type BgpPeerArrayInput interface { pulumi.Input ToBgpPeerArrayOutput() BgpPeerArrayOutput ToBgpPeerArrayOutputWithContext(context.Context) BgpPeerArrayOutput }
BgpPeerArrayInput is an input type that accepts BgpPeerArray and BgpPeerArrayOutput values. You can construct a concrete instance of `BgpPeerArrayInput` via:
BgpPeerArray{ BgpPeerArgs{...} }
type BgpPeerArrayOutput ¶
type BgpPeerArrayOutput struct{ *pulumi.OutputState }
func (BgpPeerArrayOutput) ElementType ¶
func (BgpPeerArrayOutput) ElementType() reflect.Type
func (BgpPeerArrayOutput) Index ¶
func (o BgpPeerArrayOutput) Index(i pulumi.IntInput) BgpPeerOutput
func (BgpPeerArrayOutput) ToBgpPeerArrayOutput ¶
func (o BgpPeerArrayOutput) ToBgpPeerArrayOutput() BgpPeerArrayOutput
func (BgpPeerArrayOutput) ToBgpPeerArrayOutputWithContext ¶
func (o BgpPeerArrayOutput) ToBgpPeerArrayOutputWithContext(ctx context.Context) BgpPeerArrayOutput
type BgpPeerInput ¶
type BgpPeerInput interface { pulumi.Input ToBgpPeerOutput() BgpPeerOutput ToBgpPeerOutputWithContext(ctx context.Context) BgpPeerOutput }
type BgpPeerMap ¶
type BgpPeerMap map[string]BgpPeerInput
func (BgpPeerMap) ElementType ¶
func (BgpPeerMap) ElementType() reflect.Type
func (BgpPeerMap) ToBgpPeerMapOutput ¶
func (i BgpPeerMap) ToBgpPeerMapOutput() BgpPeerMapOutput
func (BgpPeerMap) ToBgpPeerMapOutputWithContext ¶
func (i BgpPeerMap) ToBgpPeerMapOutputWithContext(ctx context.Context) BgpPeerMapOutput
type BgpPeerMapInput ¶
type BgpPeerMapInput interface { pulumi.Input ToBgpPeerMapOutput() BgpPeerMapOutput ToBgpPeerMapOutputWithContext(context.Context) BgpPeerMapOutput }
BgpPeerMapInput is an input type that accepts BgpPeerMap and BgpPeerMapOutput values. You can construct a concrete instance of `BgpPeerMapInput` via:
BgpPeerMap{ "key": BgpPeerArgs{...} }
type BgpPeerMapOutput ¶
type BgpPeerMapOutput struct{ *pulumi.OutputState }
func (BgpPeerMapOutput) ElementType ¶
func (BgpPeerMapOutput) ElementType() reflect.Type
func (BgpPeerMapOutput) MapIndex ¶
func (o BgpPeerMapOutput) MapIndex(k pulumi.StringInput) BgpPeerOutput
func (BgpPeerMapOutput) ToBgpPeerMapOutput ¶
func (o BgpPeerMapOutput) ToBgpPeerMapOutput() BgpPeerMapOutput
func (BgpPeerMapOutput) ToBgpPeerMapOutputWithContext ¶
func (o BgpPeerMapOutput) ToBgpPeerMapOutputWithContext(ctx context.Context) BgpPeerMapOutput
type BgpPeerOutput ¶
type BgpPeerOutput struct{ *pulumi.OutputState }
func (BgpPeerOutput) AddressFamily ¶
func (o BgpPeerOutput) AddressFamily() pulumi.StringOutput
The address family for the BGP peer. ` ipv4 ` or `ipv6`.
func (BgpPeerOutput) AmazonAddress ¶
func (o BgpPeerOutput) AmazonAddress() pulumi.StringOutput
The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers on public virtual interfaces.
func (BgpPeerOutput) AwsDevice ¶
func (o BgpPeerOutput) AwsDevice() pulumi.StringOutput
The Direct Connect endpoint on which the BGP peer terminates.
func (BgpPeerOutput) BgpAsn ¶
func (o BgpPeerOutput) BgpAsn() pulumi.IntOutput
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
func (BgpPeerOutput) BgpAuthKey ¶
func (o BgpPeerOutput) BgpAuthKey() pulumi.StringOutput
The authentication key for BGP configuration.
func (BgpPeerOutput) BgpPeerId ¶
func (o BgpPeerOutput) BgpPeerId() pulumi.StringOutput
The ID of the BGP peer.
func (BgpPeerOutput) BgpStatus ¶
func (o BgpPeerOutput) BgpStatus() pulumi.StringOutput
The Up/Down state of the BGP peer.
func (BgpPeerOutput) CustomerAddress ¶
func (o BgpPeerOutput) CustomerAddress() pulumi.StringOutput
The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers on public virtual interfaces.
func (BgpPeerOutput) ElementType ¶
func (BgpPeerOutput) ElementType() reflect.Type
func (BgpPeerOutput) ToBgpPeerOutput ¶
func (o BgpPeerOutput) ToBgpPeerOutput() BgpPeerOutput
func (BgpPeerOutput) ToBgpPeerOutputWithContext ¶
func (o BgpPeerOutput) ToBgpPeerOutputWithContext(ctx context.Context) BgpPeerOutput
func (BgpPeerOutput) VirtualInterfaceId ¶
func (o BgpPeerOutput) VirtualInterfaceId() pulumi.StringOutput
The ID of the Direct Connect virtual interface on which to create the BGP peer.
type BgpPeerState ¶
type BgpPeerState struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringPtrInput // The IPv4 CIDR address to use to send traffic to Amazon. // Required for IPv4 BGP peers on public virtual interfaces. AmazonAddress pulumi.StringPtrInput // The Direct Connect endpoint on which the BGP peer terminates. AwsDevice pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntPtrInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the BGP peer. BgpPeerId pulumi.StringPtrInput // The Up/Down state of the BGP peer. BgpStatus pulumi.StringPtrInput // The IPv4 CIDR destination address to which Amazon should send traffic. // Required for IPv4 BGP peers on public virtual interfaces. CustomerAddress pulumi.StringPtrInput // The ID of the Direct Connect virtual interface on which to create the BGP peer. VirtualInterfaceId pulumi.StringPtrInput }
func (BgpPeerState) ElementType ¶
func (BgpPeerState) ElementType() reflect.Type
type Connection ¶
type Connection struct { pulumi.CustomResourceState // The ARN of the connection. Arn pulumi.StringOutput `pulumi:"arn"` // The Direct Connect endpoint on which the physical connection terminates. AwsDevice pulumi.StringOutput `pulumi:"awsDevice"` // The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive. Bandwidth pulumi.StringOutput `pulumi:"bandwidth"` // The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `noEncrypt`, `shouldEncrypt`, and `mustEncrypt`. EncryptionMode pulumi.StringOutput `pulumi:"encryptionMode"` // Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6). HasLogicalRedundancy pulumi.StringOutput `pulumi:"hasLogicalRedundancy"` // Boolean value representing if jumbo frames have been enabled for this connection. JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"` // The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`. Location pulumi.StringOutput `pulumi:"location"` // Boolean value indicating whether the connection supports MAC Security (MACsec). MacsecCapable pulumi.BoolOutput `pulumi:"macsecCapable"` // The name of the connection. Name pulumi.StringOutput `pulumi:"name"` // The ID of the AWS account that owns the connection. OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"` // The name of the AWS Direct Connect service provider associated with the connection. PartnerName pulumi.StringOutput `pulumi:"partnerName"` // The MAC Security (MACsec) port link status of the connection. PortEncryptionStatus pulumi.StringOutput `pulumi:"portEncryptionStatus"` // The name of the service provider associated with the connection. ProviderName pulumi.StringOutput `pulumi:"providerName"` // Boolean value indicating whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for more information about MAC Security (MACsec) prerequisites. Default value: `false`. // // > **NOTE:** Changing the value of `requestMacsec` will cause the resource to be destroyed and re-created. RequestMacsec pulumi.BoolPtrOutput `pulumi:"requestMacsec"` // Set to true if you do not wish the connection to be deleted at destroy time, and instead just removed from the state. SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The VLAN ID. VlanId pulumi.IntOutput `pulumi:"vlanId"` }
Provides a Connection of Direct Connect.
## Example Usage ### Create a connection
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewConnection(ctx, "hoge", &directconnect.ConnectionArgs{ Name: pulumi.String("tf-dx-connection"), Bandwidth: pulumi.String("1Gbps"), Location: pulumi.String("EqDC2"), }) if err != nil { return err } return nil }) }
``` ### Request a MACsec-capable connection
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewConnection(ctx, "example", &directconnect.ConnectionArgs{ Name: pulumi.String("tf-dx-connection"), Bandwidth: pulumi.String("10Gbps"), Location: pulumi.String("EqDA2"), RequestMacsec: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
``` ### Configure encryption mode for MACsec-capable connections
> **NOTE:** You can only specify the `encryptionMode` argument once the connection is in an `Available` state.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewConnection(ctx, "example", &directconnect.ConnectionArgs{ Name: pulumi.String("tf-dx-connection"), Bandwidth: pulumi.String("10Gbps"), Location: pulumi.String("EqDC2"), RequestMacsec: pulumi.Bool(true), EncryptionMode: pulumi.String("must_encrypt"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect connections using the connection `id`. For example:
```sh
$ pulumi import aws:directconnect/connection:Connection test_connection dxcon-ffre0ec3
```
func GetConnection ¶
func GetConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)
GetConnection gets an existing Connection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConnection ¶
func NewConnection(ctx *pulumi.Context, name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)
NewConnection registers a new resource with the given unique name, arguments, and options.
func (*Connection) ElementType ¶
func (*Connection) ElementType() reflect.Type
func (*Connection) ToConnectionOutput ¶
func (i *Connection) ToConnectionOutput() ConnectionOutput
func (*Connection) ToConnectionOutputWithContext ¶
func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
type ConnectionArgs ¶
type ConnectionArgs struct { // The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive. Bandwidth pulumi.StringInput // The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `noEncrypt`, `shouldEncrypt`, and `mustEncrypt`. EncryptionMode pulumi.StringPtrInput // The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`. Location pulumi.StringInput // The name of the connection. Name pulumi.StringPtrInput // The name of the service provider associated with the connection. ProviderName pulumi.StringPtrInput // Boolean value indicating whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for more information about MAC Security (MACsec) prerequisites. Default value: `false`. // // > **NOTE:** Changing the value of `requestMacsec` will cause the resource to be destroyed and re-created. RequestMacsec pulumi.BoolPtrInput // Set to true if you do not wish the connection to be deleted at destroy time, and instead just removed from the state. SkipDestroy pulumi.BoolPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Connection resource.
func (ConnectionArgs) ElementType ¶
func (ConnectionArgs) ElementType() reflect.Type
type ConnectionArray ¶
type ConnectionArray []ConnectionInput
func (ConnectionArray) ElementType ¶
func (ConnectionArray) ElementType() reflect.Type
func (ConnectionArray) ToConnectionArrayOutput ¶
func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput
func (ConnectionArray) ToConnectionArrayOutputWithContext ¶
func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
type ConnectionArrayInput ¶
type ConnectionArrayInput interface { pulumi.Input ToConnectionArrayOutput() ConnectionArrayOutput ToConnectionArrayOutputWithContext(context.Context) ConnectionArrayOutput }
ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. You can construct a concrete instance of `ConnectionArrayInput` via:
ConnectionArray{ ConnectionArgs{...} }
type ConnectionArrayOutput ¶
type ConnectionArrayOutput struct{ *pulumi.OutputState }
func (ConnectionArrayOutput) ElementType ¶
func (ConnectionArrayOutput) ElementType() reflect.Type
func (ConnectionArrayOutput) Index ¶
func (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
func (ConnectionArrayOutput) ToConnectionArrayOutput ¶
func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput
func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext ¶
func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
type ConnectionAssociation ¶
type ConnectionAssociation struct { pulumi.CustomResourceState // The ID of the connection. ConnectionId pulumi.StringOutput `pulumi:"connectionId"` // The ID of the LAG with which to associate the connection. LagId pulumi.StringOutput `pulumi:"lagId"` }
Associates a Direct Connect Connection with a LAG.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := directconnect.NewConnection(ctx, "example", &directconnect.ConnectionArgs{ Name: pulumi.String("example"), Bandwidth: pulumi.String("1Gbps"), Location: pulumi.String("EqSe2-EQ"), }) if err != nil { return err } exampleLinkAggregationGroup, err := directconnect.NewLinkAggregationGroup(ctx, "example", &directconnect.LinkAggregationGroupArgs{ Name: pulumi.String("example"), ConnectionsBandwidth: pulumi.String("1Gbps"), Location: pulumi.String("EqSe2-EQ"), }) if err != nil { return err } _, err = directconnect.NewConnectionAssociation(ctx, "example", &directconnect.ConnectionAssociationArgs{ ConnectionId: example.ID(), LagId: exampleLinkAggregationGroup.ID(), }) if err != nil { return err } return nil }) }
```
func GetConnectionAssociation ¶
func GetConnectionAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionAssociationState, opts ...pulumi.ResourceOption) (*ConnectionAssociation, error)
GetConnectionAssociation gets an existing ConnectionAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConnectionAssociation ¶
func NewConnectionAssociation(ctx *pulumi.Context, name string, args *ConnectionAssociationArgs, opts ...pulumi.ResourceOption) (*ConnectionAssociation, error)
NewConnectionAssociation registers a new resource with the given unique name, arguments, and options.
func (*ConnectionAssociation) ElementType ¶
func (*ConnectionAssociation) ElementType() reflect.Type
func (*ConnectionAssociation) ToConnectionAssociationOutput ¶
func (i *ConnectionAssociation) ToConnectionAssociationOutput() ConnectionAssociationOutput
func (*ConnectionAssociation) ToConnectionAssociationOutputWithContext ¶
func (i *ConnectionAssociation) ToConnectionAssociationOutputWithContext(ctx context.Context) ConnectionAssociationOutput
type ConnectionAssociationArgs ¶
type ConnectionAssociationArgs struct { // The ID of the connection. ConnectionId pulumi.StringInput // The ID of the LAG with which to associate the connection. LagId pulumi.StringInput }
The set of arguments for constructing a ConnectionAssociation resource.
func (ConnectionAssociationArgs) ElementType ¶
func (ConnectionAssociationArgs) ElementType() reflect.Type
type ConnectionAssociationArray ¶
type ConnectionAssociationArray []ConnectionAssociationInput
func (ConnectionAssociationArray) ElementType ¶
func (ConnectionAssociationArray) ElementType() reflect.Type
func (ConnectionAssociationArray) ToConnectionAssociationArrayOutput ¶
func (i ConnectionAssociationArray) ToConnectionAssociationArrayOutput() ConnectionAssociationArrayOutput
func (ConnectionAssociationArray) ToConnectionAssociationArrayOutputWithContext ¶
func (i ConnectionAssociationArray) ToConnectionAssociationArrayOutputWithContext(ctx context.Context) ConnectionAssociationArrayOutput
type ConnectionAssociationArrayInput ¶
type ConnectionAssociationArrayInput interface { pulumi.Input ToConnectionAssociationArrayOutput() ConnectionAssociationArrayOutput ToConnectionAssociationArrayOutputWithContext(context.Context) ConnectionAssociationArrayOutput }
ConnectionAssociationArrayInput is an input type that accepts ConnectionAssociationArray and ConnectionAssociationArrayOutput values. You can construct a concrete instance of `ConnectionAssociationArrayInput` via:
ConnectionAssociationArray{ ConnectionAssociationArgs{...} }
type ConnectionAssociationArrayOutput ¶
type ConnectionAssociationArrayOutput struct{ *pulumi.OutputState }
func (ConnectionAssociationArrayOutput) ElementType ¶
func (ConnectionAssociationArrayOutput) ElementType() reflect.Type
func (ConnectionAssociationArrayOutput) Index ¶
func (o ConnectionAssociationArrayOutput) Index(i pulumi.IntInput) ConnectionAssociationOutput
func (ConnectionAssociationArrayOutput) ToConnectionAssociationArrayOutput ¶
func (o ConnectionAssociationArrayOutput) ToConnectionAssociationArrayOutput() ConnectionAssociationArrayOutput
func (ConnectionAssociationArrayOutput) ToConnectionAssociationArrayOutputWithContext ¶
func (o ConnectionAssociationArrayOutput) ToConnectionAssociationArrayOutputWithContext(ctx context.Context) ConnectionAssociationArrayOutput
type ConnectionAssociationInput ¶
type ConnectionAssociationInput interface { pulumi.Input ToConnectionAssociationOutput() ConnectionAssociationOutput ToConnectionAssociationOutputWithContext(ctx context.Context) ConnectionAssociationOutput }
type ConnectionAssociationMap ¶
type ConnectionAssociationMap map[string]ConnectionAssociationInput
func (ConnectionAssociationMap) ElementType ¶
func (ConnectionAssociationMap) ElementType() reflect.Type
func (ConnectionAssociationMap) ToConnectionAssociationMapOutput ¶
func (i ConnectionAssociationMap) ToConnectionAssociationMapOutput() ConnectionAssociationMapOutput
func (ConnectionAssociationMap) ToConnectionAssociationMapOutputWithContext ¶
func (i ConnectionAssociationMap) ToConnectionAssociationMapOutputWithContext(ctx context.Context) ConnectionAssociationMapOutput
type ConnectionAssociationMapInput ¶
type ConnectionAssociationMapInput interface { pulumi.Input ToConnectionAssociationMapOutput() ConnectionAssociationMapOutput ToConnectionAssociationMapOutputWithContext(context.Context) ConnectionAssociationMapOutput }
ConnectionAssociationMapInput is an input type that accepts ConnectionAssociationMap and ConnectionAssociationMapOutput values. You can construct a concrete instance of `ConnectionAssociationMapInput` via:
ConnectionAssociationMap{ "key": ConnectionAssociationArgs{...} }
type ConnectionAssociationMapOutput ¶
type ConnectionAssociationMapOutput struct{ *pulumi.OutputState }
func (ConnectionAssociationMapOutput) ElementType ¶
func (ConnectionAssociationMapOutput) ElementType() reflect.Type
func (ConnectionAssociationMapOutput) MapIndex ¶
func (o ConnectionAssociationMapOutput) MapIndex(k pulumi.StringInput) ConnectionAssociationOutput
func (ConnectionAssociationMapOutput) ToConnectionAssociationMapOutput ¶
func (o ConnectionAssociationMapOutput) ToConnectionAssociationMapOutput() ConnectionAssociationMapOutput
func (ConnectionAssociationMapOutput) ToConnectionAssociationMapOutputWithContext ¶
func (o ConnectionAssociationMapOutput) ToConnectionAssociationMapOutputWithContext(ctx context.Context) ConnectionAssociationMapOutput
type ConnectionAssociationOutput ¶
type ConnectionAssociationOutput struct{ *pulumi.OutputState }
func (ConnectionAssociationOutput) ConnectionId ¶
func (o ConnectionAssociationOutput) ConnectionId() pulumi.StringOutput
The ID of the connection.
func (ConnectionAssociationOutput) ElementType ¶
func (ConnectionAssociationOutput) ElementType() reflect.Type
func (ConnectionAssociationOutput) LagId ¶
func (o ConnectionAssociationOutput) LagId() pulumi.StringOutput
The ID of the LAG with which to associate the connection.
func (ConnectionAssociationOutput) ToConnectionAssociationOutput ¶
func (o ConnectionAssociationOutput) ToConnectionAssociationOutput() ConnectionAssociationOutput
func (ConnectionAssociationOutput) ToConnectionAssociationOutputWithContext ¶
func (o ConnectionAssociationOutput) ToConnectionAssociationOutputWithContext(ctx context.Context) ConnectionAssociationOutput
type ConnectionAssociationState ¶
type ConnectionAssociationState struct { // The ID of the connection. ConnectionId pulumi.StringPtrInput // The ID of the LAG with which to associate the connection. LagId pulumi.StringPtrInput }
func (ConnectionAssociationState) ElementType ¶
func (ConnectionAssociationState) ElementType() reflect.Type
type ConnectionConfirmation ¶
type ConnectionConfirmation struct { pulumi.CustomResourceState // The ID of the hosted connection. ConnectionId pulumi.StringOutput `pulumi:"connectionId"` }
Provides a confirmation of the creation of the specified hosted connection on an interconnect.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewConnectionConfirmation(ctx, "confirmation", &directconnect.ConnectionConfirmationArgs{ ConnectionId: pulumi.String("dxcon-ffabc123"), }) if err != nil { return err } return nil }) }
```
func GetConnectionConfirmation ¶
func GetConnectionConfirmation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionConfirmationState, opts ...pulumi.ResourceOption) (*ConnectionConfirmation, error)
GetConnectionConfirmation gets an existing ConnectionConfirmation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConnectionConfirmation ¶
func NewConnectionConfirmation(ctx *pulumi.Context, name string, args *ConnectionConfirmationArgs, opts ...pulumi.ResourceOption) (*ConnectionConfirmation, error)
NewConnectionConfirmation registers a new resource with the given unique name, arguments, and options.
func (*ConnectionConfirmation) ElementType ¶
func (*ConnectionConfirmation) ElementType() reflect.Type
func (*ConnectionConfirmation) ToConnectionConfirmationOutput ¶
func (i *ConnectionConfirmation) ToConnectionConfirmationOutput() ConnectionConfirmationOutput
func (*ConnectionConfirmation) ToConnectionConfirmationOutputWithContext ¶
func (i *ConnectionConfirmation) ToConnectionConfirmationOutputWithContext(ctx context.Context) ConnectionConfirmationOutput
type ConnectionConfirmationArgs ¶
type ConnectionConfirmationArgs struct { // The ID of the hosted connection. ConnectionId pulumi.StringInput }
The set of arguments for constructing a ConnectionConfirmation resource.
func (ConnectionConfirmationArgs) ElementType ¶
func (ConnectionConfirmationArgs) ElementType() reflect.Type
type ConnectionConfirmationArray ¶
type ConnectionConfirmationArray []ConnectionConfirmationInput
func (ConnectionConfirmationArray) ElementType ¶
func (ConnectionConfirmationArray) ElementType() reflect.Type
func (ConnectionConfirmationArray) ToConnectionConfirmationArrayOutput ¶
func (i ConnectionConfirmationArray) ToConnectionConfirmationArrayOutput() ConnectionConfirmationArrayOutput
func (ConnectionConfirmationArray) ToConnectionConfirmationArrayOutputWithContext ¶
func (i ConnectionConfirmationArray) ToConnectionConfirmationArrayOutputWithContext(ctx context.Context) ConnectionConfirmationArrayOutput
type ConnectionConfirmationArrayInput ¶
type ConnectionConfirmationArrayInput interface { pulumi.Input ToConnectionConfirmationArrayOutput() ConnectionConfirmationArrayOutput ToConnectionConfirmationArrayOutputWithContext(context.Context) ConnectionConfirmationArrayOutput }
ConnectionConfirmationArrayInput is an input type that accepts ConnectionConfirmationArray and ConnectionConfirmationArrayOutput values. You can construct a concrete instance of `ConnectionConfirmationArrayInput` via:
ConnectionConfirmationArray{ ConnectionConfirmationArgs{...} }
type ConnectionConfirmationArrayOutput ¶
type ConnectionConfirmationArrayOutput struct{ *pulumi.OutputState }
func (ConnectionConfirmationArrayOutput) ElementType ¶
func (ConnectionConfirmationArrayOutput) ElementType() reflect.Type
func (ConnectionConfirmationArrayOutput) Index ¶
func (o ConnectionConfirmationArrayOutput) Index(i pulumi.IntInput) ConnectionConfirmationOutput
func (ConnectionConfirmationArrayOutput) ToConnectionConfirmationArrayOutput ¶
func (o ConnectionConfirmationArrayOutput) ToConnectionConfirmationArrayOutput() ConnectionConfirmationArrayOutput
func (ConnectionConfirmationArrayOutput) ToConnectionConfirmationArrayOutputWithContext ¶
func (o ConnectionConfirmationArrayOutput) ToConnectionConfirmationArrayOutputWithContext(ctx context.Context) ConnectionConfirmationArrayOutput
type ConnectionConfirmationInput ¶
type ConnectionConfirmationInput interface { pulumi.Input ToConnectionConfirmationOutput() ConnectionConfirmationOutput ToConnectionConfirmationOutputWithContext(ctx context.Context) ConnectionConfirmationOutput }
type ConnectionConfirmationMap ¶
type ConnectionConfirmationMap map[string]ConnectionConfirmationInput
func (ConnectionConfirmationMap) ElementType ¶
func (ConnectionConfirmationMap) ElementType() reflect.Type
func (ConnectionConfirmationMap) ToConnectionConfirmationMapOutput ¶
func (i ConnectionConfirmationMap) ToConnectionConfirmationMapOutput() ConnectionConfirmationMapOutput
func (ConnectionConfirmationMap) ToConnectionConfirmationMapOutputWithContext ¶
func (i ConnectionConfirmationMap) ToConnectionConfirmationMapOutputWithContext(ctx context.Context) ConnectionConfirmationMapOutput
type ConnectionConfirmationMapInput ¶
type ConnectionConfirmationMapInput interface { pulumi.Input ToConnectionConfirmationMapOutput() ConnectionConfirmationMapOutput ToConnectionConfirmationMapOutputWithContext(context.Context) ConnectionConfirmationMapOutput }
ConnectionConfirmationMapInput is an input type that accepts ConnectionConfirmationMap and ConnectionConfirmationMapOutput values. You can construct a concrete instance of `ConnectionConfirmationMapInput` via:
ConnectionConfirmationMap{ "key": ConnectionConfirmationArgs{...} }
type ConnectionConfirmationMapOutput ¶
type ConnectionConfirmationMapOutput struct{ *pulumi.OutputState }
func (ConnectionConfirmationMapOutput) ElementType ¶
func (ConnectionConfirmationMapOutput) ElementType() reflect.Type
func (ConnectionConfirmationMapOutput) MapIndex ¶
func (o ConnectionConfirmationMapOutput) MapIndex(k pulumi.StringInput) ConnectionConfirmationOutput
func (ConnectionConfirmationMapOutput) ToConnectionConfirmationMapOutput ¶
func (o ConnectionConfirmationMapOutput) ToConnectionConfirmationMapOutput() ConnectionConfirmationMapOutput
func (ConnectionConfirmationMapOutput) ToConnectionConfirmationMapOutputWithContext ¶
func (o ConnectionConfirmationMapOutput) ToConnectionConfirmationMapOutputWithContext(ctx context.Context) ConnectionConfirmationMapOutput
type ConnectionConfirmationOutput ¶
type ConnectionConfirmationOutput struct{ *pulumi.OutputState }
func (ConnectionConfirmationOutput) ConnectionId ¶
func (o ConnectionConfirmationOutput) ConnectionId() pulumi.StringOutput
The ID of the hosted connection.
func (ConnectionConfirmationOutput) ElementType ¶
func (ConnectionConfirmationOutput) ElementType() reflect.Type
func (ConnectionConfirmationOutput) ToConnectionConfirmationOutput ¶
func (o ConnectionConfirmationOutput) ToConnectionConfirmationOutput() ConnectionConfirmationOutput
func (ConnectionConfirmationOutput) ToConnectionConfirmationOutputWithContext ¶
func (o ConnectionConfirmationOutput) ToConnectionConfirmationOutputWithContext(ctx context.Context) ConnectionConfirmationOutput
type ConnectionConfirmationState ¶
type ConnectionConfirmationState struct { // The ID of the hosted connection. ConnectionId pulumi.StringPtrInput }
func (ConnectionConfirmationState) ElementType ¶
func (ConnectionConfirmationState) ElementType() reflect.Type
type ConnectionInput ¶
type ConnectionInput interface { pulumi.Input ToConnectionOutput() ConnectionOutput ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput }
type ConnectionMap ¶
type ConnectionMap map[string]ConnectionInput
func (ConnectionMap) ElementType ¶
func (ConnectionMap) ElementType() reflect.Type
func (ConnectionMap) ToConnectionMapOutput ¶
func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput
func (ConnectionMap) ToConnectionMapOutputWithContext ¶
func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
type ConnectionMapInput ¶
type ConnectionMapInput interface { pulumi.Input ToConnectionMapOutput() ConnectionMapOutput ToConnectionMapOutputWithContext(context.Context) ConnectionMapOutput }
ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. You can construct a concrete instance of `ConnectionMapInput` via:
ConnectionMap{ "key": ConnectionArgs{...} }
type ConnectionMapOutput ¶
type ConnectionMapOutput struct{ *pulumi.OutputState }
func (ConnectionMapOutput) ElementType ¶
func (ConnectionMapOutput) ElementType() reflect.Type
func (ConnectionMapOutput) MapIndex ¶
func (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
func (ConnectionMapOutput) ToConnectionMapOutput ¶
func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput
func (ConnectionMapOutput) ToConnectionMapOutputWithContext ¶
func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
type ConnectionOutput ¶
type ConnectionOutput struct{ *pulumi.OutputState }
func (ConnectionOutput) Arn ¶
func (o ConnectionOutput) Arn() pulumi.StringOutput
The ARN of the connection.
func (ConnectionOutput) AwsDevice ¶
func (o ConnectionOutput) AwsDevice() pulumi.StringOutput
The Direct Connect endpoint on which the physical connection terminates.
func (ConnectionOutput) Bandwidth ¶
func (o ConnectionOutput) Bandwidth() pulumi.StringOutput
The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
func (ConnectionOutput) ElementType ¶
func (ConnectionOutput) ElementType() reflect.Type
func (ConnectionOutput) EncryptionMode ¶
func (o ConnectionOutput) EncryptionMode() pulumi.StringOutput
The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `noEncrypt`, `shouldEncrypt`, and `mustEncrypt`.
func (ConnectionOutput) HasLogicalRedundancy ¶
func (o ConnectionOutput) HasLogicalRedundancy() pulumi.StringOutput
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
func (ConnectionOutput) JumboFrameCapable ¶
func (o ConnectionOutput) JumboFrameCapable() pulumi.BoolOutput
Boolean value representing if jumbo frames have been enabled for this connection.
func (ConnectionOutput) Location ¶
func (o ConnectionOutput) Location() pulumi.StringOutput
The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
func (ConnectionOutput) MacsecCapable ¶
func (o ConnectionOutput) MacsecCapable() pulumi.BoolOutput
Boolean value indicating whether the connection supports MAC Security (MACsec).
func (ConnectionOutput) Name ¶
func (o ConnectionOutput) Name() pulumi.StringOutput
The name of the connection.
func (ConnectionOutput) OwnerAccountId ¶
func (o ConnectionOutput) OwnerAccountId() pulumi.StringOutput
The ID of the AWS account that owns the connection.
func (ConnectionOutput) PartnerName ¶
func (o ConnectionOutput) PartnerName() pulumi.StringOutput
The name of the AWS Direct Connect service provider associated with the connection.
func (ConnectionOutput) PortEncryptionStatus ¶
func (o ConnectionOutput) PortEncryptionStatus() pulumi.StringOutput
The MAC Security (MACsec) port link status of the connection.
func (ConnectionOutput) ProviderName ¶
func (o ConnectionOutput) ProviderName() pulumi.StringOutput
The name of the service provider associated with the connection.
func (ConnectionOutput) RequestMacsec ¶
func (o ConnectionOutput) RequestMacsec() pulumi.BoolPtrOutput
Boolean value indicating whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for more information about MAC Security (MACsec) prerequisites. Default value: `false`.
> **NOTE:** Changing the value of `requestMacsec` will cause the resource to be destroyed and re-created.
func (ConnectionOutput) SkipDestroy ¶
func (o ConnectionOutput) SkipDestroy() pulumi.BoolPtrOutput
Set to true if you do not wish the connection to be deleted at destroy time, and instead just removed from the state.
func (ConnectionOutput) Tags ¶
func (o ConnectionOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ConnectionOutput) TagsAll
deprecated
func (o ConnectionOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (ConnectionOutput) ToConnectionOutput ¶
func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
func (ConnectionOutput) ToConnectionOutputWithContext ¶
func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
type ConnectionState ¶
type ConnectionState struct { // The ARN of the connection. Arn pulumi.StringPtrInput // The Direct Connect endpoint on which the physical connection terminates. AwsDevice pulumi.StringPtrInput // The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive. Bandwidth pulumi.StringPtrInput // The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `noEncrypt`, `shouldEncrypt`, and `mustEncrypt`. EncryptionMode pulumi.StringPtrInput // Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6). HasLogicalRedundancy pulumi.StringPtrInput // Boolean value representing if jumbo frames have been enabled for this connection. JumboFrameCapable pulumi.BoolPtrInput // The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`. Location pulumi.StringPtrInput // Boolean value indicating whether the connection supports MAC Security (MACsec). MacsecCapable pulumi.BoolPtrInput // The name of the connection. Name pulumi.StringPtrInput // The ID of the AWS account that owns the connection. OwnerAccountId pulumi.StringPtrInput // The name of the AWS Direct Connect service provider associated with the connection. PartnerName pulumi.StringPtrInput // The MAC Security (MACsec) port link status of the connection. PortEncryptionStatus pulumi.StringPtrInput // The name of the service provider associated with the connection. ProviderName pulumi.StringPtrInput // Boolean value indicating whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for more information about MAC Security (MACsec) prerequisites. Default value: `false`. // // > **NOTE:** Changing the value of `requestMacsec` will cause the resource to be destroyed and re-created. RequestMacsec pulumi.BoolPtrInput // Set to true if you do not wish the connection to be deleted at destroy time, and instead just removed from the state. SkipDestroy pulumi.BoolPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The VLAN ID. VlanId pulumi.IntPtrInput }
func (ConnectionState) ElementType ¶
func (ConnectionState) ElementType() reflect.Type
type Gateway ¶
type Gateway struct { pulumi.CustomResourceState // The ASN to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"` // The name of the connection. Name pulumi.StringOutput `pulumi:"name"` // AWS Account ID of the gateway. OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"` }
Provides a Direct Connect Gateway.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewGateway(ctx, "example", &directconnect.GatewayArgs{ Name: pulumi.String("tf-dxg-example"), AmazonSideAsn: pulumi.String("64512"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect Gateways using the gateway `id`. For example:
```sh
$ pulumi import aws:directconnect/gateway:Gateway test abcd1234-dcba-5678-be23-cdef9876ab45
```
func GetGateway ¶
func GetGateway(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayState, opts ...pulumi.ResourceOption) (*Gateway, error)
GetGateway gets an existing Gateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGateway ¶
func NewGateway(ctx *pulumi.Context, name string, args *GatewayArgs, opts ...pulumi.ResourceOption) (*Gateway, error)
NewGateway registers a new resource with the given unique name, arguments, and options.
func (*Gateway) ElementType ¶
func (*Gateway) ToGatewayOutput ¶
func (i *Gateway) ToGatewayOutput() GatewayOutput
func (*Gateway) ToGatewayOutputWithContext ¶
func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
type GatewayArgs ¶
type GatewayArgs struct { // The ASN to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. AmazonSideAsn pulumi.StringInput // The name of the connection. Name pulumi.StringPtrInput }
The set of arguments for constructing a Gateway resource.
func (GatewayArgs) ElementType ¶
func (GatewayArgs) ElementType() reflect.Type
type GatewayArray ¶
type GatewayArray []GatewayInput
func (GatewayArray) ElementType ¶
func (GatewayArray) ElementType() reflect.Type
func (GatewayArray) ToGatewayArrayOutput ¶
func (i GatewayArray) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArray) ToGatewayArrayOutputWithContext ¶
func (i GatewayArray) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayArrayInput ¶
type GatewayArrayInput interface { pulumi.Input ToGatewayArrayOutput() GatewayArrayOutput ToGatewayArrayOutputWithContext(context.Context) GatewayArrayOutput }
GatewayArrayInput is an input type that accepts GatewayArray and GatewayArrayOutput values. You can construct a concrete instance of `GatewayArrayInput` via:
GatewayArray{ GatewayArgs{...} }
type GatewayArrayOutput ¶
type GatewayArrayOutput struct{ *pulumi.OutputState }
func (GatewayArrayOutput) ElementType ¶
func (GatewayArrayOutput) ElementType() reflect.Type
func (GatewayArrayOutput) Index ¶
func (o GatewayArrayOutput) Index(i pulumi.IntInput) GatewayOutput
func (GatewayArrayOutput) ToGatewayArrayOutput ¶
func (o GatewayArrayOutput) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArrayOutput) ToGatewayArrayOutputWithContext ¶
func (o GatewayArrayOutput) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayAssociation ¶
type GatewayAssociation struct { pulumi.CustomResourceState // VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. AllowedPrefixes pulumi.StringArrayOutput `pulumi:"allowedPrefixes"` // The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. // Used for single account Direct Connect gateway associations. AssociatedGatewayId pulumi.StringOutput `pulumi:"associatedGatewayId"` // The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. // Used for cross-account Direct Connect gateway associations. AssociatedGatewayOwnerAccountId pulumi.StringOutput `pulumi:"associatedGatewayOwnerAccountId"` // The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`. AssociatedGatewayType pulumi.StringOutput `pulumi:"associatedGatewayType"` // The ID of the Direct Connect gateway association. DxGatewayAssociationId pulumi.StringOutput `pulumi:"dxGatewayAssociationId"` // The ID of the Direct Connect gateway. DxGatewayId pulumi.StringOutput `pulumi:"dxGatewayId"` // The ID of the AWS account that owns the Direct Connect gateway. DxGatewayOwnerAccountId pulumi.StringOutput `pulumi:"dxGatewayOwnerAccountId"` // The ID of the Direct Connect gateway association proposal. // Used for cross-account Direct Connect gateway associations. ProposalId pulumi.StringPtrOutput `pulumi:"proposalId"` // Deprecated: use 'associated_gateway_id' argument instead VpnGatewayId pulumi.StringPtrOutput `pulumi:"vpnGatewayId"` }
Associates a Direct Connect Gateway with a VGW or transit gateway.
To create a cross-account association, create an `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 `directconnect.GatewayAssociation` resource with the `proposalId` and `associatedGatewayOwnerAccountId` attributes set.
## Example Usage ### VPN Gateway Association
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := directconnect.NewGateway(ctx, "example", &directconnect.GatewayArgs{ Name: pulumi.String("example"), AmazonSideAsn: pulumi.String("64512"), }) if err != nil { return err } exampleVpc, err := ec2.NewVpc(ctx, "example", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.255.255.0/28"), }) if err != nil { return err } exampleVpnGateway, err := ec2.NewVpnGateway(ctx, "example", &ec2.VpnGatewayArgs{ VpcId: exampleVpc.ID(), }) if err != nil { return err } _, err = directconnect.NewGatewayAssociation(ctx, "example", &directconnect.GatewayAssociationArgs{ DxGatewayId: example.ID(), AssociatedGatewayId: exampleVpnGateway.ID(), }) if err != nil { return err } return nil }) }
``` ### Transit Gateway Association
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := directconnect.NewGateway(ctx, "example", &directconnect.GatewayArgs{ Name: pulumi.String("example"), AmazonSideAsn: pulumi.String("64512"), }) if err != nil { return err } exampleTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, "example", nil) if err != nil { return err } _, err = directconnect.NewGatewayAssociation(ctx, "example", &directconnect.GatewayAssociationArgs{ DxGatewayId: example.ID(), AssociatedGatewayId: exampleTransitGateway.ID(), AllowedPrefixes: pulumi.StringArray{ pulumi.String("10.255.255.0/30"), pulumi.String("10.255.255.8/30"), }, }) if err != nil { return err } return nil }) }
``` ### Allowed Prefixes
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := directconnect.NewGateway(ctx, "example", &directconnect.GatewayArgs{ Name: pulumi.String("example"), AmazonSideAsn: pulumi.String("64512"), }) if err != nil { return err } exampleVpc, err := ec2.NewVpc(ctx, "example", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.255.255.0/28"), }) if err != nil { return err } exampleVpnGateway, err := ec2.NewVpnGateway(ctx, "example", &ec2.VpnGatewayArgs{ VpcId: exampleVpc.ID(), }) if err != nil { return err } _, err = directconnect.NewGatewayAssociation(ctx, "example", &directconnect.GatewayAssociationArgs{ DxGatewayId: example.ID(), AssociatedGatewayId: exampleVpnGateway.ID(), AllowedPrefixes: pulumi.StringArray{ pulumi.String("210.52.109.0/24"), pulumi.String("175.45.176.0/22"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect gateway associations using `dx_gateway_id` together with `associated_gateway_id`. For example:
```sh
$ pulumi import aws:directconnect/gatewayAssociation:GatewayAssociation example 345508c3-7215-4aef-9832-07c125d5bd0f/vgw-98765432
```
func GetGatewayAssociation ¶
func GetGatewayAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayAssociationState, opts ...pulumi.ResourceOption) (*GatewayAssociation, error)
GetGatewayAssociation gets an existing GatewayAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGatewayAssociation ¶
func NewGatewayAssociation(ctx *pulumi.Context, name string, args *GatewayAssociationArgs, opts ...pulumi.ResourceOption) (*GatewayAssociation, error)
NewGatewayAssociation registers a new resource with the given unique name, arguments, and options.
func (*GatewayAssociation) ElementType ¶
func (*GatewayAssociation) ElementType() reflect.Type
func (*GatewayAssociation) ToGatewayAssociationOutput ¶
func (i *GatewayAssociation) ToGatewayAssociationOutput() GatewayAssociationOutput
func (*GatewayAssociation) ToGatewayAssociationOutputWithContext ¶
func (i *GatewayAssociation) ToGatewayAssociationOutputWithContext(ctx context.Context) GatewayAssociationOutput
type GatewayAssociationArgs ¶
type GatewayAssociationArgs struct { // VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. AllowedPrefixes pulumi.StringArrayInput // The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. // Used for single account Direct Connect gateway associations. AssociatedGatewayId pulumi.StringPtrInput // The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. // Used for cross-account Direct Connect gateway associations. AssociatedGatewayOwnerAccountId pulumi.StringPtrInput // The ID of the Direct Connect gateway. DxGatewayId pulumi.StringInput // The ID of the Direct Connect gateway association proposal. // Used for cross-account Direct Connect gateway associations. ProposalId pulumi.StringPtrInput // Deprecated: use 'associated_gateway_id' argument instead VpnGatewayId pulumi.StringPtrInput }
The set of arguments for constructing a GatewayAssociation resource.
func (GatewayAssociationArgs) ElementType ¶
func (GatewayAssociationArgs) ElementType() reflect.Type
type GatewayAssociationArray ¶
type GatewayAssociationArray []GatewayAssociationInput
func (GatewayAssociationArray) ElementType ¶
func (GatewayAssociationArray) ElementType() reflect.Type
func (GatewayAssociationArray) ToGatewayAssociationArrayOutput ¶
func (i GatewayAssociationArray) ToGatewayAssociationArrayOutput() GatewayAssociationArrayOutput
func (GatewayAssociationArray) ToGatewayAssociationArrayOutputWithContext ¶
func (i GatewayAssociationArray) ToGatewayAssociationArrayOutputWithContext(ctx context.Context) GatewayAssociationArrayOutput
type GatewayAssociationArrayInput ¶
type GatewayAssociationArrayInput interface { pulumi.Input ToGatewayAssociationArrayOutput() GatewayAssociationArrayOutput ToGatewayAssociationArrayOutputWithContext(context.Context) GatewayAssociationArrayOutput }
GatewayAssociationArrayInput is an input type that accepts GatewayAssociationArray and GatewayAssociationArrayOutput values. You can construct a concrete instance of `GatewayAssociationArrayInput` via:
GatewayAssociationArray{ GatewayAssociationArgs{...} }
type GatewayAssociationArrayOutput ¶
type GatewayAssociationArrayOutput struct{ *pulumi.OutputState }
func (GatewayAssociationArrayOutput) ElementType ¶
func (GatewayAssociationArrayOutput) ElementType() reflect.Type
func (GatewayAssociationArrayOutput) Index ¶
func (o GatewayAssociationArrayOutput) Index(i pulumi.IntInput) GatewayAssociationOutput
func (GatewayAssociationArrayOutput) ToGatewayAssociationArrayOutput ¶
func (o GatewayAssociationArrayOutput) ToGatewayAssociationArrayOutput() GatewayAssociationArrayOutput
func (GatewayAssociationArrayOutput) ToGatewayAssociationArrayOutputWithContext ¶
func (o GatewayAssociationArrayOutput) ToGatewayAssociationArrayOutputWithContext(ctx context.Context) GatewayAssociationArrayOutput
type GatewayAssociationInput ¶
type GatewayAssociationInput interface { pulumi.Input ToGatewayAssociationOutput() GatewayAssociationOutput ToGatewayAssociationOutputWithContext(ctx context.Context) GatewayAssociationOutput }
type GatewayAssociationMap ¶
type GatewayAssociationMap map[string]GatewayAssociationInput
func (GatewayAssociationMap) ElementType ¶
func (GatewayAssociationMap) ElementType() reflect.Type
func (GatewayAssociationMap) ToGatewayAssociationMapOutput ¶
func (i GatewayAssociationMap) ToGatewayAssociationMapOutput() GatewayAssociationMapOutput
func (GatewayAssociationMap) ToGatewayAssociationMapOutputWithContext ¶
func (i GatewayAssociationMap) ToGatewayAssociationMapOutputWithContext(ctx context.Context) GatewayAssociationMapOutput
type GatewayAssociationMapInput ¶
type GatewayAssociationMapInput interface { pulumi.Input ToGatewayAssociationMapOutput() GatewayAssociationMapOutput ToGatewayAssociationMapOutputWithContext(context.Context) GatewayAssociationMapOutput }
GatewayAssociationMapInput is an input type that accepts GatewayAssociationMap and GatewayAssociationMapOutput values. You can construct a concrete instance of `GatewayAssociationMapInput` via:
GatewayAssociationMap{ "key": GatewayAssociationArgs{...} }
type GatewayAssociationMapOutput ¶
type GatewayAssociationMapOutput struct{ *pulumi.OutputState }
func (GatewayAssociationMapOutput) ElementType ¶
func (GatewayAssociationMapOutput) ElementType() reflect.Type
func (GatewayAssociationMapOutput) MapIndex ¶
func (o GatewayAssociationMapOutput) MapIndex(k pulumi.StringInput) GatewayAssociationOutput
func (GatewayAssociationMapOutput) ToGatewayAssociationMapOutput ¶
func (o GatewayAssociationMapOutput) ToGatewayAssociationMapOutput() GatewayAssociationMapOutput
func (GatewayAssociationMapOutput) ToGatewayAssociationMapOutputWithContext ¶
func (o GatewayAssociationMapOutput) ToGatewayAssociationMapOutputWithContext(ctx context.Context) GatewayAssociationMapOutput
type GatewayAssociationOutput ¶
type GatewayAssociationOutput struct{ *pulumi.OutputState }
func (GatewayAssociationOutput) AllowedPrefixes ¶
func (o GatewayAssociationOutput) AllowedPrefixes() pulumi.StringArrayOutput
VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured.
func (GatewayAssociationOutput) AssociatedGatewayId ¶
func (o GatewayAssociationOutput) AssociatedGatewayId() pulumi.StringOutput
The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. Used for single account Direct Connect gateway associations.
func (GatewayAssociationOutput) AssociatedGatewayOwnerAccountId ¶
func (o GatewayAssociationOutput) AssociatedGatewayOwnerAccountId() pulumi.StringOutput
The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. Used for cross-account Direct Connect gateway associations.
func (GatewayAssociationOutput) AssociatedGatewayType ¶
func (o GatewayAssociationOutput) AssociatedGatewayType() pulumi.StringOutput
The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.
func (GatewayAssociationOutput) DxGatewayAssociationId ¶
func (o GatewayAssociationOutput) DxGatewayAssociationId() pulumi.StringOutput
The ID of the Direct Connect gateway association.
func (GatewayAssociationOutput) DxGatewayId ¶
func (o GatewayAssociationOutput) DxGatewayId() pulumi.StringOutput
The ID of the Direct Connect gateway.
func (GatewayAssociationOutput) DxGatewayOwnerAccountId ¶
func (o GatewayAssociationOutput) DxGatewayOwnerAccountId() pulumi.StringOutput
The ID of the AWS account that owns the Direct Connect gateway.
func (GatewayAssociationOutput) ElementType ¶
func (GatewayAssociationOutput) ElementType() reflect.Type
func (GatewayAssociationOutput) ProposalId ¶
func (o GatewayAssociationOutput) ProposalId() pulumi.StringPtrOutput
The ID of the Direct Connect gateway association proposal. Used for cross-account Direct Connect gateway associations.
func (GatewayAssociationOutput) ToGatewayAssociationOutput ¶
func (o GatewayAssociationOutput) ToGatewayAssociationOutput() GatewayAssociationOutput
func (GatewayAssociationOutput) ToGatewayAssociationOutputWithContext ¶
func (o GatewayAssociationOutput) ToGatewayAssociationOutputWithContext(ctx context.Context) GatewayAssociationOutput
func (GatewayAssociationOutput) VpnGatewayId
deprecated
func (o GatewayAssociationOutput) VpnGatewayId() pulumi.StringPtrOutput
Deprecated: use 'associated_gateway_id' argument instead
type GatewayAssociationProposal ¶
type GatewayAssociationProposal struct { pulumi.CustomResourceState // VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. AllowedPrefixes pulumi.StringArrayOutput `pulumi:"allowedPrefixes"` // The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. AssociatedGatewayId pulumi.StringOutput `pulumi:"associatedGatewayId"` // The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. AssociatedGatewayOwnerAccountId pulumi.StringOutput `pulumi:"associatedGatewayOwnerAccountId"` // The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`. AssociatedGatewayType pulumi.StringOutput `pulumi:"associatedGatewayType"` // Direct Connect Gateway identifier. DxGatewayId pulumi.StringOutput `pulumi:"dxGatewayId"` // AWS Account identifier of the Direct Connect Gateway's owner. DxGatewayOwnerAccountId pulumi.StringOutput `pulumi:"dxGatewayOwnerAccountId"` }
Manages a Direct Connect Gateway Association Proposal, typically for enabling cross-account associations. For single account associations, see the `directconnect.GatewayAssociation` resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewGatewayAssociationProposal(ctx, "example", &directconnect.GatewayAssociationProposalArgs{ DxGatewayId: pulumi.Any(exampleAwsDxGateway.Id), DxGatewayOwnerAccountId: pulumi.Any(exampleAwsDxGateway.OwnerAccountId), AssociatedGatewayId: pulumi.Any(exampleAwsVpnGateway.Id), }) if err != nil { return err } return nil }) }
```
## Import
Using a proposal ID, Direct Connect Gateway ID and associated gateway ID separated by `/`:
__With `pulumi import`__, import Direct Connect Gateway Association Proposals using either a proposal ID or proposal ID, Direct Connect Gateway ID and associated gateway ID separated by `/`. For example:
Using a proposal ID:
```sh
$ pulumi import aws:directconnect/gatewayAssociationProposal:GatewayAssociationProposal example ac90e981-b718-4364-872d-65478c84fafe
```
Using a proposal ID, Direct Connect Gateway ID and associated gateway ID separated by `/`:
```sh
$ pulumi import aws:directconnect/gatewayAssociationProposal:GatewayAssociationProposal example ac90e981-b718-4364-872d-65478c84fafe/abcd1234-dcba-5678-be23-cdef9876ab45/vgw-12345678
```
The latter case is useful when a previous proposal has been accepted and deleted by AWS. The `aws_dx_gateway_association_proposal` resource will then represent a pseudo-proposal for the same Direct Connect Gateway and associated gateway. If no previous proposal is available, use a tool like [`uuidgen`](http://manpages.ubuntu.com/manpages/bionic/man1/uuidgen.1.html) to generate a new random pseudo-proposal ID.
func GetGatewayAssociationProposal ¶
func GetGatewayAssociationProposal(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayAssociationProposalState, opts ...pulumi.ResourceOption) (*GatewayAssociationProposal, error)
GetGatewayAssociationProposal gets an existing GatewayAssociationProposal resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGatewayAssociationProposal ¶
func NewGatewayAssociationProposal(ctx *pulumi.Context, name string, args *GatewayAssociationProposalArgs, opts ...pulumi.ResourceOption) (*GatewayAssociationProposal, error)
NewGatewayAssociationProposal registers a new resource with the given unique name, arguments, and options.
func (*GatewayAssociationProposal) ElementType ¶
func (*GatewayAssociationProposal) ElementType() reflect.Type
func (*GatewayAssociationProposal) ToGatewayAssociationProposalOutput ¶
func (i *GatewayAssociationProposal) ToGatewayAssociationProposalOutput() GatewayAssociationProposalOutput
func (*GatewayAssociationProposal) ToGatewayAssociationProposalOutputWithContext ¶
func (i *GatewayAssociationProposal) ToGatewayAssociationProposalOutputWithContext(ctx context.Context) GatewayAssociationProposalOutput
type GatewayAssociationProposalArgs ¶
type GatewayAssociationProposalArgs struct { // VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. AllowedPrefixes pulumi.StringArrayInput // The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. AssociatedGatewayId pulumi.StringInput // Direct Connect Gateway identifier. DxGatewayId pulumi.StringInput // AWS Account identifier of the Direct Connect Gateway's owner. DxGatewayOwnerAccountId pulumi.StringInput }
The set of arguments for constructing a GatewayAssociationProposal resource.
func (GatewayAssociationProposalArgs) ElementType ¶
func (GatewayAssociationProposalArgs) ElementType() reflect.Type
type GatewayAssociationProposalArray ¶
type GatewayAssociationProposalArray []GatewayAssociationProposalInput
func (GatewayAssociationProposalArray) ElementType ¶
func (GatewayAssociationProposalArray) ElementType() reflect.Type
func (GatewayAssociationProposalArray) ToGatewayAssociationProposalArrayOutput ¶
func (i GatewayAssociationProposalArray) ToGatewayAssociationProposalArrayOutput() GatewayAssociationProposalArrayOutput
func (GatewayAssociationProposalArray) ToGatewayAssociationProposalArrayOutputWithContext ¶
func (i GatewayAssociationProposalArray) ToGatewayAssociationProposalArrayOutputWithContext(ctx context.Context) GatewayAssociationProposalArrayOutput
type GatewayAssociationProposalArrayInput ¶
type GatewayAssociationProposalArrayInput interface { pulumi.Input ToGatewayAssociationProposalArrayOutput() GatewayAssociationProposalArrayOutput ToGatewayAssociationProposalArrayOutputWithContext(context.Context) GatewayAssociationProposalArrayOutput }
GatewayAssociationProposalArrayInput is an input type that accepts GatewayAssociationProposalArray and GatewayAssociationProposalArrayOutput values. You can construct a concrete instance of `GatewayAssociationProposalArrayInput` via:
GatewayAssociationProposalArray{ GatewayAssociationProposalArgs{...} }
type GatewayAssociationProposalArrayOutput ¶
type GatewayAssociationProposalArrayOutput struct{ *pulumi.OutputState }
func (GatewayAssociationProposalArrayOutput) ElementType ¶
func (GatewayAssociationProposalArrayOutput) ElementType() reflect.Type
func (GatewayAssociationProposalArrayOutput) Index ¶
func (o GatewayAssociationProposalArrayOutput) Index(i pulumi.IntInput) GatewayAssociationProposalOutput
func (GatewayAssociationProposalArrayOutput) ToGatewayAssociationProposalArrayOutput ¶
func (o GatewayAssociationProposalArrayOutput) ToGatewayAssociationProposalArrayOutput() GatewayAssociationProposalArrayOutput
func (GatewayAssociationProposalArrayOutput) ToGatewayAssociationProposalArrayOutputWithContext ¶
func (o GatewayAssociationProposalArrayOutput) ToGatewayAssociationProposalArrayOutputWithContext(ctx context.Context) GatewayAssociationProposalArrayOutput
type GatewayAssociationProposalInput ¶
type GatewayAssociationProposalInput interface { pulumi.Input ToGatewayAssociationProposalOutput() GatewayAssociationProposalOutput ToGatewayAssociationProposalOutputWithContext(ctx context.Context) GatewayAssociationProposalOutput }
type GatewayAssociationProposalMap ¶
type GatewayAssociationProposalMap map[string]GatewayAssociationProposalInput
func (GatewayAssociationProposalMap) ElementType ¶
func (GatewayAssociationProposalMap) ElementType() reflect.Type
func (GatewayAssociationProposalMap) ToGatewayAssociationProposalMapOutput ¶
func (i GatewayAssociationProposalMap) ToGatewayAssociationProposalMapOutput() GatewayAssociationProposalMapOutput
func (GatewayAssociationProposalMap) ToGatewayAssociationProposalMapOutputWithContext ¶
func (i GatewayAssociationProposalMap) ToGatewayAssociationProposalMapOutputWithContext(ctx context.Context) GatewayAssociationProposalMapOutput
type GatewayAssociationProposalMapInput ¶
type GatewayAssociationProposalMapInput interface { pulumi.Input ToGatewayAssociationProposalMapOutput() GatewayAssociationProposalMapOutput ToGatewayAssociationProposalMapOutputWithContext(context.Context) GatewayAssociationProposalMapOutput }
GatewayAssociationProposalMapInput is an input type that accepts GatewayAssociationProposalMap and GatewayAssociationProposalMapOutput values. You can construct a concrete instance of `GatewayAssociationProposalMapInput` via:
GatewayAssociationProposalMap{ "key": GatewayAssociationProposalArgs{...} }
type GatewayAssociationProposalMapOutput ¶
type GatewayAssociationProposalMapOutput struct{ *pulumi.OutputState }
func (GatewayAssociationProposalMapOutput) ElementType ¶
func (GatewayAssociationProposalMapOutput) ElementType() reflect.Type
func (GatewayAssociationProposalMapOutput) MapIndex ¶
func (o GatewayAssociationProposalMapOutput) MapIndex(k pulumi.StringInput) GatewayAssociationProposalOutput
func (GatewayAssociationProposalMapOutput) ToGatewayAssociationProposalMapOutput ¶
func (o GatewayAssociationProposalMapOutput) ToGatewayAssociationProposalMapOutput() GatewayAssociationProposalMapOutput
func (GatewayAssociationProposalMapOutput) ToGatewayAssociationProposalMapOutputWithContext ¶
func (o GatewayAssociationProposalMapOutput) ToGatewayAssociationProposalMapOutputWithContext(ctx context.Context) GatewayAssociationProposalMapOutput
type GatewayAssociationProposalOutput ¶
type GatewayAssociationProposalOutput struct{ *pulumi.OutputState }
func (GatewayAssociationProposalOutput) AllowedPrefixes ¶
func (o GatewayAssociationProposalOutput) AllowedPrefixes() pulumi.StringArrayOutput
VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured.
func (GatewayAssociationProposalOutput) AssociatedGatewayId ¶
func (o GatewayAssociationProposalOutput) AssociatedGatewayId() pulumi.StringOutput
The ID of the VGW or transit gateway with which to associate the Direct Connect gateway.
func (GatewayAssociationProposalOutput) AssociatedGatewayOwnerAccountId ¶
func (o GatewayAssociationProposalOutput) AssociatedGatewayOwnerAccountId() pulumi.StringOutput
The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway.
func (GatewayAssociationProposalOutput) AssociatedGatewayType ¶
func (o GatewayAssociationProposalOutput) AssociatedGatewayType() pulumi.StringOutput
The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.
func (GatewayAssociationProposalOutput) DxGatewayId ¶
func (o GatewayAssociationProposalOutput) DxGatewayId() pulumi.StringOutput
Direct Connect Gateway identifier.
func (GatewayAssociationProposalOutput) DxGatewayOwnerAccountId ¶
func (o GatewayAssociationProposalOutput) DxGatewayOwnerAccountId() pulumi.StringOutput
AWS Account identifier of the Direct Connect Gateway's owner.
func (GatewayAssociationProposalOutput) ElementType ¶
func (GatewayAssociationProposalOutput) ElementType() reflect.Type
func (GatewayAssociationProposalOutput) ToGatewayAssociationProposalOutput ¶
func (o GatewayAssociationProposalOutput) ToGatewayAssociationProposalOutput() GatewayAssociationProposalOutput
func (GatewayAssociationProposalOutput) ToGatewayAssociationProposalOutputWithContext ¶
func (o GatewayAssociationProposalOutput) ToGatewayAssociationProposalOutputWithContext(ctx context.Context) GatewayAssociationProposalOutput
type GatewayAssociationProposalState ¶
type GatewayAssociationProposalState struct { // VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. AllowedPrefixes pulumi.StringArrayInput // The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. AssociatedGatewayId pulumi.StringPtrInput // The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. AssociatedGatewayOwnerAccountId pulumi.StringPtrInput // The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`. AssociatedGatewayType pulumi.StringPtrInput // Direct Connect Gateway identifier. DxGatewayId pulumi.StringPtrInput // AWS Account identifier of the Direct Connect Gateway's owner. DxGatewayOwnerAccountId pulumi.StringPtrInput }
func (GatewayAssociationProposalState) ElementType ¶
func (GatewayAssociationProposalState) ElementType() reflect.Type
type GatewayAssociationState ¶
type GatewayAssociationState struct { // VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. AllowedPrefixes pulumi.StringArrayInput // The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. // Used for single account Direct Connect gateway associations. AssociatedGatewayId pulumi.StringPtrInput // The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. // Used for cross-account Direct Connect gateway associations. AssociatedGatewayOwnerAccountId pulumi.StringPtrInput // The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`. AssociatedGatewayType pulumi.StringPtrInput // The ID of the Direct Connect gateway association. DxGatewayAssociationId pulumi.StringPtrInput // The ID of the Direct Connect gateway. DxGatewayId pulumi.StringPtrInput // The ID of the AWS account that owns the Direct Connect gateway. DxGatewayOwnerAccountId pulumi.StringPtrInput // The ID of the Direct Connect gateway association proposal. // Used for cross-account Direct Connect gateway associations. ProposalId pulumi.StringPtrInput // Deprecated: use 'associated_gateway_id' argument instead VpnGatewayId pulumi.StringPtrInput }
func (GatewayAssociationState) ElementType ¶
func (GatewayAssociationState) ElementType() reflect.Type
type GatewayInput ¶
type GatewayInput interface { pulumi.Input ToGatewayOutput() GatewayOutput ToGatewayOutputWithContext(ctx context.Context) GatewayOutput }
type GatewayMap ¶
type GatewayMap map[string]GatewayInput
func (GatewayMap) ElementType ¶
func (GatewayMap) ElementType() reflect.Type
func (GatewayMap) ToGatewayMapOutput ¶
func (i GatewayMap) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMap) ToGatewayMapOutputWithContext ¶
func (i GatewayMap) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayMapInput ¶
type GatewayMapInput interface { pulumi.Input ToGatewayMapOutput() GatewayMapOutput ToGatewayMapOutputWithContext(context.Context) GatewayMapOutput }
GatewayMapInput is an input type that accepts GatewayMap and GatewayMapOutput values. You can construct a concrete instance of `GatewayMapInput` via:
GatewayMap{ "key": GatewayArgs{...} }
type GatewayMapOutput ¶
type GatewayMapOutput struct{ *pulumi.OutputState }
func (GatewayMapOutput) ElementType ¶
func (GatewayMapOutput) ElementType() reflect.Type
func (GatewayMapOutput) MapIndex ¶
func (o GatewayMapOutput) MapIndex(k pulumi.StringInput) GatewayOutput
func (GatewayMapOutput) ToGatewayMapOutput ¶
func (o GatewayMapOutput) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMapOutput) ToGatewayMapOutputWithContext ¶
func (o GatewayMapOutput) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayOutput ¶
type GatewayOutput struct{ *pulumi.OutputState }
func (GatewayOutput) AmazonSideAsn ¶
func (o GatewayOutput) AmazonSideAsn() pulumi.StringOutput
The ASN to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294.
func (GatewayOutput) ElementType ¶
func (GatewayOutput) ElementType() reflect.Type
func (GatewayOutput) Name ¶
func (o GatewayOutput) Name() pulumi.StringOutput
The name of the connection.
func (GatewayOutput) OwnerAccountId ¶
func (o GatewayOutput) OwnerAccountId() pulumi.StringOutput
AWS Account ID of the gateway.
func (GatewayOutput) ToGatewayOutput ¶
func (o GatewayOutput) ToGatewayOutput() GatewayOutput
func (GatewayOutput) ToGatewayOutputWithContext ¶
func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
type GatewayState ¶
type GatewayState struct { // The ASN to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. AmazonSideAsn pulumi.StringPtrInput // The name of the connection. Name pulumi.StringPtrInput // AWS Account ID of the gateway. OwnerAccountId pulumi.StringPtrInput }
func (GatewayState) ElementType ¶
func (GatewayState) ElementType() reflect.Type
type GetLocationArgs ¶
type GetLocationArgs struct { // Code for the location to retrieve. LocationCode string `pulumi:"locationCode"` }
A collection of arguments for invoking getLocation.
type GetLocationOutputArgs ¶
type GetLocationOutputArgs struct { // Code for the location to retrieve. LocationCode pulumi.StringInput `pulumi:"locationCode"` }
A collection of arguments for invoking getLocation.
func (GetLocationOutputArgs) ElementType ¶
func (GetLocationOutputArgs) ElementType() reflect.Type
type GetLocationResult ¶
type GetLocationResult struct { // The available MAC Security (MACsec) port speeds for the location. AvailableMacsecPortSpeeds []string `pulumi:"availableMacsecPortSpeeds"` // The available port speeds for the location. AvailablePortSpeeds []string `pulumi:"availablePortSpeeds"` // Names of the service providers for the location. AvailableProviders []string `pulumi:"availableProviders"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` LocationCode string `pulumi:"locationCode"` // Name of the location. This includes the name of the colocation partner and the physical site of the building. LocationName string `pulumi:"locationName"` }
A collection of values returned by getLocation.
func GetLocation ¶
func GetLocation(ctx *pulumi.Context, args *GetLocationArgs, opts ...pulumi.InvokeOption) (*GetLocationResult, error)
Retrieve information about a specific AWS Direct Connect location in the current AWS Region. These are the locations that can be specified when configuring `directconnect.Connection` or `directconnect.LinkAggregationGroup` resources.
> **Note:** This data source is different from the `directconnect.getLocations` data source which retrieves information about all the AWS Direct Connect locations in the current AWS Region.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.GetLocation(ctx, &directconnect.GetLocationArgs{ LocationCode: "CS32A-24FL", }, nil) if err != nil { return err } return nil }) }
```
type GetLocationResultOutput ¶
type GetLocationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocation.
func GetLocationOutput ¶
func GetLocationOutput(ctx *pulumi.Context, args GetLocationOutputArgs, opts ...pulumi.InvokeOption) GetLocationResultOutput
func (GetLocationResultOutput) AvailableMacsecPortSpeeds ¶
func (o GetLocationResultOutput) AvailableMacsecPortSpeeds() pulumi.StringArrayOutput
The available MAC Security (MACsec) port speeds for the location.
func (GetLocationResultOutput) AvailablePortSpeeds ¶
func (o GetLocationResultOutput) AvailablePortSpeeds() pulumi.StringArrayOutput
The available port speeds for the location.
func (GetLocationResultOutput) AvailableProviders ¶
func (o GetLocationResultOutput) AvailableProviders() pulumi.StringArrayOutput
Names of the service providers for the location.
func (GetLocationResultOutput) ElementType ¶
func (GetLocationResultOutput) ElementType() reflect.Type
func (GetLocationResultOutput) Id ¶
func (o GetLocationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLocationResultOutput) LocationCode ¶
func (o GetLocationResultOutput) LocationCode() pulumi.StringOutput
func (GetLocationResultOutput) LocationName ¶
func (o GetLocationResultOutput) LocationName() pulumi.StringOutput
Name of the location. This includes the name of the colocation partner and the physical site of the building.
func (GetLocationResultOutput) ToGetLocationResultOutput ¶
func (o GetLocationResultOutput) ToGetLocationResultOutput() GetLocationResultOutput
func (GetLocationResultOutput) ToGetLocationResultOutputWithContext ¶
func (o GetLocationResultOutput) ToGetLocationResultOutputWithContext(ctx context.Context) GetLocationResultOutput
type GetLocationsResult ¶
type GetLocationsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Code for the locations. LocationCodes []string `pulumi:"locationCodes"` }
A collection of values returned by getLocations.
func GetLocations ¶
func GetLocations(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetLocationsResult, error)
Retrieve information about the AWS Direct Connect locations in the current AWS Region. These are the locations that can be specified when configuring `directconnect.Connection` or `directconnect.LinkAggregationGroup` resources.
> **Note:** This data source is different from the `directconnect.getLocation` data source which retrieves information about a specific AWS Direct Connect location in the current AWS Region.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.GetLocations(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetLocationsResultOutput ¶ added in v6.6.1
type GetLocationsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocations.
func GetLocationsOutput ¶ added in v6.6.1
func GetLocationsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetLocationsResultOutput
func (GetLocationsResultOutput) ElementType ¶ added in v6.6.1
func (GetLocationsResultOutput) ElementType() reflect.Type
func (GetLocationsResultOutput) Id ¶ added in v6.6.1
func (o GetLocationsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLocationsResultOutput) LocationCodes ¶ added in v6.6.1
func (o GetLocationsResultOutput) LocationCodes() pulumi.StringArrayOutput
Code for the locations.
func (GetLocationsResultOutput) ToGetLocationsResultOutput ¶ added in v6.6.1
func (o GetLocationsResultOutput) ToGetLocationsResultOutput() GetLocationsResultOutput
func (GetLocationsResultOutput) ToGetLocationsResultOutputWithContext ¶ added in v6.6.1
func (o GetLocationsResultOutput) ToGetLocationsResultOutputWithContext(ctx context.Context) GetLocationsResultOutput
type GetRouterConfigurationArgs ¶
type GetRouterConfigurationArgs struct { // ID of the Router Type. For example: `CiscoSystemsInc-2900SeriesRouters-IOS124` // // There is currently no AWS API to retrieve the full list of `routerTypeIdentifier` values. Here is a list of known `RouterType` objects that can be used: RouterTypeIdentifier string `pulumi:"routerTypeIdentifier"` // ID of the Direct Connect Virtual Interface VirtualInterfaceId string `pulumi:"virtualInterfaceId"` }
A collection of arguments for invoking getRouterConfiguration.
type GetRouterConfigurationOutputArgs ¶
type GetRouterConfigurationOutputArgs struct { // ID of the Router Type. For example: `CiscoSystemsInc-2900SeriesRouters-IOS124` // // There is currently no AWS API to retrieve the full list of `routerTypeIdentifier` values. Here is a list of known `RouterType` objects that can be used: RouterTypeIdentifier pulumi.StringInput `pulumi:"routerTypeIdentifier"` // ID of the Direct Connect Virtual Interface VirtualInterfaceId pulumi.StringInput `pulumi:"virtualInterfaceId"` }
A collection of arguments for invoking getRouterConfiguration.
func (GetRouterConfigurationOutputArgs) ElementType ¶
func (GetRouterConfigurationOutputArgs) ElementType() reflect.Type
type GetRouterConfigurationResult ¶
type GetRouterConfigurationResult struct { // Instructions for configuring your router CustomerRouterConfig string `pulumi:"customerRouterConfig"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Router type identifier RouterTypeIdentifier string `pulumi:"routerTypeIdentifier"` // Block of the router type details Routers []GetRouterConfigurationRouter `pulumi:"routers"` VirtualInterfaceId string `pulumi:"virtualInterfaceId"` VirtualInterfaceName string `pulumi:"virtualInterfaceName"` }
A collection of values returned by getRouterConfiguration.
func GetRouterConfiguration ¶
func GetRouterConfiguration(ctx *pulumi.Context, args *GetRouterConfigurationArgs, opts ...pulumi.InvokeOption) (*GetRouterConfigurationResult, error)
Data source for retrieving Router Configuration instructions for a given AWS Direct Connect Virtual Interface and Router Type.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.GetRouterConfiguration(ctx, &directconnect.GetRouterConfigurationArgs{ VirtualInterfaceId: "dxvif-abcde123", RouterTypeIdentifier: "CiscoSystemsInc-2900SeriesRouters-IOS124", }, nil) if err != nil { return err } return nil }) }
```
type GetRouterConfigurationResultOutput ¶
type GetRouterConfigurationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRouterConfiguration.
func GetRouterConfigurationOutput ¶
func GetRouterConfigurationOutput(ctx *pulumi.Context, args GetRouterConfigurationOutputArgs, opts ...pulumi.InvokeOption) GetRouterConfigurationResultOutput
func (GetRouterConfigurationResultOutput) CustomerRouterConfig ¶
func (o GetRouterConfigurationResultOutput) CustomerRouterConfig() pulumi.StringOutput
Instructions for configuring your router
func (GetRouterConfigurationResultOutput) ElementType ¶
func (GetRouterConfigurationResultOutput) ElementType() reflect.Type
func (GetRouterConfigurationResultOutput) Id ¶
func (o GetRouterConfigurationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRouterConfigurationResultOutput) RouterTypeIdentifier ¶
func (o GetRouterConfigurationResultOutput) RouterTypeIdentifier() pulumi.StringOutput
Router type identifier
func (GetRouterConfigurationResultOutput) Routers ¶
func (o GetRouterConfigurationResultOutput) Routers() GetRouterConfigurationRouterArrayOutput
Block of the router type details
func (GetRouterConfigurationResultOutput) ToGetRouterConfigurationResultOutput ¶
func (o GetRouterConfigurationResultOutput) ToGetRouterConfigurationResultOutput() GetRouterConfigurationResultOutput
func (GetRouterConfigurationResultOutput) ToGetRouterConfigurationResultOutputWithContext ¶
func (o GetRouterConfigurationResultOutput) ToGetRouterConfigurationResultOutputWithContext(ctx context.Context) GetRouterConfigurationResultOutput
func (GetRouterConfigurationResultOutput) VirtualInterfaceId ¶
func (o GetRouterConfigurationResultOutput) VirtualInterfaceId() pulumi.StringOutput
func (GetRouterConfigurationResultOutput) VirtualInterfaceName ¶
func (o GetRouterConfigurationResultOutput) VirtualInterfaceName() pulumi.StringOutput
type GetRouterConfigurationRouter ¶
type GetRouterConfigurationRouter struct { // Router platform Platform string `pulumi:"platform"` // ID of the Router Type. For example: `CiscoSystemsInc-2900SeriesRouters-IOS124` // // There is currently no AWS API to retrieve the full list of `routerTypeIdentifier` values. Here is a list of known `RouterType` objects that can be used: RouterTypeIdentifier string `pulumi:"routerTypeIdentifier"` // Router operating system Software string `pulumi:"software"` // Router vendor Vendor string `pulumi:"vendor"` // Router XSLT Template Name XsltTemplateName string `pulumi:"xsltTemplateName"` XsltTemplateNameForMacSec string `pulumi:"xsltTemplateNameForMacSec"` }
type GetRouterConfigurationRouterArgs ¶
type GetRouterConfigurationRouterArgs struct { // Router platform Platform pulumi.StringInput `pulumi:"platform"` // ID of the Router Type. For example: `CiscoSystemsInc-2900SeriesRouters-IOS124` // // There is currently no AWS API to retrieve the full list of `routerTypeIdentifier` values. Here is a list of known `RouterType` objects that can be used: RouterTypeIdentifier pulumi.StringInput `pulumi:"routerTypeIdentifier"` // Router operating system Software pulumi.StringInput `pulumi:"software"` // Router vendor Vendor pulumi.StringInput `pulumi:"vendor"` // Router XSLT Template Name XsltTemplateName pulumi.StringInput `pulumi:"xsltTemplateName"` XsltTemplateNameForMacSec pulumi.StringInput `pulumi:"xsltTemplateNameForMacSec"` }
func (GetRouterConfigurationRouterArgs) ElementType ¶
func (GetRouterConfigurationRouterArgs) ElementType() reflect.Type
func (GetRouterConfigurationRouterArgs) ToGetRouterConfigurationRouterOutput ¶
func (i GetRouterConfigurationRouterArgs) ToGetRouterConfigurationRouterOutput() GetRouterConfigurationRouterOutput
func (GetRouterConfigurationRouterArgs) ToGetRouterConfigurationRouterOutputWithContext ¶
func (i GetRouterConfigurationRouterArgs) ToGetRouterConfigurationRouterOutputWithContext(ctx context.Context) GetRouterConfigurationRouterOutput
type GetRouterConfigurationRouterArray ¶
type GetRouterConfigurationRouterArray []GetRouterConfigurationRouterInput
func (GetRouterConfigurationRouterArray) ElementType ¶
func (GetRouterConfigurationRouterArray) ElementType() reflect.Type
func (GetRouterConfigurationRouterArray) ToGetRouterConfigurationRouterArrayOutput ¶
func (i GetRouterConfigurationRouterArray) ToGetRouterConfigurationRouterArrayOutput() GetRouterConfigurationRouterArrayOutput
func (GetRouterConfigurationRouterArray) ToGetRouterConfigurationRouterArrayOutputWithContext ¶
func (i GetRouterConfigurationRouterArray) ToGetRouterConfigurationRouterArrayOutputWithContext(ctx context.Context) GetRouterConfigurationRouterArrayOutput
type GetRouterConfigurationRouterArrayInput ¶
type GetRouterConfigurationRouterArrayInput interface { pulumi.Input ToGetRouterConfigurationRouterArrayOutput() GetRouterConfigurationRouterArrayOutput ToGetRouterConfigurationRouterArrayOutputWithContext(context.Context) GetRouterConfigurationRouterArrayOutput }
GetRouterConfigurationRouterArrayInput is an input type that accepts GetRouterConfigurationRouterArray and GetRouterConfigurationRouterArrayOutput values. You can construct a concrete instance of `GetRouterConfigurationRouterArrayInput` via:
GetRouterConfigurationRouterArray{ GetRouterConfigurationRouterArgs{...} }
type GetRouterConfigurationRouterArrayOutput ¶
type GetRouterConfigurationRouterArrayOutput struct{ *pulumi.OutputState }
func (GetRouterConfigurationRouterArrayOutput) ElementType ¶
func (GetRouterConfigurationRouterArrayOutput) ElementType() reflect.Type
func (GetRouterConfigurationRouterArrayOutput) ToGetRouterConfigurationRouterArrayOutput ¶
func (o GetRouterConfigurationRouterArrayOutput) ToGetRouterConfigurationRouterArrayOutput() GetRouterConfigurationRouterArrayOutput
func (GetRouterConfigurationRouterArrayOutput) ToGetRouterConfigurationRouterArrayOutputWithContext ¶
func (o GetRouterConfigurationRouterArrayOutput) ToGetRouterConfigurationRouterArrayOutputWithContext(ctx context.Context) GetRouterConfigurationRouterArrayOutput
type GetRouterConfigurationRouterInput ¶
type GetRouterConfigurationRouterInput interface { pulumi.Input ToGetRouterConfigurationRouterOutput() GetRouterConfigurationRouterOutput ToGetRouterConfigurationRouterOutputWithContext(context.Context) GetRouterConfigurationRouterOutput }
GetRouterConfigurationRouterInput is an input type that accepts GetRouterConfigurationRouterArgs and GetRouterConfigurationRouterOutput values. You can construct a concrete instance of `GetRouterConfigurationRouterInput` via:
GetRouterConfigurationRouterArgs{...}
type GetRouterConfigurationRouterOutput ¶
type GetRouterConfigurationRouterOutput struct{ *pulumi.OutputState }
func (GetRouterConfigurationRouterOutput) ElementType ¶
func (GetRouterConfigurationRouterOutput) ElementType() reflect.Type
func (GetRouterConfigurationRouterOutput) Platform ¶
func (o GetRouterConfigurationRouterOutput) Platform() pulumi.StringOutput
Router platform
func (GetRouterConfigurationRouterOutput) RouterTypeIdentifier ¶
func (o GetRouterConfigurationRouterOutput) RouterTypeIdentifier() pulumi.StringOutput
ID of the Router Type. For example: `CiscoSystemsInc-2900SeriesRouters-IOS124`
There is currently no AWS API to retrieve the full list of `routerTypeIdentifier` values. Here is a list of known `RouterType` objects that can be used:
func (GetRouterConfigurationRouterOutput) Software ¶
func (o GetRouterConfigurationRouterOutput) Software() pulumi.StringOutput
Router operating system
func (GetRouterConfigurationRouterOutput) ToGetRouterConfigurationRouterOutput ¶
func (o GetRouterConfigurationRouterOutput) ToGetRouterConfigurationRouterOutput() GetRouterConfigurationRouterOutput
func (GetRouterConfigurationRouterOutput) ToGetRouterConfigurationRouterOutputWithContext ¶
func (o GetRouterConfigurationRouterOutput) ToGetRouterConfigurationRouterOutputWithContext(ctx context.Context) GetRouterConfigurationRouterOutput
func (GetRouterConfigurationRouterOutput) Vendor ¶
func (o GetRouterConfigurationRouterOutput) Vendor() pulumi.StringOutput
Router vendor
func (GetRouterConfigurationRouterOutput) XsltTemplateName ¶
func (o GetRouterConfigurationRouterOutput) XsltTemplateName() pulumi.StringOutput
Router XSLT Template Name
func (GetRouterConfigurationRouterOutput) XsltTemplateNameForMacSec ¶
func (o GetRouterConfigurationRouterOutput) XsltTemplateNameForMacSec() pulumi.StringOutput
type HostedConnection ¶
type HostedConnection struct { pulumi.CustomResourceState // The Direct Connect endpoint on which the physical connection terminates. AwsDevice pulumi.StringOutput `pulumi:"awsDevice"` // The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive. Bandwidth pulumi.StringOutput `pulumi:"bandwidth"` // The ID of the interconnect or LAG. ConnectionId pulumi.StringOutput `pulumi:"connectionId"` // Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6). HasLogicalRedundancy pulumi.StringOutput `pulumi:"hasLogicalRedundancy"` // Boolean value representing if jumbo frames have been enabled for this connection. JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"` // The ID of the LAG. LagId pulumi.StringOutput `pulumi:"lagId"` // The time of the most recent call to [DescribeLoa](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLoa.html) for this connection. LoaIssueTime pulumi.StringOutput `pulumi:"loaIssueTime"` // The location of the connection. Location pulumi.StringOutput `pulumi:"location"` // The name of the connection. Name pulumi.StringOutput `pulumi:"name"` // The ID of the AWS account of the customer for the connection. OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"` // The name of the AWS Direct Connect service provider associated with the connection. PartnerName pulumi.StringOutput `pulumi:"partnerName"` // The name of the service provider associated with the connection. ProviderName pulumi.StringOutput `pulumi:"providerName"` // The AWS Region where the connection is located. Region pulumi.StringOutput `pulumi:"region"` // The state of the connection. Possible values include: ordering, requested, pending, available, down, deleting, deleted, rejected, unknown. See [AllocateHostedConnection](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_AllocateHostedConnection.html) for a description of each connection state. State pulumi.StringOutput `pulumi:"state"` // The dedicated VLAN provisioned to the hosted connection. Vlan pulumi.IntOutput `pulumi:"vlan"` }
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewHostedConnection(ctx, "hosted", &directconnect.HostedConnectionArgs{ ConnectionId: pulumi.String("dxcon-ffabc123"), Bandwidth: pulumi.String("100Mbps"), Name: pulumi.String("tf-dx-hosted-connection"), OwnerAccountId: pulumi.String("123456789012"), Vlan: pulumi.Int(1), }) if err != nil { return err } return nil }) }
```
func GetHostedConnection ¶
func GetHostedConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HostedConnectionState, opts ...pulumi.ResourceOption) (*HostedConnection, error)
GetHostedConnection gets an existing HostedConnection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHostedConnection ¶
func NewHostedConnection(ctx *pulumi.Context, name string, args *HostedConnectionArgs, opts ...pulumi.ResourceOption) (*HostedConnection, error)
NewHostedConnection registers a new resource with the given unique name, arguments, and options.
func (*HostedConnection) ElementType ¶
func (*HostedConnection) ElementType() reflect.Type
func (*HostedConnection) ToHostedConnectionOutput ¶
func (i *HostedConnection) ToHostedConnectionOutput() HostedConnectionOutput
func (*HostedConnection) ToHostedConnectionOutputWithContext ¶
func (i *HostedConnection) ToHostedConnectionOutputWithContext(ctx context.Context) HostedConnectionOutput
type HostedConnectionArgs ¶
type HostedConnectionArgs struct { // The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive. Bandwidth pulumi.StringInput // The ID of the interconnect or LAG. ConnectionId pulumi.StringInput // The name of the connection. Name pulumi.StringPtrInput // The ID of the AWS account of the customer for the connection. OwnerAccountId pulumi.StringInput // The dedicated VLAN provisioned to the hosted connection. Vlan pulumi.IntInput }
The set of arguments for constructing a HostedConnection resource.
func (HostedConnectionArgs) ElementType ¶
func (HostedConnectionArgs) ElementType() reflect.Type
type HostedConnectionArray ¶
type HostedConnectionArray []HostedConnectionInput
func (HostedConnectionArray) ElementType ¶
func (HostedConnectionArray) ElementType() reflect.Type
func (HostedConnectionArray) ToHostedConnectionArrayOutput ¶
func (i HostedConnectionArray) ToHostedConnectionArrayOutput() HostedConnectionArrayOutput
func (HostedConnectionArray) ToHostedConnectionArrayOutputWithContext ¶
func (i HostedConnectionArray) ToHostedConnectionArrayOutputWithContext(ctx context.Context) HostedConnectionArrayOutput
type HostedConnectionArrayInput ¶
type HostedConnectionArrayInput interface { pulumi.Input ToHostedConnectionArrayOutput() HostedConnectionArrayOutput ToHostedConnectionArrayOutputWithContext(context.Context) HostedConnectionArrayOutput }
HostedConnectionArrayInput is an input type that accepts HostedConnectionArray and HostedConnectionArrayOutput values. You can construct a concrete instance of `HostedConnectionArrayInput` via:
HostedConnectionArray{ HostedConnectionArgs{...} }
type HostedConnectionArrayOutput ¶
type HostedConnectionArrayOutput struct{ *pulumi.OutputState }
func (HostedConnectionArrayOutput) ElementType ¶
func (HostedConnectionArrayOutput) ElementType() reflect.Type
func (HostedConnectionArrayOutput) Index ¶
func (o HostedConnectionArrayOutput) Index(i pulumi.IntInput) HostedConnectionOutput
func (HostedConnectionArrayOutput) ToHostedConnectionArrayOutput ¶
func (o HostedConnectionArrayOutput) ToHostedConnectionArrayOutput() HostedConnectionArrayOutput
func (HostedConnectionArrayOutput) ToHostedConnectionArrayOutputWithContext ¶
func (o HostedConnectionArrayOutput) ToHostedConnectionArrayOutputWithContext(ctx context.Context) HostedConnectionArrayOutput
type HostedConnectionInput ¶
type HostedConnectionInput interface { pulumi.Input ToHostedConnectionOutput() HostedConnectionOutput ToHostedConnectionOutputWithContext(ctx context.Context) HostedConnectionOutput }
type HostedConnectionMap ¶
type HostedConnectionMap map[string]HostedConnectionInput
func (HostedConnectionMap) ElementType ¶
func (HostedConnectionMap) ElementType() reflect.Type
func (HostedConnectionMap) ToHostedConnectionMapOutput ¶
func (i HostedConnectionMap) ToHostedConnectionMapOutput() HostedConnectionMapOutput
func (HostedConnectionMap) ToHostedConnectionMapOutputWithContext ¶
func (i HostedConnectionMap) ToHostedConnectionMapOutputWithContext(ctx context.Context) HostedConnectionMapOutput
type HostedConnectionMapInput ¶
type HostedConnectionMapInput interface { pulumi.Input ToHostedConnectionMapOutput() HostedConnectionMapOutput ToHostedConnectionMapOutputWithContext(context.Context) HostedConnectionMapOutput }
HostedConnectionMapInput is an input type that accepts HostedConnectionMap and HostedConnectionMapOutput values. You can construct a concrete instance of `HostedConnectionMapInput` via:
HostedConnectionMap{ "key": HostedConnectionArgs{...} }
type HostedConnectionMapOutput ¶
type HostedConnectionMapOutput struct{ *pulumi.OutputState }
func (HostedConnectionMapOutput) ElementType ¶
func (HostedConnectionMapOutput) ElementType() reflect.Type
func (HostedConnectionMapOutput) MapIndex ¶
func (o HostedConnectionMapOutput) MapIndex(k pulumi.StringInput) HostedConnectionOutput
func (HostedConnectionMapOutput) ToHostedConnectionMapOutput ¶
func (o HostedConnectionMapOutput) ToHostedConnectionMapOutput() HostedConnectionMapOutput
func (HostedConnectionMapOutput) ToHostedConnectionMapOutputWithContext ¶
func (o HostedConnectionMapOutput) ToHostedConnectionMapOutputWithContext(ctx context.Context) HostedConnectionMapOutput
type HostedConnectionOutput ¶
type HostedConnectionOutput struct{ *pulumi.OutputState }
func (HostedConnectionOutput) AwsDevice ¶
func (o HostedConnectionOutput) AwsDevice() pulumi.StringOutput
The Direct Connect endpoint on which the physical connection terminates.
func (HostedConnectionOutput) Bandwidth ¶
func (o HostedConnectionOutput) Bandwidth() pulumi.StringOutput
The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive.
func (HostedConnectionOutput) ConnectionId ¶
func (o HostedConnectionOutput) ConnectionId() pulumi.StringOutput
The ID of the interconnect or LAG.
func (HostedConnectionOutput) ElementType ¶
func (HostedConnectionOutput) ElementType() reflect.Type
func (HostedConnectionOutput) HasLogicalRedundancy ¶
func (o HostedConnectionOutput) HasLogicalRedundancy() pulumi.StringOutput
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
func (HostedConnectionOutput) JumboFrameCapable ¶
func (o HostedConnectionOutput) JumboFrameCapable() pulumi.BoolOutput
Boolean value representing if jumbo frames have been enabled for this connection.
func (HostedConnectionOutput) LagId ¶
func (o HostedConnectionOutput) LagId() pulumi.StringOutput
The ID of the LAG.
func (HostedConnectionOutput) LoaIssueTime ¶
func (o HostedConnectionOutput) LoaIssueTime() pulumi.StringOutput
The time of the most recent call to [DescribeLoa](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLoa.html) for this connection.
func (HostedConnectionOutput) Location ¶
func (o HostedConnectionOutput) Location() pulumi.StringOutput
The location of the connection.
func (HostedConnectionOutput) Name ¶
func (o HostedConnectionOutput) Name() pulumi.StringOutput
The name of the connection.
func (HostedConnectionOutput) OwnerAccountId ¶
func (o HostedConnectionOutput) OwnerAccountId() pulumi.StringOutput
The ID of the AWS account of the customer for the connection.
func (HostedConnectionOutput) PartnerName ¶
func (o HostedConnectionOutput) PartnerName() pulumi.StringOutput
The name of the AWS Direct Connect service provider associated with the connection.
func (HostedConnectionOutput) ProviderName ¶
func (o HostedConnectionOutput) ProviderName() pulumi.StringOutput
The name of the service provider associated with the connection.
func (HostedConnectionOutput) Region ¶
func (o HostedConnectionOutput) Region() pulumi.StringOutput
The AWS Region where the connection is located.
func (HostedConnectionOutput) State ¶
func (o HostedConnectionOutput) State() pulumi.StringOutput
The state of the connection. Possible values include: ordering, requested, pending, available, down, deleting, deleted, rejected, unknown. See [AllocateHostedConnection](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_AllocateHostedConnection.html) for a description of each connection state.
func (HostedConnectionOutput) ToHostedConnectionOutput ¶
func (o HostedConnectionOutput) ToHostedConnectionOutput() HostedConnectionOutput
func (HostedConnectionOutput) ToHostedConnectionOutputWithContext ¶
func (o HostedConnectionOutput) ToHostedConnectionOutputWithContext(ctx context.Context) HostedConnectionOutput
func (HostedConnectionOutput) Vlan ¶
func (o HostedConnectionOutput) Vlan() pulumi.IntOutput
The dedicated VLAN provisioned to the hosted connection.
type HostedConnectionState ¶
type HostedConnectionState struct { // The Direct Connect endpoint on which the physical connection terminates. AwsDevice pulumi.StringPtrInput // The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive. Bandwidth pulumi.StringPtrInput // The ID of the interconnect or LAG. ConnectionId pulumi.StringPtrInput // Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6). HasLogicalRedundancy pulumi.StringPtrInput // Boolean value representing if jumbo frames have been enabled for this connection. JumboFrameCapable pulumi.BoolPtrInput // The ID of the LAG. LagId pulumi.StringPtrInput // The time of the most recent call to [DescribeLoa](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLoa.html) for this connection. LoaIssueTime pulumi.StringPtrInput // The location of the connection. Location pulumi.StringPtrInput // The name of the connection. Name pulumi.StringPtrInput // The ID of the AWS account of the customer for the connection. OwnerAccountId pulumi.StringPtrInput // The name of the AWS Direct Connect service provider associated with the connection. PartnerName pulumi.StringPtrInput // The name of the service provider associated with the connection. ProviderName pulumi.StringPtrInput // The AWS Region where the connection is located. Region pulumi.StringPtrInput // The state of the connection. Possible values include: ordering, requested, pending, available, down, deleting, deleted, rejected, unknown. See [AllocateHostedConnection](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_AllocateHostedConnection.html) for a description of each connection state. State pulumi.StringPtrInput // The dedicated VLAN provisioned to the hosted connection. Vlan pulumi.IntPtrInput }
func (HostedConnectionState) ElementType ¶
func (HostedConnectionState) ElementType() reflect.Type
type HostedPrivateVirtualInterface ¶
type HostedPrivateVirtualInterface struct { pulumi.CustomResourceState // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringOutput `pulumi:"addressFamily"` // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"` AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"` // The ARN of the virtual interface. Arn pulumi.StringOutput `pulumi:"arn"` // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringOutput `pulumi:"awsDevice"` // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"` // The authentication key for BGP configuration. BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"` // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringOutput `pulumi:"connectionId"` // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"` // Indicates whether jumbo frames (9001 MTU) are supported. JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"` // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrOutput `pulumi:"mtu"` // The name for the virtual interface. Name pulumi.StringOutput `pulumi:"name"` // The AWS account that will own the new virtual interface. OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"` // The VLAN ID. Vlan pulumi.IntOutput `pulumi:"vlan"` }
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewHostedPrivateVirtualInterface(ctx, "foo", &directconnect.HostedPrivateVirtualInterfaceArgs{ ConnectionId: pulumi.String("dxcon-zzzzzzzz"), Name: pulumi.String("vif-foo"), Vlan: pulumi.Int(4094), AddressFamily: pulumi.String("ipv4"), BgpAsn: pulumi.Int(65352), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect hosted private virtual interfaces using the VIF `id`. For example:
```sh
$ pulumi import aws:directconnect/hostedPrivateVirtualInterface:HostedPrivateVirtualInterface test dxvif-33cc44dd
```
func GetHostedPrivateVirtualInterface ¶
func GetHostedPrivateVirtualInterface(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HostedPrivateVirtualInterfaceState, opts ...pulumi.ResourceOption) (*HostedPrivateVirtualInterface, error)
GetHostedPrivateVirtualInterface gets an existing HostedPrivateVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHostedPrivateVirtualInterface ¶
func NewHostedPrivateVirtualInterface(ctx *pulumi.Context, name string, args *HostedPrivateVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*HostedPrivateVirtualInterface, error)
NewHostedPrivateVirtualInterface registers a new resource with the given unique name, arguments, and options.
func (*HostedPrivateVirtualInterface) ElementType ¶
func (*HostedPrivateVirtualInterface) ElementType() reflect.Type
func (*HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfaceOutput ¶
func (i *HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfaceOutput() HostedPrivateVirtualInterfaceOutput
func (*HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfaceOutputWithContext ¶
func (i *HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfaceOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceOutput
type HostedPrivateVirtualInterfaceAccepter ¶
type HostedPrivateVirtualInterfaceAccepter struct { pulumi.CustomResourceState // The ARN of the virtual interface. Arn pulumi.StringOutput `pulumi:"arn"` // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringPtrOutput `pulumi:"dxGatewayId"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The ID of the Direct Connect virtual interface to accept. VirtualInterfaceId pulumi.StringOutput `pulumi:"virtualInterfaceId"` // The ID of the virtual private gateway to which to connect the virtual interface. VpnGatewayId pulumi.StringPtrOutput `pulumi:"vpnGatewayId"` }
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { accepter, err := aws.GetCallerIdentity(ctx, nil, nil) if err != nil { return err } // Creator's side of the VIF creator, err := directconnect.NewHostedPrivateVirtualInterface(ctx, "creator", &directconnect.HostedPrivateVirtualInterfaceArgs{ ConnectionId: pulumi.String("dxcon-zzzzzzzz"), OwnerAccountId: *pulumi.String(accepter.AccountId), Name: pulumi.String("vif-foo"), Vlan: pulumi.Int(4094), AddressFamily: pulumi.String("ipv4"), BgpAsn: pulumi.Int(65352), }) if err != nil { return err } // Accepter's side of the VIF. vpnGw, err := ec2.NewVpnGateway(ctx, "vpn_gw", nil) if err != nil { return err } _, err = directconnect.NewHostedPrivateVirtualInterfaceAccepter(ctx, "accepter", &directconnect.HostedPrivateVirtualInterfaceAccepterArgs{ VirtualInterfaceId: creator.ID(), VpnGatewayId: vpnGw.ID(), Tags: pulumi.StringMap{ "Side": pulumi.String("Accepter"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect hosted private virtual interfaces using the VIF `id`. For example:
```sh
$ pulumi import aws:directconnect/hostedPrivateVirtualInterfaceAccepter:HostedPrivateVirtualInterfaceAccepter test dxvif-33cc44dd
```
func GetHostedPrivateVirtualInterfaceAccepter ¶
func GetHostedPrivateVirtualInterfaceAccepter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HostedPrivateVirtualInterfaceAccepterState, opts ...pulumi.ResourceOption) (*HostedPrivateVirtualInterfaceAccepter, error)
GetHostedPrivateVirtualInterfaceAccepter gets an existing HostedPrivateVirtualInterfaceAccepter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHostedPrivateVirtualInterfaceAccepter ¶
func NewHostedPrivateVirtualInterfaceAccepter(ctx *pulumi.Context, name string, args *HostedPrivateVirtualInterfaceAccepterArgs, opts ...pulumi.ResourceOption) (*HostedPrivateVirtualInterfaceAccepter, error)
NewHostedPrivateVirtualInterfaceAccepter registers a new resource with the given unique name, arguments, and options.
func (*HostedPrivateVirtualInterfaceAccepter) ElementType ¶
func (*HostedPrivateVirtualInterfaceAccepter) ElementType() reflect.Type
func (*HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterOutput ¶
func (i *HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterOutput() HostedPrivateVirtualInterfaceAccepterOutput
func (*HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterOutputWithContext ¶
func (i *HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterOutput
type HostedPrivateVirtualInterfaceAccepterArgs ¶
type HostedPrivateVirtualInterfaceAccepterArgs struct { // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The ID of the Direct Connect virtual interface to accept. VirtualInterfaceId pulumi.StringInput // The ID of the virtual private gateway to which to connect the virtual interface. VpnGatewayId pulumi.StringPtrInput }
The set of arguments for constructing a HostedPrivateVirtualInterfaceAccepter resource.
func (HostedPrivateVirtualInterfaceAccepterArgs) ElementType ¶
func (HostedPrivateVirtualInterfaceAccepterArgs) ElementType() reflect.Type
type HostedPrivateVirtualInterfaceAccepterArray ¶
type HostedPrivateVirtualInterfaceAccepterArray []HostedPrivateVirtualInterfaceAccepterInput
func (HostedPrivateVirtualInterfaceAccepterArray) ElementType ¶
func (HostedPrivateVirtualInterfaceAccepterArray) ElementType() reflect.Type
func (HostedPrivateVirtualInterfaceAccepterArray) ToHostedPrivateVirtualInterfaceAccepterArrayOutput ¶
func (i HostedPrivateVirtualInterfaceAccepterArray) ToHostedPrivateVirtualInterfaceAccepterArrayOutput() HostedPrivateVirtualInterfaceAccepterArrayOutput
func (HostedPrivateVirtualInterfaceAccepterArray) ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext ¶
func (i HostedPrivateVirtualInterfaceAccepterArray) ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterArrayOutput
type HostedPrivateVirtualInterfaceAccepterArrayInput ¶
type HostedPrivateVirtualInterfaceAccepterArrayInput interface { pulumi.Input ToHostedPrivateVirtualInterfaceAccepterArrayOutput() HostedPrivateVirtualInterfaceAccepterArrayOutput ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext(context.Context) HostedPrivateVirtualInterfaceAccepterArrayOutput }
HostedPrivateVirtualInterfaceAccepterArrayInput is an input type that accepts HostedPrivateVirtualInterfaceAccepterArray and HostedPrivateVirtualInterfaceAccepterArrayOutput values. You can construct a concrete instance of `HostedPrivateVirtualInterfaceAccepterArrayInput` via:
HostedPrivateVirtualInterfaceAccepterArray{ HostedPrivateVirtualInterfaceAccepterArgs{...} }
type HostedPrivateVirtualInterfaceAccepterArrayOutput ¶
type HostedPrivateVirtualInterfaceAccepterArrayOutput struct{ *pulumi.OutputState }
func (HostedPrivateVirtualInterfaceAccepterArrayOutput) ElementType ¶
func (HostedPrivateVirtualInterfaceAccepterArrayOutput) ElementType() reflect.Type
func (HostedPrivateVirtualInterfaceAccepterArrayOutput) ToHostedPrivateVirtualInterfaceAccepterArrayOutput ¶
func (o HostedPrivateVirtualInterfaceAccepterArrayOutput) ToHostedPrivateVirtualInterfaceAccepterArrayOutput() HostedPrivateVirtualInterfaceAccepterArrayOutput
func (HostedPrivateVirtualInterfaceAccepterArrayOutput) ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext ¶
func (o HostedPrivateVirtualInterfaceAccepterArrayOutput) ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterArrayOutput
type HostedPrivateVirtualInterfaceAccepterInput ¶
type HostedPrivateVirtualInterfaceAccepterInput interface { pulumi.Input ToHostedPrivateVirtualInterfaceAccepterOutput() HostedPrivateVirtualInterfaceAccepterOutput ToHostedPrivateVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterOutput }
type HostedPrivateVirtualInterfaceAccepterMap ¶
type HostedPrivateVirtualInterfaceAccepterMap map[string]HostedPrivateVirtualInterfaceAccepterInput
func (HostedPrivateVirtualInterfaceAccepterMap) ElementType ¶
func (HostedPrivateVirtualInterfaceAccepterMap) ElementType() reflect.Type
func (HostedPrivateVirtualInterfaceAccepterMap) ToHostedPrivateVirtualInterfaceAccepterMapOutput ¶
func (i HostedPrivateVirtualInterfaceAccepterMap) ToHostedPrivateVirtualInterfaceAccepterMapOutput() HostedPrivateVirtualInterfaceAccepterMapOutput
func (HostedPrivateVirtualInterfaceAccepterMap) ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext ¶
func (i HostedPrivateVirtualInterfaceAccepterMap) ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterMapOutput
type HostedPrivateVirtualInterfaceAccepterMapInput ¶
type HostedPrivateVirtualInterfaceAccepterMapInput interface { pulumi.Input ToHostedPrivateVirtualInterfaceAccepterMapOutput() HostedPrivateVirtualInterfaceAccepterMapOutput ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext(context.Context) HostedPrivateVirtualInterfaceAccepterMapOutput }
HostedPrivateVirtualInterfaceAccepterMapInput is an input type that accepts HostedPrivateVirtualInterfaceAccepterMap and HostedPrivateVirtualInterfaceAccepterMapOutput values. You can construct a concrete instance of `HostedPrivateVirtualInterfaceAccepterMapInput` via:
HostedPrivateVirtualInterfaceAccepterMap{ "key": HostedPrivateVirtualInterfaceAccepterArgs{...} }
type HostedPrivateVirtualInterfaceAccepterMapOutput ¶
type HostedPrivateVirtualInterfaceAccepterMapOutput struct{ *pulumi.OutputState }
func (HostedPrivateVirtualInterfaceAccepterMapOutput) ElementType ¶
func (HostedPrivateVirtualInterfaceAccepterMapOutput) ElementType() reflect.Type
func (HostedPrivateVirtualInterfaceAccepterMapOutput) ToHostedPrivateVirtualInterfaceAccepterMapOutput ¶
func (o HostedPrivateVirtualInterfaceAccepterMapOutput) ToHostedPrivateVirtualInterfaceAccepterMapOutput() HostedPrivateVirtualInterfaceAccepterMapOutput
func (HostedPrivateVirtualInterfaceAccepterMapOutput) ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext ¶
func (o HostedPrivateVirtualInterfaceAccepterMapOutput) ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterMapOutput
type HostedPrivateVirtualInterfaceAccepterOutput ¶
type HostedPrivateVirtualInterfaceAccepterOutput struct{ *pulumi.OutputState }
func (HostedPrivateVirtualInterfaceAccepterOutput) Arn ¶
func (o HostedPrivateVirtualInterfaceAccepterOutput) Arn() pulumi.StringOutput
The ARN of the virtual interface.
func (HostedPrivateVirtualInterfaceAccepterOutput) DxGatewayId ¶
func (o HostedPrivateVirtualInterfaceAccepterOutput) DxGatewayId() pulumi.StringPtrOutput
The ID of the Direct Connect gateway to which to connect the virtual interface.
func (HostedPrivateVirtualInterfaceAccepterOutput) ElementType ¶
func (HostedPrivateVirtualInterfaceAccepterOutput) ElementType() reflect.Type
func (HostedPrivateVirtualInterfaceAccepterOutput) Tags ¶
func (o HostedPrivateVirtualInterfaceAccepterOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (HostedPrivateVirtualInterfaceAccepterOutput) TagsAll
deprecated
func (o HostedPrivateVirtualInterfaceAccepterOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterOutput ¶
func (o HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterOutput() HostedPrivateVirtualInterfaceAccepterOutput
func (HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterOutputWithContext ¶
func (o HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterOutput
func (HostedPrivateVirtualInterfaceAccepterOutput) VirtualInterfaceId ¶
func (o HostedPrivateVirtualInterfaceAccepterOutput) VirtualInterfaceId() pulumi.StringOutput
The ID of the Direct Connect virtual interface to accept.
func (HostedPrivateVirtualInterfaceAccepterOutput) VpnGatewayId ¶
func (o HostedPrivateVirtualInterfaceAccepterOutput) VpnGatewayId() pulumi.StringPtrOutput
The ID of the virtual private gateway to which to connect the virtual interface.
type HostedPrivateVirtualInterfaceAccepterState ¶
type HostedPrivateVirtualInterfaceAccepterState struct { // The ARN of the virtual interface. Arn pulumi.StringPtrInput // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The ID of the Direct Connect virtual interface to accept. VirtualInterfaceId pulumi.StringPtrInput // The ID of the virtual private gateway to which to connect the virtual interface. VpnGatewayId pulumi.StringPtrInput }
func (HostedPrivateVirtualInterfaceAccepterState) ElementType ¶
func (HostedPrivateVirtualInterfaceAccepterState) ElementType() reflect.Type
type HostedPrivateVirtualInterfaceArgs ¶
type HostedPrivateVirtualInterfaceArgs struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // The AWS account that will own the new virtual interface. OwnerAccountId pulumi.StringInput // The VLAN ID. Vlan pulumi.IntInput }
The set of arguments for constructing a HostedPrivateVirtualInterface resource.
func (HostedPrivateVirtualInterfaceArgs) ElementType ¶
func (HostedPrivateVirtualInterfaceArgs) ElementType() reflect.Type
type HostedPrivateVirtualInterfaceArray ¶
type HostedPrivateVirtualInterfaceArray []HostedPrivateVirtualInterfaceInput
func (HostedPrivateVirtualInterfaceArray) ElementType ¶
func (HostedPrivateVirtualInterfaceArray) ElementType() reflect.Type
func (HostedPrivateVirtualInterfaceArray) ToHostedPrivateVirtualInterfaceArrayOutput ¶
func (i HostedPrivateVirtualInterfaceArray) ToHostedPrivateVirtualInterfaceArrayOutput() HostedPrivateVirtualInterfaceArrayOutput
func (HostedPrivateVirtualInterfaceArray) ToHostedPrivateVirtualInterfaceArrayOutputWithContext ¶
func (i HostedPrivateVirtualInterfaceArray) ToHostedPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceArrayOutput
type HostedPrivateVirtualInterfaceArrayInput ¶
type HostedPrivateVirtualInterfaceArrayInput interface { pulumi.Input ToHostedPrivateVirtualInterfaceArrayOutput() HostedPrivateVirtualInterfaceArrayOutput ToHostedPrivateVirtualInterfaceArrayOutputWithContext(context.Context) HostedPrivateVirtualInterfaceArrayOutput }
HostedPrivateVirtualInterfaceArrayInput is an input type that accepts HostedPrivateVirtualInterfaceArray and HostedPrivateVirtualInterfaceArrayOutput values. You can construct a concrete instance of `HostedPrivateVirtualInterfaceArrayInput` via:
HostedPrivateVirtualInterfaceArray{ HostedPrivateVirtualInterfaceArgs{...} }
type HostedPrivateVirtualInterfaceArrayOutput ¶
type HostedPrivateVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }
func (HostedPrivateVirtualInterfaceArrayOutput) ElementType ¶
func (HostedPrivateVirtualInterfaceArrayOutput) ElementType() reflect.Type
func (HostedPrivateVirtualInterfaceArrayOutput) ToHostedPrivateVirtualInterfaceArrayOutput ¶
func (o HostedPrivateVirtualInterfaceArrayOutput) ToHostedPrivateVirtualInterfaceArrayOutput() HostedPrivateVirtualInterfaceArrayOutput
func (HostedPrivateVirtualInterfaceArrayOutput) ToHostedPrivateVirtualInterfaceArrayOutputWithContext ¶
func (o HostedPrivateVirtualInterfaceArrayOutput) ToHostedPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceArrayOutput
type HostedPrivateVirtualInterfaceInput ¶
type HostedPrivateVirtualInterfaceInput interface { pulumi.Input ToHostedPrivateVirtualInterfaceOutput() HostedPrivateVirtualInterfaceOutput ToHostedPrivateVirtualInterfaceOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceOutput }
type HostedPrivateVirtualInterfaceMap ¶
type HostedPrivateVirtualInterfaceMap map[string]HostedPrivateVirtualInterfaceInput
func (HostedPrivateVirtualInterfaceMap) ElementType ¶
func (HostedPrivateVirtualInterfaceMap) ElementType() reflect.Type
func (HostedPrivateVirtualInterfaceMap) ToHostedPrivateVirtualInterfaceMapOutput ¶
func (i HostedPrivateVirtualInterfaceMap) ToHostedPrivateVirtualInterfaceMapOutput() HostedPrivateVirtualInterfaceMapOutput
func (HostedPrivateVirtualInterfaceMap) ToHostedPrivateVirtualInterfaceMapOutputWithContext ¶
func (i HostedPrivateVirtualInterfaceMap) ToHostedPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceMapOutput
type HostedPrivateVirtualInterfaceMapInput ¶
type HostedPrivateVirtualInterfaceMapInput interface { pulumi.Input ToHostedPrivateVirtualInterfaceMapOutput() HostedPrivateVirtualInterfaceMapOutput ToHostedPrivateVirtualInterfaceMapOutputWithContext(context.Context) HostedPrivateVirtualInterfaceMapOutput }
HostedPrivateVirtualInterfaceMapInput is an input type that accepts HostedPrivateVirtualInterfaceMap and HostedPrivateVirtualInterfaceMapOutput values. You can construct a concrete instance of `HostedPrivateVirtualInterfaceMapInput` via:
HostedPrivateVirtualInterfaceMap{ "key": HostedPrivateVirtualInterfaceArgs{...} }
type HostedPrivateVirtualInterfaceMapOutput ¶
type HostedPrivateVirtualInterfaceMapOutput struct{ *pulumi.OutputState }
func (HostedPrivateVirtualInterfaceMapOutput) ElementType ¶
func (HostedPrivateVirtualInterfaceMapOutput) ElementType() reflect.Type
func (HostedPrivateVirtualInterfaceMapOutput) MapIndex ¶
func (o HostedPrivateVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) HostedPrivateVirtualInterfaceOutput
func (HostedPrivateVirtualInterfaceMapOutput) ToHostedPrivateVirtualInterfaceMapOutput ¶
func (o HostedPrivateVirtualInterfaceMapOutput) ToHostedPrivateVirtualInterfaceMapOutput() HostedPrivateVirtualInterfaceMapOutput
func (HostedPrivateVirtualInterfaceMapOutput) ToHostedPrivateVirtualInterfaceMapOutputWithContext ¶
func (o HostedPrivateVirtualInterfaceMapOutput) ToHostedPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceMapOutput
type HostedPrivateVirtualInterfaceOutput ¶
type HostedPrivateVirtualInterfaceOutput struct{ *pulumi.OutputState }
func (HostedPrivateVirtualInterfaceOutput) AddressFamily ¶
func (o HostedPrivateVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
The address family for the BGP peer. ` ipv4 ` or `ipv6`.
func (HostedPrivateVirtualInterfaceOutput) AmazonAddress ¶
func (o HostedPrivateVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
func (HostedPrivateVirtualInterfaceOutput) AmazonSideAsn ¶
func (o HostedPrivateVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
func (HostedPrivateVirtualInterfaceOutput) Arn ¶
func (o HostedPrivateVirtualInterfaceOutput) Arn() pulumi.StringOutput
The ARN of the virtual interface.
func (HostedPrivateVirtualInterfaceOutput) AwsDevice ¶
func (o HostedPrivateVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
The Direct Connect endpoint on which the virtual interface terminates.
func (HostedPrivateVirtualInterfaceOutput) BgpAsn ¶
func (o HostedPrivateVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
func (HostedPrivateVirtualInterfaceOutput) BgpAuthKey ¶
func (o HostedPrivateVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
The authentication key for BGP configuration.
func (HostedPrivateVirtualInterfaceOutput) ConnectionId ¶
func (o HostedPrivateVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
func (HostedPrivateVirtualInterfaceOutput) CustomerAddress ¶
func (o HostedPrivateVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
func (HostedPrivateVirtualInterfaceOutput) ElementType ¶
func (HostedPrivateVirtualInterfaceOutput) ElementType() reflect.Type
func (HostedPrivateVirtualInterfaceOutput) JumboFrameCapable ¶
func (o HostedPrivateVirtualInterfaceOutput) JumboFrameCapable() pulumi.BoolOutput
Indicates whether jumbo frames (9001 MTU) are supported.
func (HostedPrivateVirtualInterfaceOutput) Mtu ¶
func (o HostedPrivateVirtualInterfaceOutput) Mtu() pulumi.IntPtrOutput
The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`.
func (HostedPrivateVirtualInterfaceOutput) Name ¶
func (o HostedPrivateVirtualInterfaceOutput) Name() pulumi.StringOutput
The name for the virtual interface.
func (HostedPrivateVirtualInterfaceOutput) OwnerAccountId ¶
func (o HostedPrivateVirtualInterfaceOutput) OwnerAccountId() pulumi.StringOutput
The AWS account that will own the new virtual interface.
func (HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfaceOutput ¶
func (o HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfaceOutput() HostedPrivateVirtualInterfaceOutput
func (HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfaceOutputWithContext ¶
func (o HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfaceOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceOutput
func (HostedPrivateVirtualInterfaceOutput) Vlan ¶
func (o HostedPrivateVirtualInterfaceOutput) Vlan() pulumi.IntOutput
The VLAN ID.
type HostedPrivateVirtualInterfaceState ¶
type HostedPrivateVirtualInterfaceState struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringPtrInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput AmazonSideAsn pulumi.StringPtrInput // The ARN of the virtual interface. Arn pulumi.StringPtrInput // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntPtrInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringPtrInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // Indicates whether jumbo frames (9001 MTU) are supported. JumboFrameCapable pulumi.BoolPtrInput // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // The AWS account that will own the new virtual interface. OwnerAccountId pulumi.StringPtrInput // The VLAN ID. Vlan pulumi.IntPtrInput }
func (HostedPrivateVirtualInterfaceState) ElementType ¶
func (HostedPrivateVirtualInterfaceState) ElementType() reflect.Type
type HostedPublicVirtualInterface ¶
type HostedPublicVirtualInterface struct { pulumi.CustomResourceState // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringOutput `pulumi:"addressFamily"` // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"` AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"` // The ARN of the virtual interface. Arn pulumi.StringOutput `pulumi:"arn"` // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringOutput `pulumi:"awsDevice"` // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"` // The authentication key for BGP configuration. BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"` // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringOutput `pulumi:"connectionId"` // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"` // The name for the virtual interface. Name pulumi.StringOutput `pulumi:"name"` // The AWS account that will own the new virtual interface. OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"` // A list of routes to be advertised to the AWS network in this region. RouteFilterPrefixes pulumi.StringArrayOutput `pulumi:"routeFilterPrefixes"` // The VLAN ID. Vlan pulumi.IntOutput `pulumi:"vlan"` }
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewHostedPublicVirtualInterface(ctx, "foo", &directconnect.HostedPublicVirtualInterfaceArgs{ ConnectionId: pulumi.String("dxcon-zzzzzzzz"), Name: pulumi.String("vif-foo"), Vlan: pulumi.Int(4094), AddressFamily: pulumi.String("ipv4"), BgpAsn: pulumi.Int(65352), CustomerAddress: pulumi.String("175.45.176.1/30"), AmazonAddress: pulumi.String("175.45.176.2/30"), RouteFilterPrefixes: pulumi.StringArray{ pulumi.String("210.52.109.0/24"), pulumi.String("175.45.176.0/22"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect hosted public virtual interfaces using the VIF `id`. For example:
```sh
$ pulumi import aws:directconnect/hostedPublicVirtualInterface:HostedPublicVirtualInterface test dxvif-33cc44dd
```
func GetHostedPublicVirtualInterface ¶
func GetHostedPublicVirtualInterface(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HostedPublicVirtualInterfaceState, opts ...pulumi.ResourceOption) (*HostedPublicVirtualInterface, error)
GetHostedPublicVirtualInterface gets an existing HostedPublicVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHostedPublicVirtualInterface ¶
func NewHostedPublicVirtualInterface(ctx *pulumi.Context, name string, args *HostedPublicVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*HostedPublicVirtualInterface, error)
NewHostedPublicVirtualInterface registers a new resource with the given unique name, arguments, and options.
func (*HostedPublicVirtualInterface) ElementType ¶
func (*HostedPublicVirtualInterface) ElementType() reflect.Type
func (*HostedPublicVirtualInterface) ToHostedPublicVirtualInterfaceOutput ¶
func (i *HostedPublicVirtualInterface) ToHostedPublicVirtualInterfaceOutput() HostedPublicVirtualInterfaceOutput
func (*HostedPublicVirtualInterface) ToHostedPublicVirtualInterfaceOutputWithContext ¶
func (i *HostedPublicVirtualInterface) ToHostedPublicVirtualInterfaceOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceOutput
type HostedPublicVirtualInterfaceAccepter ¶
type HostedPublicVirtualInterfaceAccepter struct { pulumi.CustomResourceState // The ARN of the virtual interface. Arn pulumi.StringOutput `pulumi:"arn"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The ID of the Direct Connect virtual interface to accept. VirtualInterfaceId pulumi.StringOutput `pulumi:"virtualInterfaceId"` }
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { accepter, err := aws.GetCallerIdentity(ctx, nil, nil) if err != nil { return err } // Creator's side of the VIF creator, err := directconnect.NewHostedPublicVirtualInterface(ctx, "creator", &directconnect.HostedPublicVirtualInterfaceArgs{ ConnectionId: pulumi.String("dxcon-zzzzzzzz"), OwnerAccountId: *pulumi.String(accepter.AccountId), Name: pulumi.String("vif-foo"), Vlan: pulumi.Int(4094), AddressFamily: pulumi.String("ipv4"), BgpAsn: pulumi.Int(65352), CustomerAddress: pulumi.String("175.45.176.1/30"), AmazonAddress: pulumi.String("175.45.176.2/30"), RouteFilterPrefixes: pulumi.StringArray{ pulumi.String("210.52.109.0/24"), pulumi.String("175.45.176.0/22"), }, }) if err != nil { return err } // Accepter's side of the VIF. _, err = directconnect.NewHostedPublicVirtualInterfaceAccepter(ctx, "accepter", &directconnect.HostedPublicVirtualInterfaceAccepterArgs{ VirtualInterfaceId: creator.ID(), Tags: pulumi.StringMap{ "Side": pulumi.String("Accepter"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect hosted public virtual interfaces using the VIF `id`. For example:
```sh
$ pulumi import aws:directconnect/hostedPublicVirtualInterfaceAccepter:HostedPublicVirtualInterfaceAccepter test dxvif-33cc44dd
```
func GetHostedPublicVirtualInterfaceAccepter ¶
func GetHostedPublicVirtualInterfaceAccepter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HostedPublicVirtualInterfaceAccepterState, opts ...pulumi.ResourceOption) (*HostedPublicVirtualInterfaceAccepter, error)
GetHostedPublicVirtualInterfaceAccepter gets an existing HostedPublicVirtualInterfaceAccepter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHostedPublicVirtualInterfaceAccepter ¶
func NewHostedPublicVirtualInterfaceAccepter(ctx *pulumi.Context, name string, args *HostedPublicVirtualInterfaceAccepterArgs, opts ...pulumi.ResourceOption) (*HostedPublicVirtualInterfaceAccepter, error)
NewHostedPublicVirtualInterfaceAccepter registers a new resource with the given unique name, arguments, and options.
func (*HostedPublicVirtualInterfaceAccepter) ElementType ¶
func (*HostedPublicVirtualInterfaceAccepter) ElementType() reflect.Type
func (*HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterOutput ¶
func (i *HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterOutput() HostedPublicVirtualInterfaceAccepterOutput
func (*HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterOutputWithContext ¶
func (i *HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterOutput
type HostedPublicVirtualInterfaceAccepterArgs ¶
type HostedPublicVirtualInterfaceAccepterArgs struct { // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The ID of the Direct Connect virtual interface to accept. VirtualInterfaceId pulumi.StringInput }
The set of arguments for constructing a HostedPublicVirtualInterfaceAccepter resource.
func (HostedPublicVirtualInterfaceAccepterArgs) ElementType ¶
func (HostedPublicVirtualInterfaceAccepterArgs) ElementType() reflect.Type
type HostedPublicVirtualInterfaceAccepterArray ¶
type HostedPublicVirtualInterfaceAccepterArray []HostedPublicVirtualInterfaceAccepterInput
func (HostedPublicVirtualInterfaceAccepterArray) ElementType ¶
func (HostedPublicVirtualInterfaceAccepterArray) ElementType() reflect.Type
func (HostedPublicVirtualInterfaceAccepterArray) ToHostedPublicVirtualInterfaceAccepterArrayOutput ¶
func (i HostedPublicVirtualInterfaceAccepterArray) ToHostedPublicVirtualInterfaceAccepterArrayOutput() HostedPublicVirtualInterfaceAccepterArrayOutput
func (HostedPublicVirtualInterfaceAccepterArray) ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext ¶
func (i HostedPublicVirtualInterfaceAccepterArray) ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterArrayOutput
type HostedPublicVirtualInterfaceAccepterArrayInput ¶
type HostedPublicVirtualInterfaceAccepterArrayInput interface { pulumi.Input ToHostedPublicVirtualInterfaceAccepterArrayOutput() HostedPublicVirtualInterfaceAccepterArrayOutput ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext(context.Context) HostedPublicVirtualInterfaceAccepterArrayOutput }
HostedPublicVirtualInterfaceAccepterArrayInput is an input type that accepts HostedPublicVirtualInterfaceAccepterArray and HostedPublicVirtualInterfaceAccepterArrayOutput values. You can construct a concrete instance of `HostedPublicVirtualInterfaceAccepterArrayInput` via:
HostedPublicVirtualInterfaceAccepterArray{ HostedPublicVirtualInterfaceAccepterArgs{...} }
type HostedPublicVirtualInterfaceAccepterArrayOutput ¶
type HostedPublicVirtualInterfaceAccepterArrayOutput struct{ *pulumi.OutputState }
func (HostedPublicVirtualInterfaceAccepterArrayOutput) ElementType ¶
func (HostedPublicVirtualInterfaceAccepterArrayOutput) ElementType() reflect.Type
func (HostedPublicVirtualInterfaceAccepterArrayOutput) ToHostedPublicVirtualInterfaceAccepterArrayOutput ¶
func (o HostedPublicVirtualInterfaceAccepterArrayOutput) ToHostedPublicVirtualInterfaceAccepterArrayOutput() HostedPublicVirtualInterfaceAccepterArrayOutput
func (HostedPublicVirtualInterfaceAccepterArrayOutput) ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext ¶
func (o HostedPublicVirtualInterfaceAccepterArrayOutput) ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterArrayOutput
type HostedPublicVirtualInterfaceAccepterInput ¶
type HostedPublicVirtualInterfaceAccepterInput interface { pulumi.Input ToHostedPublicVirtualInterfaceAccepterOutput() HostedPublicVirtualInterfaceAccepterOutput ToHostedPublicVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterOutput }
type HostedPublicVirtualInterfaceAccepterMap ¶
type HostedPublicVirtualInterfaceAccepterMap map[string]HostedPublicVirtualInterfaceAccepterInput
func (HostedPublicVirtualInterfaceAccepterMap) ElementType ¶
func (HostedPublicVirtualInterfaceAccepterMap) ElementType() reflect.Type
func (HostedPublicVirtualInterfaceAccepterMap) ToHostedPublicVirtualInterfaceAccepterMapOutput ¶
func (i HostedPublicVirtualInterfaceAccepterMap) ToHostedPublicVirtualInterfaceAccepterMapOutput() HostedPublicVirtualInterfaceAccepterMapOutput
func (HostedPublicVirtualInterfaceAccepterMap) ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext ¶
func (i HostedPublicVirtualInterfaceAccepterMap) ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterMapOutput
type HostedPublicVirtualInterfaceAccepterMapInput ¶
type HostedPublicVirtualInterfaceAccepterMapInput interface { pulumi.Input ToHostedPublicVirtualInterfaceAccepterMapOutput() HostedPublicVirtualInterfaceAccepterMapOutput ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext(context.Context) HostedPublicVirtualInterfaceAccepterMapOutput }
HostedPublicVirtualInterfaceAccepterMapInput is an input type that accepts HostedPublicVirtualInterfaceAccepterMap and HostedPublicVirtualInterfaceAccepterMapOutput values. You can construct a concrete instance of `HostedPublicVirtualInterfaceAccepterMapInput` via:
HostedPublicVirtualInterfaceAccepterMap{ "key": HostedPublicVirtualInterfaceAccepterArgs{...} }
type HostedPublicVirtualInterfaceAccepterMapOutput ¶
type HostedPublicVirtualInterfaceAccepterMapOutput struct{ *pulumi.OutputState }
func (HostedPublicVirtualInterfaceAccepterMapOutput) ElementType ¶
func (HostedPublicVirtualInterfaceAccepterMapOutput) ElementType() reflect.Type
func (HostedPublicVirtualInterfaceAccepterMapOutput) ToHostedPublicVirtualInterfaceAccepterMapOutput ¶
func (o HostedPublicVirtualInterfaceAccepterMapOutput) ToHostedPublicVirtualInterfaceAccepterMapOutput() HostedPublicVirtualInterfaceAccepterMapOutput
func (HostedPublicVirtualInterfaceAccepterMapOutput) ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext ¶
func (o HostedPublicVirtualInterfaceAccepterMapOutput) ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterMapOutput
type HostedPublicVirtualInterfaceAccepterOutput ¶
type HostedPublicVirtualInterfaceAccepterOutput struct{ *pulumi.OutputState }
func (HostedPublicVirtualInterfaceAccepterOutput) Arn ¶
func (o HostedPublicVirtualInterfaceAccepterOutput) Arn() pulumi.StringOutput
The ARN of the virtual interface.
func (HostedPublicVirtualInterfaceAccepterOutput) ElementType ¶
func (HostedPublicVirtualInterfaceAccepterOutput) ElementType() reflect.Type
func (HostedPublicVirtualInterfaceAccepterOutput) Tags ¶
func (o HostedPublicVirtualInterfaceAccepterOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (HostedPublicVirtualInterfaceAccepterOutput) TagsAll
deprecated
func (o HostedPublicVirtualInterfaceAccepterOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterOutput ¶
func (o HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterOutput() HostedPublicVirtualInterfaceAccepterOutput
func (HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterOutputWithContext ¶
func (o HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterOutput
func (HostedPublicVirtualInterfaceAccepterOutput) VirtualInterfaceId ¶
func (o HostedPublicVirtualInterfaceAccepterOutput) VirtualInterfaceId() pulumi.StringOutput
The ID of the Direct Connect virtual interface to accept.
type HostedPublicVirtualInterfaceAccepterState ¶
type HostedPublicVirtualInterfaceAccepterState struct { // The ARN of the virtual interface. Arn pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The ID of the Direct Connect virtual interface to accept. VirtualInterfaceId pulumi.StringPtrInput }
func (HostedPublicVirtualInterfaceAccepterState) ElementType ¶
func (HostedPublicVirtualInterfaceAccepterState) ElementType() reflect.Type
type HostedPublicVirtualInterfaceArgs ¶
type HostedPublicVirtualInterfaceArgs struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // The AWS account that will own the new virtual interface. OwnerAccountId pulumi.StringInput // A list of routes to be advertised to the AWS network in this region. RouteFilterPrefixes pulumi.StringArrayInput // The VLAN ID. Vlan pulumi.IntInput }
The set of arguments for constructing a HostedPublicVirtualInterface resource.
func (HostedPublicVirtualInterfaceArgs) ElementType ¶
func (HostedPublicVirtualInterfaceArgs) ElementType() reflect.Type
type HostedPublicVirtualInterfaceArray ¶
type HostedPublicVirtualInterfaceArray []HostedPublicVirtualInterfaceInput
func (HostedPublicVirtualInterfaceArray) ElementType ¶
func (HostedPublicVirtualInterfaceArray) ElementType() reflect.Type
func (HostedPublicVirtualInterfaceArray) ToHostedPublicVirtualInterfaceArrayOutput ¶
func (i HostedPublicVirtualInterfaceArray) ToHostedPublicVirtualInterfaceArrayOutput() HostedPublicVirtualInterfaceArrayOutput
func (HostedPublicVirtualInterfaceArray) ToHostedPublicVirtualInterfaceArrayOutputWithContext ¶
func (i HostedPublicVirtualInterfaceArray) ToHostedPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceArrayOutput
type HostedPublicVirtualInterfaceArrayInput ¶
type HostedPublicVirtualInterfaceArrayInput interface { pulumi.Input ToHostedPublicVirtualInterfaceArrayOutput() HostedPublicVirtualInterfaceArrayOutput ToHostedPublicVirtualInterfaceArrayOutputWithContext(context.Context) HostedPublicVirtualInterfaceArrayOutput }
HostedPublicVirtualInterfaceArrayInput is an input type that accepts HostedPublicVirtualInterfaceArray and HostedPublicVirtualInterfaceArrayOutput values. You can construct a concrete instance of `HostedPublicVirtualInterfaceArrayInput` via:
HostedPublicVirtualInterfaceArray{ HostedPublicVirtualInterfaceArgs{...} }
type HostedPublicVirtualInterfaceArrayOutput ¶
type HostedPublicVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }
func (HostedPublicVirtualInterfaceArrayOutput) ElementType ¶
func (HostedPublicVirtualInterfaceArrayOutput) ElementType() reflect.Type
func (HostedPublicVirtualInterfaceArrayOutput) ToHostedPublicVirtualInterfaceArrayOutput ¶
func (o HostedPublicVirtualInterfaceArrayOutput) ToHostedPublicVirtualInterfaceArrayOutput() HostedPublicVirtualInterfaceArrayOutput
func (HostedPublicVirtualInterfaceArrayOutput) ToHostedPublicVirtualInterfaceArrayOutputWithContext ¶
func (o HostedPublicVirtualInterfaceArrayOutput) ToHostedPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceArrayOutput
type HostedPublicVirtualInterfaceInput ¶
type HostedPublicVirtualInterfaceInput interface { pulumi.Input ToHostedPublicVirtualInterfaceOutput() HostedPublicVirtualInterfaceOutput ToHostedPublicVirtualInterfaceOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceOutput }
type HostedPublicVirtualInterfaceMap ¶
type HostedPublicVirtualInterfaceMap map[string]HostedPublicVirtualInterfaceInput
func (HostedPublicVirtualInterfaceMap) ElementType ¶
func (HostedPublicVirtualInterfaceMap) ElementType() reflect.Type
func (HostedPublicVirtualInterfaceMap) ToHostedPublicVirtualInterfaceMapOutput ¶
func (i HostedPublicVirtualInterfaceMap) ToHostedPublicVirtualInterfaceMapOutput() HostedPublicVirtualInterfaceMapOutput
func (HostedPublicVirtualInterfaceMap) ToHostedPublicVirtualInterfaceMapOutputWithContext ¶
func (i HostedPublicVirtualInterfaceMap) ToHostedPublicVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceMapOutput
type HostedPublicVirtualInterfaceMapInput ¶
type HostedPublicVirtualInterfaceMapInput interface { pulumi.Input ToHostedPublicVirtualInterfaceMapOutput() HostedPublicVirtualInterfaceMapOutput ToHostedPublicVirtualInterfaceMapOutputWithContext(context.Context) HostedPublicVirtualInterfaceMapOutput }
HostedPublicVirtualInterfaceMapInput is an input type that accepts HostedPublicVirtualInterfaceMap and HostedPublicVirtualInterfaceMapOutput values. You can construct a concrete instance of `HostedPublicVirtualInterfaceMapInput` via:
HostedPublicVirtualInterfaceMap{ "key": HostedPublicVirtualInterfaceArgs{...} }
type HostedPublicVirtualInterfaceMapOutput ¶
type HostedPublicVirtualInterfaceMapOutput struct{ *pulumi.OutputState }
func (HostedPublicVirtualInterfaceMapOutput) ElementType ¶
func (HostedPublicVirtualInterfaceMapOutput) ElementType() reflect.Type
func (HostedPublicVirtualInterfaceMapOutput) MapIndex ¶
func (o HostedPublicVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) HostedPublicVirtualInterfaceOutput
func (HostedPublicVirtualInterfaceMapOutput) ToHostedPublicVirtualInterfaceMapOutput ¶
func (o HostedPublicVirtualInterfaceMapOutput) ToHostedPublicVirtualInterfaceMapOutput() HostedPublicVirtualInterfaceMapOutput
func (HostedPublicVirtualInterfaceMapOutput) ToHostedPublicVirtualInterfaceMapOutputWithContext ¶
func (o HostedPublicVirtualInterfaceMapOutput) ToHostedPublicVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceMapOutput
type HostedPublicVirtualInterfaceOutput ¶
type HostedPublicVirtualInterfaceOutput struct{ *pulumi.OutputState }
func (HostedPublicVirtualInterfaceOutput) AddressFamily ¶
func (o HostedPublicVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
The address family for the BGP peer. ` ipv4 ` or `ipv6`.
func (HostedPublicVirtualInterfaceOutput) AmazonAddress ¶
func (o HostedPublicVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
func (HostedPublicVirtualInterfaceOutput) AmazonSideAsn ¶
func (o HostedPublicVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
func (HostedPublicVirtualInterfaceOutput) Arn ¶
func (o HostedPublicVirtualInterfaceOutput) Arn() pulumi.StringOutput
The ARN of the virtual interface.
func (HostedPublicVirtualInterfaceOutput) AwsDevice ¶
func (o HostedPublicVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
The Direct Connect endpoint on which the virtual interface terminates.
func (HostedPublicVirtualInterfaceOutput) BgpAsn ¶
func (o HostedPublicVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
func (HostedPublicVirtualInterfaceOutput) BgpAuthKey ¶
func (o HostedPublicVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
The authentication key for BGP configuration.
func (HostedPublicVirtualInterfaceOutput) ConnectionId ¶
func (o HostedPublicVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
func (HostedPublicVirtualInterfaceOutput) CustomerAddress ¶
func (o HostedPublicVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
func (HostedPublicVirtualInterfaceOutput) ElementType ¶
func (HostedPublicVirtualInterfaceOutput) ElementType() reflect.Type
func (HostedPublicVirtualInterfaceOutput) Name ¶
func (o HostedPublicVirtualInterfaceOutput) Name() pulumi.StringOutput
The name for the virtual interface.
func (HostedPublicVirtualInterfaceOutput) OwnerAccountId ¶
func (o HostedPublicVirtualInterfaceOutput) OwnerAccountId() pulumi.StringOutput
The AWS account that will own the new virtual interface.
func (HostedPublicVirtualInterfaceOutput) RouteFilterPrefixes ¶
func (o HostedPublicVirtualInterfaceOutput) RouteFilterPrefixes() pulumi.StringArrayOutput
A list of routes to be advertised to the AWS network in this region.
func (HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfaceOutput ¶
func (o HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfaceOutput() HostedPublicVirtualInterfaceOutput
func (HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfaceOutputWithContext ¶
func (o HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfaceOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceOutput
func (HostedPublicVirtualInterfaceOutput) Vlan ¶
func (o HostedPublicVirtualInterfaceOutput) Vlan() pulumi.IntOutput
The VLAN ID.
type HostedPublicVirtualInterfaceState ¶
type HostedPublicVirtualInterfaceState struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringPtrInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput AmazonSideAsn pulumi.StringPtrInput // The ARN of the virtual interface. Arn pulumi.StringPtrInput // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntPtrInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringPtrInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // The AWS account that will own the new virtual interface. OwnerAccountId pulumi.StringPtrInput // A list of routes to be advertised to the AWS network in this region. RouteFilterPrefixes pulumi.StringArrayInput // The VLAN ID. Vlan pulumi.IntPtrInput }
func (HostedPublicVirtualInterfaceState) ElementType ¶
func (HostedPublicVirtualInterfaceState) ElementType() reflect.Type
type HostedTransitVirtualInterface ¶
type HostedTransitVirtualInterface struct { pulumi.CustomResourceState // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringOutput `pulumi:"addressFamily"` // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"` AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"` // The ARN of the virtual interface. Arn pulumi.StringOutput `pulumi:"arn"` // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringOutput `pulumi:"awsDevice"` // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"` // The authentication key for BGP configuration. BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"` // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringOutput `pulumi:"connectionId"` // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"` // Indicates whether jumbo frames (8500 MTU) are supported. JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"` // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrOutput `pulumi:"mtu"` // The name for the virtual interface. Name pulumi.StringOutput `pulumi:"name"` // The AWS account that will own the new virtual interface. OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"` // The VLAN ID. Vlan pulumi.IntOutput `pulumi:"vlan"` }
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewHostedTransitVirtualInterface(ctx, "example", &directconnect.HostedTransitVirtualInterfaceArgs{ ConnectionId: pulumi.Any(exampleAwsDxConnection.Id), Name: pulumi.String("tf-transit-vif-example"), Vlan: pulumi.Int(4094), AddressFamily: pulumi.String("ipv4"), BgpAsn: pulumi.Int(65352), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect hosted transit virtual interfaces using the VIF `id`. For example:
```sh
$ pulumi import aws:directconnect/hostedTransitVirtualInterface:HostedTransitVirtualInterface test dxvif-33cc44dd
```
func GetHostedTransitVirtualInterface ¶
func GetHostedTransitVirtualInterface(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HostedTransitVirtualInterfaceState, opts ...pulumi.ResourceOption) (*HostedTransitVirtualInterface, error)
GetHostedTransitVirtualInterface gets an existing HostedTransitVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHostedTransitVirtualInterface ¶
func NewHostedTransitVirtualInterface(ctx *pulumi.Context, name string, args *HostedTransitVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*HostedTransitVirtualInterface, error)
NewHostedTransitVirtualInterface registers a new resource with the given unique name, arguments, and options.
func (*HostedTransitVirtualInterface) ElementType ¶
func (*HostedTransitVirtualInterface) ElementType() reflect.Type
func (*HostedTransitVirtualInterface) ToHostedTransitVirtualInterfaceOutput ¶
func (i *HostedTransitVirtualInterface) ToHostedTransitVirtualInterfaceOutput() HostedTransitVirtualInterfaceOutput
func (*HostedTransitVirtualInterface) ToHostedTransitVirtualInterfaceOutputWithContext ¶
func (i *HostedTransitVirtualInterface) ToHostedTransitVirtualInterfaceOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceOutput
type HostedTransitVirtualInterfaceAcceptor ¶
type HostedTransitVirtualInterfaceAcceptor struct { pulumi.CustomResourceState // The ARN of the virtual interface. Arn pulumi.StringOutput `pulumi:"arn"` // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringOutput `pulumi:"dxGatewayId"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The ID of the Direct Connect virtual interface to accept. VirtualInterfaceId pulumi.StringOutput `pulumi:"virtualInterfaceId"` }
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.
> **NOTE:** AWS allows a Direct Connect hosted transit virtual interface to be deleted from either the allocator's or accepter's side. However, this provider only allows the Direct Connect hosted transit virtual interface to be deleted from the allocator's side by removing the corresponding `directconnect.HostedTransitVirtualInterface` resource from your configuration. Removing a `directconnect.HostedTransitVirtualInterfaceAcceptor` resource from your configuration will remove it from your statefile and management, **but will not delete the Direct Connect virtual interface.**
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { accepter, err := aws.GetCallerIdentity(ctx, nil, nil) if err != nil { return err } // Creator's side of the VIF creator, err := directconnect.NewHostedTransitVirtualInterface(ctx, "creator", &directconnect.HostedTransitVirtualInterfaceArgs{ ConnectionId: pulumi.String("dxcon-zzzzzzzz"), OwnerAccountId: *pulumi.String(accepter.AccountId), Name: pulumi.String("tf-transit-vif-example"), Vlan: pulumi.Int(4094), AddressFamily: pulumi.String("ipv4"), BgpAsn: pulumi.Int(65352), }) if err != nil { return err } // Accepter's side of the VIF. example, err := directconnect.NewGateway(ctx, "example", &directconnect.GatewayArgs{ Name: pulumi.String("tf-dxg-example"), AmazonSideAsn: pulumi.String("64512"), }) if err != nil { return err } _, err = directconnect.NewHostedTransitVirtualInterfaceAcceptor(ctx, "accepter", &directconnect.HostedTransitVirtualInterfaceAcceptorArgs{ VirtualInterfaceId: creator.ID(), DxGatewayId: example.ID(), Tags: pulumi.StringMap{ "Side": pulumi.String("Accepter"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect hosted transit virtual interfaces using the VIF `id`. For example:
```sh
$ pulumi import aws:directconnect/hostedTransitVirtualInterfaceAcceptor:HostedTransitVirtualInterfaceAcceptor test dxvif-33cc44dd
```
func GetHostedTransitVirtualInterfaceAcceptor ¶
func GetHostedTransitVirtualInterfaceAcceptor(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HostedTransitVirtualInterfaceAcceptorState, opts ...pulumi.ResourceOption) (*HostedTransitVirtualInterfaceAcceptor, error)
GetHostedTransitVirtualInterfaceAcceptor gets an existing HostedTransitVirtualInterfaceAcceptor resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHostedTransitVirtualInterfaceAcceptor ¶
func NewHostedTransitVirtualInterfaceAcceptor(ctx *pulumi.Context, name string, args *HostedTransitVirtualInterfaceAcceptorArgs, opts ...pulumi.ResourceOption) (*HostedTransitVirtualInterfaceAcceptor, error)
NewHostedTransitVirtualInterfaceAcceptor registers a new resource with the given unique name, arguments, and options.
func (*HostedTransitVirtualInterfaceAcceptor) ElementType ¶
func (*HostedTransitVirtualInterfaceAcceptor) ElementType() reflect.Type
func (*HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorOutput ¶
func (i *HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorOutput() HostedTransitVirtualInterfaceAcceptorOutput
func (*HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorOutputWithContext ¶
func (i *HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorOutput
type HostedTransitVirtualInterfaceAcceptorArgs ¶
type HostedTransitVirtualInterfaceAcceptorArgs struct { // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The ID of the Direct Connect virtual interface to accept. VirtualInterfaceId pulumi.StringInput }
The set of arguments for constructing a HostedTransitVirtualInterfaceAcceptor resource.
func (HostedTransitVirtualInterfaceAcceptorArgs) ElementType ¶
func (HostedTransitVirtualInterfaceAcceptorArgs) ElementType() reflect.Type
type HostedTransitVirtualInterfaceAcceptorArray ¶
type HostedTransitVirtualInterfaceAcceptorArray []HostedTransitVirtualInterfaceAcceptorInput
func (HostedTransitVirtualInterfaceAcceptorArray) ElementType ¶
func (HostedTransitVirtualInterfaceAcceptorArray) ElementType() reflect.Type
func (HostedTransitVirtualInterfaceAcceptorArray) ToHostedTransitVirtualInterfaceAcceptorArrayOutput ¶
func (i HostedTransitVirtualInterfaceAcceptorArray) ToHostedTransitVirtualInterfaceAcceptorArrayOutput() HostedTransitVirtualInterfaceAcceptorArrayOutput
func (HostedTransitVirtualInterfaceAcceptorArray) ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext ¶
func (i HostedTransitVirtualInterfaceAcceptorArray) ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorArrayOutput
type HostedTransitVirtualInterfaceAcceptorArrayInput ¶
type HostedTransitVirtualInterfaceAcceptorArrayInput interface { pulumi.Input ToHostedTransitVirtualInterfaceAcceptorArrayOutput() HostedTransitVirtualInterfaceAcceptorArrayOutput ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext(context.Context) HostedTransitVirtualInterfaceAcceptorArrayOutput }
HostedTransitVirtualInterfaceAcceptorArrayInput is an input type that accepts HostedTransitVirtualInterfaceAcceptorArray and HostedTransitVirtualInterfaceAcceptorArrayOutput values. You can construct a concrete instance of `HostedTransitVirtualInterfaceAcceptorArrayInput` via:
HostedTransitVirtualInterfaceAcceptorArray{ HostedTransitVirtualInterfaceAcceptorArgs{...} }
type HostedTransitVirtualInterfaceAcceptorArrayOutput ¶
type HostedTransitVirtualInterfaceAcceptorArrayOutput struct{ *pulumi.OutputState }
func (HostedTransitVirtualInterfaceAcceptorArrayOutput) ElementType ¶
func (HostedTransitVirtualInterfaceAcceptorArrayOutput) ElementType() reflect.Type
func (HostedTransitVirtualInterfaceAcceptorArrayOutput) ToHostedTransitVirtualInterfaceAcceptorArrayOutput ¶
func (o HostedTransitVirtualInterfaceAcceptorArrayOutput) ToHostedTransitVirtualInterfaceAcceptorArrayOutput() HostedTransitVirtualInterfaceAcceptorArrayOutput
func (HostedTransitVirtualInterfaceAcceptorArrayOutput) ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext ¶
func (o HostedTransitVirtualInterfaceAcceptorArrayOutput) ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorArrayOutput
type HostedTransitVirtualInterfaceAcceptorInput ¶
type HostedTransitVirtualInterfaceAcceptorInput interface { pulumi.Input ToHostedTransitVirtualInterfaceAcceptorOutput() HostedTransitVirtualInterfaceAcceptorOutput ToHostedTransitVirtualInterfaceAcceptorOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorOutput }
type HostedTransitVirtualInterfaceAcceptorMap ¶
type HostedTransitVirtualInterfaceAcceptorMap map[string]HostedTransitVirtualInterfaceAcceptorInput
func (HostedTransitVirtualInterfaceAcceptorMap) ElementType ¶
func (HostedTransitVirtualInterfaceAcceptorMap) ElementType() reflect.Type
func (HostedTransitVirtualInterfaceAcceptorMap) ToHostedTransitVirtualInterfaceAcceptorMapOutput ¶
func (i HostedTransitVirtualInterfaceAcceptorMap) ToHostedTransitVirtualInterfaceAcceptorMapOutput() HostedTransitVirtualInterfaceAcceptorMapOutput
func (HostedTransitVirtualInterfaceAcceptorMap) ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext ¶
func (i HostedTransitVirtualInterfaceAcceptorMap) ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorMapOutput
type HostedTransitVirtualInterfaceAcceptorMapInput ¶
type HostedTransitVirtualInterfaceAcceptorMapInput interface { pulumi.Input ToHostedTransitVirtualInterfaceAcceptorMapOutput() HostedTransitVirtualInterfaceAcceptorMapOutput ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext(context.Context) HostedTransitVirtualInterfaceAcceptorMapOutput }
HostedTransitVirtualInterfaceAcceptorMapInput is an input type that accepts HostedTransitVirtualInterfaceAcceptorMap and HostedTransitVirtualInterfaceAcceptorMapOutput values. You can construct a concrete instance of `HostedTransitVirtualInterfaceAcceptorMapInput` via:
HostedTransitVirtualInterfaceAcceptorMap{ "key": HostedTransitVirtualInterfaceAcceptorArgs{...} }
type HostedTransitVirtualInterfaceAcceptorMapOutput ¶
type HostedTransitVirtualInterfaceAcceptorMapOutput struct{ *pulumi.OutputState }
func (HostedTransitVirtualInterfaceAcceptorMapOutput) ElementType ¶
func (HostedTransitVirtualInterfaceAcceptorMapOutput) ElementType() reflect.Type
func (HostedTransitVirtualInterfaceAcceptorMapOutput) ToHostedTransitVirtualInterfaceAcceptorMapOutput ¶
func (o HostedTransitVirtualInterfaceAcceptorMapOutput) ToHostedTransitVirtualInterfaceAcceptorMapOutput() HostedTransitVirtualInterfaceAcceptorMapOutput
func (HostedTransitVirtualInterfaceAcceptorMapOutput) ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext ¶
func (o HostedTransitVirtualInterfaceAcceptorMapOutput) ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorMapOutput
type HostedTransitVirtualInterfaceAcceptorOutput ¶
type HostedTransitVirtualInterfaceAcceptorOutput struct{ *pulumi.OutputState }
func (HostedTransitVirtualInterfaceAcceptorOutput) Arn ¶
func (o HostedTransitVirtualInterfaceAcceptorOutput) Arn() pulumi.StringOutput
The ARN of the virtual interface.
func (HostedTransitVirtualInterfaceAcceptorOutput) DxGatewayId ¶
func (o HostedTransitVirtualInterfaceAcceptorOutput) DxGatewayId() pulumi.StringOutput
The ID of the Direct Connect gateway to which to connect the virtual interface.
func (HostedTransitVirtualInterfaceAcceptorOutput) ElementType ¶
func (HostedTransitVirtualInterfaceAcceptorOutput) ElementType() reflect.Type
func (HostedTransitVirtualInterfaceAcceptorOutput) Tags ¶
func (o HostedTransitVirtualInterfaceAcceptorOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (HostedTransitVirtualInterfaceAcceptorOutput) TagsAll
deprecated
func (o HostedTransitVirtualInterfaceAcceptorOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorOutput ¶
func (o HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorOutput() HostedTransitVirtualInterfaceAcceptorOutput
func (HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorOutputWithContext ¶
func (o HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorOutput
func (HostedTransitVirtualInterfaceAcceptorOutput) VirtualInterfaceId ¶
func (o HostedTransitVirtualInterfaceAcceptorOutput) VirtualInterfaceId() pulumi.StringOutput
The ID of the Direct Connect virtual interface to accept.
type HostedTransitVirtualInterfaceAcceptorState ¶
type HostedTransitVirtualInterfaceAcceptorState struct { // The ARN of the virtual interface. Arn pulumi.StringPtrInput // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The ID of the Direct Connect virtual interface to accept. VirtualInterfaceId pulumi.StringPtrInput }
func (HostedTransitVirtualInterfaceAcceptorState) ElementType ¶
func (HostedTransitVirtualInterfaceAcceptorState) ElementType() reflect.Type
type HostedTransitVirtualInterfaceArgs ¶
type HostedTransitVirtualInterfaceArgs struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // The AWS account that will own the new virtual interface. OwnerAccountId pulumi.StringInput // The VLAN ID. Vlan pulumi.IntInput }
The set of arguments for constructing a HostedTransitVirtualInterface resource.
func (HostedTransitVirtualInterfaceArgs) ElementType ¶
func (HostedTransitVirtualInterfaceArgs) ElementType() reflect.Type
type HostedTransitVirtualInterfaceArray ¶
type HostedTransitVirtualInterfaceArray []HostedTransitVirtualInterfaceInput
func (HostedTransitVirtualInterfaceArray) ElementType ¶
func (HostedTransitVirtualInterfaceArray) ElementType() reflect.Type
func (HostedTransitVirtualInterfaceArray) ToHostedTransitVirtualInterfaceArrayOutput ¶
func (i HostedTransitVirtualInterfaceArray) ToHostedTransitVirtualInterfaceArrayOutput() HostedTransitVirtualInterfaceArrayOutput
func (HostedTransitVirtualInterfaceArray) ToHostedTransitVirtualInterfaceArrayOutputWithContext ¶
func (i HostedTransitVirtualInterfaceArray) ToHostedTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceArrayOutput
type HostedTransitVirtualInterfaceArrayInput ¶
type HostedTransitVirtualInterfaceArrayInput interface { pulumi.Input ToHostedTransitVirtualInterfaceArrayOutput() HostedTransitVirtualInterfaceArrayOutput ToHostedTransitVirtualInterfaceArrayOutputWithContext(context.Context) HostedTransitVirtualInterfaceArrayOutput }
HostedTransitVirtualInterfaceArrayInput is an input type that accepts HostedTransitVirtualInterfaceArray and HostedTransitVirtualInterfaceArrayOutput values. You can construct a concrete instance of `HostedTransitVirtualInterfaceArrayInput` via:
HostedTransitVirtualInterfaceArray{ HostedTransitVirtualInterfaceArgs{...} }
type HostedTransitVirtualInterfaceArrayOutput ¶
type HostedTransitVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }
func (HostedTransitVirtualInterfaceArrayOutput) ElementType ¶
func (HostedTransitVirtualInterfaceArrayOutput) ElementType() reflect.Type
func (HostedTransitVirtualInterfaceArrayOutput) ToHostedTransitVirtualInterfaceArrayOutput ¶
func (o HostedTransitVirtualInterfaceArrayOutput) ToHostedTransitVirtualInterfaceArrayOutput() HostedTransitVirtualInterfaceArrayOutput
func (HostedTransitVirtualInterfaceArrayOutput) ToHostedTransitVirtualInterfaceArrayOutputWithContext ¶
func (o HostedTransitVirtualInterfaceArrayOutput) ToHostedTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceArrayOutput
type HostedTransitVirtualInterfaceInput ¶
type HostedTransitVirtualInterfaceInput interface { pulumi.Input ToHostedTransitVirtualInterfaceOutput() HostedTransitVirtualInterfaceOutput ToHostedTransitVirtualInterfaceOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceOutput }
type HostedTransitVirtualInterfaceMap ¶
type HostedTransitVirtualInterfaceMap map[string]HostedTransitVirtualInterfaceInput
func (HostedTransitVirtualInterfaceMap) ElementType ¶
func (HostedTransitVirtualInterfaceMap) ElementType() reflect.Type
func (HostedTransitVirtualInterfaceMap) ToHostedTransitVirtualInterfaceMapOutput ¶
func (i HostedTransitVirtualInterfaceMap) ToHostedTransitVirtualInterfaceMapOutput() HostedTransitVirtualInterfaceMapOutput
func (HostedTransitVirtualInterfaceMap) ToHostedTransitVirtualInterfaceMapOutputWithContext ¶
func (i HostedTransitVirtualInterfaceMap) ToHostedTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceMapOutput
type HostedTransitVirtualInterfaceMapInput ¶
type HostedTransitVirtualInterfaceMapInput interface { pulumi.Input ToHostedTransitVirtualInterfaceMapOutput() HostedTransitVirtualInterfaceMapOutput ToHostedTransitVirtualInterfaceMapOutputWithContext(context.Context) HostedTransitVirtualInterfaceMapOutput }
HostedTransitVirtualInterfaceMapInput is an input type that accepts HostedTransitVirtualInterfaceMap and HostedTransitVirtualInterfaceMapOutput values. You can construct a concrete instance of `HostedTransitVirtualInterfaceMapInput` via:
HostedTransitVirtualInterfaceMap{ "key": HostedTransitVirtualInterfaceArgs{...} }
type HostedTransitVirtualInterfaceMapOutput ¶
type HostedTransitVirtualInterfaceMapOutput struct{ *pulumi.OutputState }
func (HostedTransitVirtualInterfaceMapOutput) ElementType ¶
func (HostedTransitVirtualInterfaceMapOutput) ElementType() reflect.Type
func (HostedTransitVirtualInterfaceMapOutput) MapIndex ¶
func (o HostedTransitVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) HostedTransitVirtualInterfaceOutput
func (HostedTransitVirtualInterfaceMapOutput) ToHostedTransitVirtualInterfaceMapOutput ¶
func (o HostedTransitVirtualInterfaceMapOutput) ToHostedTransitVirtualInterfaceMapOutput() HostedTransitVirtualInterfaceMapOutput
func (HostedTransitVirtualInterfaceMapOutput) ToHostedTransitVirtualInterfaceMapOutputWithContext ¶
func (o HostedTransitVirtualInterfaceMapOutput) ToHostedTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceMapOutput
type HostedTransitVirtualInterfaceOutput ¶
type HostedTransitVirtualInterfaceOutput struct{ *pulumi.OutputState }
func (HostedTransitVirtualInterfaceOutput) AddressFamily ¶
func (o HostedTransitVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
The address family for the BGP peer. ` ipv4 ` or `ipv6`.
func (HostedTransitVirtualInterfaceOutput) AmazonAddress ¶
func (o HostedTransitVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
func (HostedTransitVirtualInterfaceOutput) AmazonSideAsn ¶
func (o HostedTransitVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
func (HostedTransitVirtualInterfaceOutput) Arn ¶
func (o HostedTransitVirtualInterfaceOutput) Arn() pulumi.StringOutput
The ARN of the virtual interface.
func (HostedTransitVirtualInterfaceOutput) AwsDevice ¶
func (o HostedTransitVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
The Direct Connect endpoint on which the virtual interface terminates.
func (HostedTransitVirtualInterfaceOutput) BgpAsn ¶
func (o HostedTransitVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
func (HostedTransitVirtualInterfaceOutput) BgpAuthKey ¶
func (o HostedTransitVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
The authentication key for BGP configuration.
func (HostedTransitVirtualInterfaceOutput) ConnectionId ¶
func (o HostedTransitVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
func (HostedTransitVirtualInterfaceOutput) CustomerAddress ¶
func (o HostedTransitVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
func (HostedTransitVirtualInterfaceOutput) ElementType ¶
func (HostedTransitVirtualInterfaceOutput) ElementType() reflect.Type
func (HostedTransitVirtualInterfaceOutput) JumboFrameCapable ¶
func (o HostedTransitVirtualInterfaceOutput) JumboFrameCapable() pulumi.BoolOutput
Indicates whether jumbo frames (8500 MTU) are supported.
func (HostedTransitVirtualInterfaceOutput) Mtu ¶
func (o HostedTransitVirtualInterfaceOutput) Mtu() pulumi.IntPtrOutput
The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`.
func (HostedTransitVirtualInterfaceOutput) Name ¶
func (o HostedTransitVirtualInterfaceOutput) Name() pulumi.StringOutput
The name for the virtual interface.
func (HostedTransitVirtualInterfaceOutput) OwnerAccountId ¶
func (o HostedTransitVirtualInterfaceOutput) OwnerAccountId() pulumi.StringOutput
The AWS account that will own the new virtual interface.
func (HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfaceOutput ¶
func (o HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfaceOutput() HostedTransitVirtualInterfaceOutput
func (HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfaceOutputWithContext ¶
func (o HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfaceOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceOutput
func (HostedTransitVirtualInterfaceOutput) Vlan ¶
func (o HostedTransitVirtualInterfaceOutput) Vlan() pulumi.IntOutput
The VLAN ID.
type HostedTransitVirtualInterfaceState ¶
type HostedTransitVirtualInterfaceState struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringPtrInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput AmazonSideAsn pulumi.StringPtrInput // The ARN of the virtual interface. Arn pulumi.StringPtrInput // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntPtrInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringPtrInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // Indicates whether jumbo frames (8500 MTU) are supported. JumboFrameCapable pulumi.BoolPtrInput // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // The AWS account that will own the new virtual interface. OwnerAccountId pulumi.StringPtrInput // The VLAN ID. Vlan pulumi.IntPtrInput }
func (HostedTransitVirtualInterfaceState) ElementType ¶
func (HostedTransitVirtualInterfaceState) ElementType() reflect.Type
type LinkAggregationGroup ¶
type LinkAggregationGroup struct { pulumi.CustomResourceState // The ARN of the LAG. Arn pulumi.StringOutput `pulumi:"arn"` // The ID of an existing dedicated connection to migrate to the LAG. ConnectionId pulumi.StringPtrOutput `pulumi:"connectionId"` // The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive. ConnectionsBandwidth pulumi.StringOutput `pulumi:"connectionsBandwidth"` // A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable. ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"` // Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). HasLogicalRedundancy pulumi.StringOutput `pulumi:"hasLogicalRedundancy"` // Indicates whether jumbo frames (9001 MTU) are supported. JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"` // The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`. Location pulumi.StringOutput `pulumi:"location"` // The name of the LAG. Name pulumi.StringOutput `pulumi:"name"` // The ID of the AWS account that owns the LAG. OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"` // The name of the service provider associated with the LAG. ProviderName pulumi.StringOutput `pulumi:"providerName"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a Direct Connect LAG. Connections can be added to the LAG via the `directconnect.Connection` and `directconnect.ConnectionAssociation` resources.
> *NOTE:* When creating a LAG, if no existing connection is specified, Direct Connect will create a connection and this provider will remove this unmanaged connection during resource creation.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewLinkAggregationGroup(ctx, "hoge", &directconnect.LinkAggregationGroupArgs{ Name: pulumi.String("tf-dx-lag"), ConnectionsBandwidth: pulumi.String("1Gbps"), Location: pulumi.String("EqDC2"), ForceDestroy: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect LAGs using the LAG `id`. For example:
```sh
$ pulumi import aws:directconnect/linkAggregationGroup:LinkAggregationGroup test_lag dxlag-fgnsp5rq
```
func GetLinkAggregationGroup ¶
func GetLinkAggregationGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LinkAggregationGroupState, opts ...pulumi.ResourceOption) (*LinkAggregationGroup, error)
GetLinkAggregationGroup gets an existing LinkAggregationGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLinkAggregationGroup ¶
func NewLinkAggregationGroup(ctx *pulumi.Context, name string, args *LinkAggregationGroupArgs, opts ...pulumi.ResourceOption) (*LinkAggregationGroup, error)
NewLinkAggregationGroup registers a new resource with the given unique name, arguments, and options.
func (*LinkAggregationGroup) ElementType ¶
func (*LinkAggregationGroup) ElementType() reflect.Type
func (*LinkAggregationGroup) ToLinkAggregationGroupOutput ¶
func (i *LinkAggregationGroup) ToLinkAggregationGroupOutput() LinkAggregationGroupOutput
func (*LinkAggregationGroup) ToLinkAggregationGroupOutputWithContext ¶
func (i *LinkAggregationGroup) ToLinkAggregationGroupOutputWithContext(ctx context.Context) LinkAggregationGroupOutput
type LinkAggregationGroupArgs ¶
type LinkAggregationGroupArgs struct { // The ID of an existing dedicated connection to migrate to the LAG. ConnectionId pulumi.StringPtrInput // The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive. ConnectionsBandwidth pulumi.StringInput // A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable. ForceDestroy pulumi.BoolPtrInput // The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`. Location pulumi.StringInput // The name of the LAG. Name pulumi.StringPtrInput // The name of the service provider associated with the LAG. ProviderName pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a LinkAggregationGroup resource.
func (LinkAggregationGroupArgs) ElementType ¶
func (LinkAggregationGroupArgs) ElementType() reflect.Type
type LinkAggregationGroupArray ¶
type LinkAggregationGroupArray []LinkAggregationGroupInput
func (LinkAggregationGroupArray) ElementType ¶
func (LinkAggregationGroupArray) ElementType() reflect.Type
func (LinkAggregationGroupArray) ToLinkAggregationGroupArrayOutput ¶
func (i LinkAggregationGroupArray) ToLinkAggregationGroupArrayOutput() LinkAggregationGroupArrayOutput
func (LinkAggregationGroupArray) ToLinkAggregationGroupArrayOutputWithContext ¶
func (i LinkAggregationGroupArray) ToLinkAggregationGroupArrayOutputWithContext(ctx context.Context) LinkAggregationGroupArrayOutput
type LinkAggregationGroupArrayInput ¶
type LinkAggregationGroupArrayInput interface { pulumi.Input ToLinkAggregationGroupArrayOutput() LinkAggregationGroupArrayOutput ToLinkAggregationGroupArrayOutputWithContext(context.Context) LinkAggregationGroupArrayOutput }
LinkAggregationGroupArrayInput is an input type that accepts LinkAggregationGroupArray and LinkAggregationGroupArrayOutput values. You can construct a concrete instance of `LinkAggregationGroupArrayInput` via:
LinkAggregationGroupArray{ LinkAggregationGroupArgs{...} }
type LinkAggregationGroupArrayOutput ¶
type LinkAggregationGroupArrayOutput struct{ *pulumi.OutputState }
func (LinkAggregationGroupArrayOutput) ElementType ¶
func (LinkAggregationGroupArrayOutput) ElementType() reflect.Type
func (LinkAggregationGroupArrayOutput) Index ¶
func (o LinkAggregationGroupArrayOutput) Index(i pulumi.IntInput) LinkAggregationGroupOutput
func (LinkAggregationGroupArrayOutput) ToLinkAggregationGroupArrayOutput ¶
func (o LinkAggregationGroupArrayOutput) ToLinkAggregationGroupArrayOutput() LinkAggregationGroupArrayOutput
func (LinkAggregationGroupArrayOutput) ToLinkAggregationGroupArrayOutputWithContext ¶
func (o LinkAggregationGroupArrayOutput) ToLinkAggregationGroupArrayOutputWithContext(ctx context.Context) LinkAggregationGroupArrayOutput
type LinkAggregationGroupInput ¶
type LinkAggregationGroupInput interface { pulumi.Input ToLinkAggregationGroupOutput() LinkAggregationGroupOutput ToLinkAggregationGroupOutputWithContext(ctx context.Context) LinkAggregationGroupOutput }
type LinkAggregationGroupMap ¶
type LinkAggregationGroupMap map[string]LinkAggregationGroupInput
func (LinkAggregationGroupMap) ElementType ¶
func (LinkAggregationGroupMap) ElementType() reflect.Type
func (LinkAggregationGroupMap) ToLinkAggregationGroupMapOutput ¶
func (i LinkAggregationGroupMap) ToLinkAggregationGroupMapOutput() LinkAggregationGroupMapOutput
func (LinkAggregationGroupMap) ToLinkAggregationGroupMapOutputWithContext ¶
func (i LinkAggregationGroupMap) ToLinkAggregationGroupMapOutputWithContext(ctx context.Context) LinkAggregationGroupMapOutput
type LinkAggregationGroupMapInput ¶
type LinkAggregationGroupMapInput interface { pulumi.Input ToLinkAggregationGroupMapOutput() LinkAggregationGroupMapOutput ToLinkAggregationGroupMapOutputWithContext(context.Context) LinkAggregationGroupMapOutput }
LinkAggregationGroupMapInput is an input type that accepts LinkAggregationGroupMap and LinkAggregationGroupMapOutput values. You can construct a concrete instance of `LinkAggregationGroupMapInput` via:
LinkAggregationGroupMap{ "key": LinkAggregationGroupArgs{...} }
type LinkAggregationGroupMapOutput ¶
type LinkAggregationGroupMapOutput struct{ *pulumi.OutputState }
func (LinkAggregationGroupMapOutput) ElementType ¶
func (LinkAggregationGroupMapOutput) ElementType() reflect.Type
func (LinkAggregationGroupMapOutput) MapIndex ¶
func (o LinkAggregationGroupMapOutput) MapIndex(k pulumi.StringInput) LinkAggregationGroupOutput
func (LinkAggregationGroupMapOutput) ToLinkAggregationGroupMapOutput ¶
func (o LinkAggregationGroupMapOutput) ToLinkAggregationGroupMapOutput() LinkAggregationGroupMapOutput
func (LinkAggregationGroupMapOutput) ToLinkAggregationGroupMapOutputWithContext ¶
func (o LinkAggregationGroupMapOutput) ToLinkAggregationGroupMapOutputWithContext(ctx context.Context) LinkAggregationGroupMapOutput
type LinkAggregationGroupOutput ¶
type LinkAggregationGroupOutput struct{ *pulumi.OutputState }
func (LinkAggregationGroupOutput) Arn ¶
func (o LinkAggregationGroupOutput) Arn() pulumi.StringOutput
The ARN of the LAG.
func (LinkAggregationGroupOutput) ConnectionId ¶
func (o LinkAggregationGroupOutput) ConnectionId() pulumi.StringPtrOutput
The ID of an existing dedicated connection to migrate to the LAG.
func (LinkAggregationGroupOutput) ConnectionsBandwidth ¶
func (o LinkAggregationGroupOutput) ConnectionsBandwidth() pulumi.StringOutput
The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
func (LinkAggregationGroupOutput) ElementType ¶
func (LinkAggregationGroupOutput) ElementType() reflect.Type
func (LinkAggregationGroupOutput) ForceDestroy ¶
func (o LinkAggregationGroupOutput) ForceDestroy() pulumi.BoolPtrOutput
A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable.
func (LinkAggregationGroupOutput) HasLogicalRedundancy ¶
func (o LinkAggregationGroupOutput) HasLogicalRedundancy() pulumi.StringOutput
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
func (LinkAggregationGroupOutput) JumboFrameCapable ¶
func (o LinkAggregationGroupOutput) JumboFrameCapable() pulumi.BoolOutput
Indicates whether jumbo frames (9001 MTU) are supported.
func (LinkAggregationGroupOutput) Location ¶
func (o LinkAggregationGroupOutput) Location() pulumi.StringOutput
The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
func (LinkAggregationGroupOutput) Name ¶
func (o LinkAggregationGroupOutput) Name() pulumi.StringOutput
The name of the LAG.
func (LinkAggregationGroupOutput) OwnerAccountId ¶
func (o LinkAggregationGroupOutput) OwnerAccountId() pulumi.StringOutput
The ID of the AWS account that owns the LAG.
func (LinkAggregationGroupOutput) ProviderName ¶
func (o LinkAggregationGroupOutput) ProviderName() pulumi.StringOutput
The name of the service provider associated with the LAG.
func (LinkAggregationGroupOutput) Tags ¶
func (o LinkAggregationGroupOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (LinkAggregationGroupOutput) TagsAll
deprecated
func (o LinkAggregationGroupOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (LinkAggregationGroupOutput) ToLinkAggregationGroupOutput ¶
func (o LinkAggregationGroupOutput) ToLinkAggregationGroupOutput() LinkAggregationGroupOutput
func (LinkAggregationGroupOutput) ToLinkAggregationGroupOutputWithContext ¶
func (o LinkAggregationGroupOutput) ToLinkAggregationGroupOutputWithContext(ctx context.Context) LinkAggregationGroupOutput
type LinkAggregationGroupState ¶
type LinkAggregationGroupState struct { // The ARN of the LAG. Arn pulumi.StringPtrInput // The ID of an existing dedicated connection to migrate to the LAG. ConnectionId pulumi.StringPtrInput // The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive. ConnectionsBandwidth pulumi.StringPtrInput // A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable. ForceDestroy pulumi.BoolPtrInput // Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). HasLogicalRedundancy pulumi.StringPtrInput // Indicates whether jumbo frames (9001 MTU) are supported. JumboFrameCapable pulumi.BoolPtrInput // The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`. Location pulumi.StringPtrInput // The name of the LAG. Name pulumi.StringPtrInput // The ID of the AWS account that owns the LAG. OwnerAccountId pulumi.StringPtrInput // The name of the service provider associated with the LAG. ProviderName pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (LinkAggregationGroupState) ElementType ¶
func (LinkAggregationGroupState) ElementType() reflect.Type
type LookupConnectionArgs ¶
type LookupConnectionArgs struct { // Name of the connection to retrieve. Name string `pulumi:"name"` // Map of tags for the resource. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getConnection.
type LookupConnectionOutputArgs ¶
type LookupConnectionOutputArgs struct { // Name of the connection to retrieve. Name pulumi.StringInput `pulumi:"name"` // Map of tags for the resource. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getConnection.
func (LookupConnectionOutputArgs) ElementType ¶
func (LookupConnectionOutputArgs) ElementType() reflect.Type
type LookupConnectionResult ¶
type LookupConnectionResult struct { // ARN of the connection. Arn string `pulumi:"arn"` // Direct Connect endpoint on which the physical connection terminates. AwsDevice string `pulumi:"awsDevice"` // Bandwidth of the connection. Bandwidth string `pulumi:"bandwidth"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // AWS Direct Connect location where the connection is located. Location string `pulumi:"location"` Name string `pulumi:"name"` // ID of the AWS account that owns the connection. OwnerAccountId string `pulumi:"ownerAccountId"` // The name of the AWS Direct Connect service provider associated with the connection. PartnerName string `pulumi:"partnerName"` // Name of the service provider associated with the connection. ProviderName string `pulumi:"providerName"` // Map of tags for the resource. Tags map[string]string `pulumi:"tags"` // The VLAN ID. VlanId int `pulumi:"vlanId"` }
A collection of values returned by getConnection.
func LookupConnection ¶
func LookupConnection(ctx *pulumi.Context, args *LookupConnectionArgs, opts ...pulumi.InvokeOption) (*LookupConnectionResult, error)
Retrieve information about a Direct Connect Connection.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.LookupConnection(ctx, &directconnect.LookupConnectionArgs{ Name: "tf-dx-connection", }, nil) if err != nil { return err } return nil }) }
```
type LookupConnectionResultOutput ¶
type LookupConnectionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getConnection.
func LookupConnectionOutput ¶
func LookupConnectionOutput(ctx *pulumi.Context, args LookupConnectionOutputArgs, opts ...pulumi.InvokeOption) LookupConnectionResultOutput
func (LookupConnectionResultOutput) Arn ¶
func (o LookupConnectionResultOutput) Arn() pulumi.StringOutput
ARN of the connection.
func (LookupConnectionResultOutput) AwsDevice ¶
func (o LookupConnectionResultOutput) AwsDevice() pulumi.StringOutput
Direct Connect endpoint on which the physical connection terminates.
func (LookupConnectionResultOutput) Bandwidth ¶
func (o LookupConnectionResultOutput) Bandwidth() pulumi.StringOutput
Bandwidth of the connection.
func (LookupConnectionResultOutput) ElementType ¶
func (LookupConnectionResultOutput) ElementType() reflect.Type
func (LookupConnectionResultOutput) Id ¶
func (o LookupConnectionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupConnectionResultOutput) Location ¶
func (o LookupConnectionResultOutput) Location() pulumi.StringOutput
AWS Direct Connect location where the connection is located.
func (LookupConnectionResultOutput) Name ¶
func (o LookupConnectionResultOutput) Name() pulumi.StringOutput
func (LookupConnectionResultOutput) OwnerAccountId ¶
func (o LookupConnectionResultOutput) OwnerAccountId() pulumi.StringOutput
ID of the AWS account that owns the connection.
func (LookupConnectionResultOutput) PartnerName ¶
func (o LookupConnectionResultOutput) PartnerName() pulumi.StringOutput
The name of the AWS Direct Connect service provider associated with the connection.
func (LookupConnectionResultOutput) ProviderName ¶
func (o LookupConnectionResultOutput) ProviderName() pulumi.StringOutput
Name of the service provider associated with the connection.
func (LookupConnectionResultOutput) Tags ¶
func (o LookupConnectionResultOutput) Tags() pulumi.StringMapOutput
Map of tags for the resource.
func (LookupConnectionResultOutput) ToLookupConnectionResultOutput ¶
func (o LookupConnectionResultOutput) ToLookupConnectionResultOutput() LookupConnectionResultOutput
func (LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext ¶
func (o LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext(ctx context.Context) LookupConnectionResultOutput
func (LookupConnectionResultOutput) VlanId ¶
func (o LookupConnectionResultOutput) VlanId() pulumi.IntOutput
The VLAN ID.
type LookupGatewayArgs ¶
type LookupGatewayArgs struct { // Name of the gateway to retrieve. Name string `pulumi:"name"` }
A collection of arguments for invoking getGateway.
type LookupGatewayOutputArgs ¶
type LookupGatewayOutputArgs struct { // Name of the gateway to retrieve. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getGateway.
func (LookupGatewayOutputArgs) ElementType ¶
func (LookupGatewayOutputArgs) ElementType() reflect.Type
type LookupGatewayResult ¶
type LookupGatewayResult struct { // ASN on the Amazon side of the connection. AmazonSideAsn string `pulumi:"amazonSideAsn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // AWS Account ID of the gateway. OwnerAccountId string `pulumi:"ownerAccountId"` }
A collection of values returned by getGateway.
func LookupGateway ¶
func LookupGateway(ctx *pulumi.Context, args *LookupGatewayArgs, opts ...pulumi.InvokeOption) (*LookupGatewayResult, error)
Retrieve information about a Direct Connect Gateway.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.LookupGateway(ctx, &directconnect.LookupGatewayArgs{ Name: "example", }, nil) if err != nil { return err } return nil }) }
```
type LookupGatewayResultOutput ¶
type LookupGatewayResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGateway.
func LookupGatewayOutput ¶
func LookupGatewayOutput(ctx *pulumi.Context, args LookupGatewayOutputArgs, opts ...pulumi.InvokeOption) LookupGatewayResultOutput
func (LookupGatewayResultOutput) AmazonSideAsn ¶
func (o LookupGatewayResultOutput) AmazonSideAsn() pulumi.StringOutput
ASN on the Amazon side of the connection.
func (LookupGatewayResultOutput) ElementType ¶
func (LookupGatewayResultOutput) ElementType() reflect.Type
func (LookupGatewayResultOutput) Id ¶
func (o LookupGatewayResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupGatewayResultOutput) Name ¶
func (o LookupGatewayResultOutput) Name() pulumi.StringOutput
func (LookupGatewayResultOutput) OwnerAccountId ¶
func (o LookupGatewayResultOutput) OwnerAccountId() pulumi.StringOutput
AWS Account ID of the gateway.
func (LookupGatewayResultOutput) ToLookupGatewayResultOutput ¶
func (o LookupGatewayResultOutput) ToLookupGatewayResultOutput() LookupGatewayResultOutput
func (LookupGatewayResultOutput) ToLookupGatewayResultOutputWithContext ¶
func (o LookupGatewayResultOutput) ToLookupGatewayResultOutputWithContext(ctx context.Context) LookupGatewayResultOutput
type MacsecKeyAssociation ¶
type MacsecKeyAssociation struct { pulumi.CustomResourceState // The MAC Security (MACsec) CAK to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `ckn`. Cak pulumi.StringPtrOutput `pulumi:"cak"` // The MAC Security (MACsec) CKN to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `cak`. Ckn pulumi.StringOutput `pulumi:"ckn"` // The ID of the dedicated Direct Connect connection. The connection must be a dedicated connection in the `AVAILABLE` state. ConnectionId pulumi.StringOutput `pulumi:"connectionId"` // The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection. // // > **Note:** `ckn` and `cak` are mutually exclusive with `secretArn` - these arguments cannot be used together. If you use `ckn` and `cak`, you should not use `secretArn`. If you use the `secretArn` argument to reference an existing MAC Security (MACSec) secret key, you should not use `ckn` or `cak`. SecretArn pulumi.StringOutput `pulumi:"secretArn"` // The date in UTC format that the MAC Security (MACsec) secret key takes effect. StartOn pulumi.StringOutput `pulumi:"startOn"` // The state of the MAC Security (MACsec) secret key. The possible values are: associating, associated, disassociating, disassociated. See [MacSecKey](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_MacSecKey.html#DX-Type-MacSecKey-state) for descriptions of each state. State pulumi.StringOutput `pulumi:"state"` }
Provides a MAC Security (MACSec) secret key resource for use with Direct Connect. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for information about MAC Security (MACsec) prerequisites.
Creating this resource will also create a resource of type `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](https://docs.aws.amazon.com/secretsmanager/latest/userguide/integrating_how-services-use-secrets_directconnect.html) for details.
> **Note:** All arguments including `ckn` and `cak` will be stored in the raw state as plain-text. **Note:** The `secretArn` argument can only be used to reference a previously created MACSec key. You cannot associate a Secrets Manager secret created outside of the `directconnect.MacsecKeyAssociation` resource.
## Example Usage ### Create MACSec key with CKN and CAK
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := directconnect.LookupConnection(ctx, &directconnect.LookupConnectionArgs{ Name: "tf-dx-connection", }, nil) if err != nil { return err } _, err = directconnect.NewMacsecKeyAssociation(ctx, "test", &directconnect.MacsecKeyAssociationArgs{ ConnectionId: *pulumi.String(example.Id), Ckn: pulumi.String("0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), Cak: pulumi.String("abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789"), }) if err != nil { return err } return nil }) }
``` ### Create MACSec key with existing Secrets Manager secret
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/secretsmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := directconnect.LookupConnection(ctx, &directconnect.LookupConnectionArgs{ Name: "tf-dx-connection", }, nil) if err != nil { return err } exampleGetSecret, err := secretsmanager.LookupSecret(ctx, &secretsmanager.LookupSecretArgs{ Name: pulumi.StringRef("directconnect!prod/us-east-1/directconnect/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), }, nil) if err != nil { return err } _, err = directconnect.NewMacsecKeyAssociation(ctx, "test", &directconnect.MacsecKeyAssociationArgs{ ConnectionId: *pulumi.String(example.Id), SecretArn: *pulumi.String(exampleGetSecret.Arn), }) if err != nil { return err } return nil }) }
```
func GetMacsecKeyAssociation ¶
func GetMacsecKeyAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MacsecKeyAssociationState, opts ...pulumi.ResourceOption) (*MacsecKeyAssociation, error)
GetMacsecKeyAssociation gets an existing MacsecKeyAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMacsecKeyAssociation ¶
func NewMacsecKeyAssociation(ctx *pulumi.Context, name string, args *MacsecKeyAssociationArgs, opts ...pulumi.ResourceOption) (*MacsecKeyAssociation, error)
NewMacsecKeyAssociation registers a new resource with the given unique name, arguments, and options.
func (*MacsecKeyAssociation) ElementType ¶
func (*MacsecKeyAssociation) ElementType() reflect.Type
func (*MacsecKeyAssociation) ToMacsecKeyAssociationOutput ¶
func (i *MacsecKeyAssociation) ToMacsecKeyAssociationOutput() MacsecKeyAssociationOutput
func (*MacsecKeyAssociation) ToMacsecKeyAssociationOutputWithContext ¶
func (i *MacsecKeyAssociation) ToMacsecKeyAssociationOutputWithContext(ctx context.Context) MacsecKeyAssociationOutput
type MacsecKeyAssociationArgs ¶
type MacsecKeyAssociationArgs struct { // The MAC Security (MACsec) CAK to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `ckn`. Cak pulumi.StringPtrInput // The MAC Security (MACsec) CKN to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `cak`. Ckn pulumi.StringPtrInput // The ID of the dedicated Direct Connect connection. The connection must be a dedicated connection in the `AVAILABLE` state. ConnectionId pulumi.StringInput // The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection. // // > **Note:** `ckn` and `cak` are mutually exclusive with `secretArn` - these arguments cannot be used together. If you use `ckn` and `cak`, you should not use `secretArn`. If you use the `secretArn` argument to reference an existing MAC Security (MACSec) secret key, you should not use `ckn` or `cak`. SecretArn pulumi.StringPtrInput }
The set of arguments for constructing a MacsecKeyAssociation resource.
func (MacsecKeyAssociationArgs) ElementType ¶
func (MacsecKeyAssociationArgs) ElementType() reflect.Type
type MacsecKeyAssociationArray ¶
type MacsecKeyAssociationArray []MacsecKeyAssociationInput
func (MacsecKeyAssociationArray) ElementType ¶
func (MacsecKeyAssociationArray) ElementType() reflect.Type
func (MacsecKeyAssociationArray) ToMacsecKeyAssociationArrayOutput ¶
func (i MacsecKeyAssociationArray) ToMacsecKeyAssociationArrayOutput() MacsecKeyAssociationArrayOutput
func (MacsecKeyAssociationArray) ToMacsecKeyAssociationArrayOutputWithContext ¶
func (i MacsecKeyAssociationArray) ToMacsecKeyAssociationArrayOutputWithContext(ctx context.Context) MacsecKeyAssociationArrayOutput
type MacsecKeyAssociationArrayInput ¶
type MacsecKeyAssociationArrayInput interface { pulumi.Input ToMacsecKeyAssociationArrayOutput() MacsecKeyAssociationArrayOutput ToMacsecKeyAssociationArrayOutputWithContext(context.Context) MacsecKeyAssociationArrayOutput }
MacsecKeyAssociationArrayInput is an input type that accepts MacsecKeyAssociationArray and MacsecKeyAssociationArrayOutput values. You can construct a concrete instance of `MacsecKeyAssociationArrayInput` via:
MacsecKeyAssociationArray{ MacsecKeyAssociationArgs{...} }
type MacsecKeyAssociationArrayOutput ¶
type MacsecKeyAssociationArrayOutput struct{ *pulumi.OutputState }
func (MacsecKeyAssociationArrayOutput) ElementType ¶
func (MacsecKeyAssociationArrayOutput) ElementType() reflect.Type
func (MacsecKeyAssociationArrayOutput) Index ¶
func (o MacsecKeyAssociationArrayOutput) Index(i pulumi.IntInput) MacsecKeyAssociationOutput
func (MacsecKeyAssociationArrayOutput) ToMacsecKeyAssociationArrayOutput ¶
func (o MacsecKeyAssociationArrayOutput) ToMacsecKeyAssociationArrayOutput() MacsecKeyAssociationArrayOutput
func (MacsecKeyAssociationArrayOutput) ToMacsecKeyAssociationArrayOutputWithContext ¶
func (o MacsecKeyAssociationArrayOutput) ToMacsecKeyAssociationArrayOutputWithContext(ctx context.Context) MacsecKeyAssociationArrayOutput
type MacsecKeyAssociationInput ¶
type MacsecKeyAssociationInput interface { pulumi.Input ToMacsecKeyAssociationOutput() MacsecKeyAssociationOutput ToMacsecKeyAssociationOutputWithContext(ctx context.Context) MacsecKeyAssociationOutput }
type MacsecKeyAssociationMap ¶
type MacsecKeyAssociationMap map[string]MacsecKeyAssociationInput
func (MacsecKeyAssociationMap) ElementType ¶
func (MacsecKeyAssociationMap) ElementType() reflect.Type
func (MacsecKeyAssociationMap) ToMacsecKeyAssociationMapOutput ¶
func (i MacsecKeyAssociationMap) ToMacsecKeyAssociationMapOutput() MacsecKeyAssociationMapOutput
func (MacsecKeyAssociationMap) ToMacsecKeyAssociationMapOutputWithContext ¶
func (i MacsecKeyAssociationMap) ToMacsecKeyAssociationMapOutputWithContext(ctx context.Context) MacsecKeyAssociationMapOutput
type MacsecKeyAssociationMapInput ¶
type MacsecKeyAssociationMapInput interface { pulumi.Input ToMacsecKeyAssociationMapOutput() MacsecKeyAssociationMapOutput ToMacsecKeyAssociationMapOutputWithContext(context.Context) MacsecKeyAssociationMapOutput }
MacsecKeyAssociationMapInput is an input type that accepts MacsecKeyAssociationMap and MacsecKeyAssociationMapOutput values. You can construct a concrete instance of `MacsecKeyAssociationMapInput` via:
MacsecKeyAssociationMap{ "key": MacsecKeyAssociationArgs{...} }
type MacsecKeyAssociationMapOutput ¶
type MacsecKeyAssociationMapOutput struct{ *pulumi.OutputState }
func (MacsecKeyAssociationMapOutput) ElementType ¶
func (MacsecKeyAssociationMapOutput) ElementType() reflect.Type
func (MacsecKeyAssociationMapOutput) MapIndex ¶
func (o MacsecKeyAssociationMapOutput) MapIndex(k pulumi.StringInput) MacsecKeyAssociationOutput
func (MacsecKeyAssociationMapOutput) ToMacsecKeyAssociationMapOutput ¶
func (o MacsecKeyAssociationMapOutput) ToMacsecKeyAssociationMapOutput() MacsecKeyAssociationMapOutput
func (MacsecKeyAssociationMapOutput) ToMacsecKeyAssociationMapOutputWithContext ¶
func (o MacsecKeyAssociationMapOutput) ToMacsecKeyAssociationMapOutputWithContext(ctx context.Context) MacsecKeyAssociationMapOutput
type MacsecKeyAssociationOutput ¶
type MacsecKeyAssociationOutput struct{ *pulumi.OutputState }
func (MacsecKeyAssociationOutput) Cak ¶
func (o MacsecKeyAssociationOutput) Cak() pulumi.StringPtrOutput
The MAC Security (MACsec) CAK to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `ckn`.
func (MacsecKeyAssociationOutput) Ckn ¶
func (o MacsecKeyAssociationOutput) Ckn() pulumi.StringOutput
The MAC Security (MACsec) CKN to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `cak`.
func (MacsecKeyAssociationOutput) ConnectionId ¶
func (o MacsecKeyAssociationOutput) ConnectionId() pulumi.StringOutput
The ID of the dedicated Direct Connect connection. The connection must be a dedicated connection in the `AVAILABLE` state.
func (MacsecKeyAssociationOutput) ElementType ¶
func (MacsecKeyAssociationOutput) ElementType() reflect.Type
func (MacsecKeyAssociationOutput) SecretArn ¶
func (o MacsecKeyAssociationOutput) SecretArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection.
> **Note:** `ckn` and `cak` are mutually exclusive with `secretArn` - these arguments cannot be used together. If you use `ckn` and `cak`, you should not use `secretArn`. If you use the `secretArn` argument to reference an existing MAC Security (MACSec) secret key, you should not use `ckn` or `cak`.
func (MacsecKeyAssociationOutput) StartOn ¶
func (o MacsecKeyAssociationOutput) StartOn() pulumi.StringOutput
The date in UTC format that the MAC Security (MACsec) secret key takes effect.
func (MacsecKeyAssociationOutput) State ¶
func (o MacsecKeyAssociationOutput) State() pulumi.StringOutput
The state of the MAC Security (MACsec) secret key. The possible values are: associating, associated, disassociating, disassociated. See [MacSecKey](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_MacSecKey.html#DX-Type-MacSecKey-state) for descriptions of each state.
func (MacsecKeyAssociationOutput) ToMacsecKeyAssociationOutput ¶
func (o MacsecKeyAssociationOutput) ToMacsecKeyAssociationOutput() MacsecKeyAssociationOutput
func (MacsecKeyAssociationOutput) ToMacsecKeyAssociationOutputWithContext ¶
func (o MacsecKeyAssociationOutput) ToMacsecKeyAssociationOutputWithContext(ctx context.Context) MacsecKeyAssociationOutput
type MacsecKeyAssociationState ¶
type MacsecKeyAssociationState struct { // The MAC Security (MACsec) CAK to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `ckn`. Cak pulumi.StringPtrInput // The MAC Security (MACsec) CKN to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `cak`. Ckn pulumi.StringPtrInput // The ID of the dedicated Direct Connect connection. The connection must be a dedicated connection in the `AVAILABLE` state. ConnectionId pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection. // // > **Note:** `ckn` and `cak` are mutually exclusive with `secretArn` - these arguments cannot be used together. If you use `ckn` and `cak`, you should not use `secretArn`. If you use the `secretArn` argument to reference an existing MAC Security (MACSec) secret key, you should not use `ckn` or `cak`. SecretArn pulumi.StringPtrInput // The date in UTC format that the MAC Security (MACsec) secret key takes effect. StartOn pulumi.StringPtrInput // The state of the MAC Security (MACsec) secret key. The possible values are: associating, associated, disassociating, disassociated. See [MacSecKey](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_MacSecKey.html#DX-Type-MacSecKey-state) for descriptions of each state. State pulumi.StringPtrInput }
func (MacsecKeyAssociationState) ElementType ¶
func (MacsecKeyAssociationState) ElementType() reflect.Type
type PrivateVirtualInterface ¶
type PrivateVirtualInterface struct { pulumi.CustomResourceState // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringOutput `pulumi:"addressFamily"` // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"` AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"` // The ARN of the virtual interface. Arn pulumi.StringOutput `pulumi:"arn"` // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringOutput `pulumi:"awsDevice"` // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"` // The authentication key for BGP configuration. BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"` // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringOutput `pulumi:"connectionId"` // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"` // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringPtrOutput `pulumi:"dxGatewayId"` // Indicates whether jumbo frames (9001 MTU) are supported. JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"` // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. // The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrOutput `pulumi:"mtu"` // The name for the virtual interface. Name pulumi.StringOutput `pulumi:"name"` // Indicates whether to enable or disable SiteLink. SitelinkEnabled pulumi.BoolPtrOutput `pulumi:"sitelinkEnabled"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The VLAN ID. Vlan pulumi.IntOutput `pulumi:"vlan"` // The ID of the virtual private gateway to which to connect the virtual interface. VpnGatewayId pulumi.StringPtrOutput `pulumi:"vpnGatewayId"` }
Provides a Direct Connect private virtual interface resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewPrivateVirtualInterface(ctx, "foo", &directconnect.PrivateVirtualInterfaceArgs{ ConnectionId: pulumi.String("dxcon-zzzzzzzz"), Name: pulumi.String("vif-foo"), Vlan: pulumi.Int(4094), AddressFamily: pulumi.String("ipv4"), BgpAsn: pulumi.Int(65352), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect private virtual interfaces using the VIF `id`. For example:
```sh
$ pulumi import aws:directconnect/privateVirtualInterface:PrivateVirtualInterface test dxvif-33cc44dd
```
func GetPrivateVirtualInterface ¶
func GetPrivateVirtualInterface(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PrivateVirtualInterfaceState, opts ...pulumi.ResourceOption) (*PrivateVirtualInterface, error)
GetPrivateVirtualInterface gets an existing PrivateVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPrivateVirtualInterface ¶
func NewPrivateVirtualInterface(ctx *pulumi.Context, name string, args *PrivateVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*PrivateVirtualInterface, error)
NewPrivateVirtualInterface registers a new resource with the given unique name, arguments, and options.
func (*PrivateVirtualInterface) ElementType ¶
func (*PrivateVirtualInterface) ElementType() reflect.Type
func (*PrivateVirtualInterface) ToPrivateVirtualInterfaceOutput ¶
func (i *PrivateVirtualInterface) ToPrivateVirtualInterfaceOutput() PrivateVirtualInterfaceOutput
func (*PrivateVirtualInterface) ToPrivateVirtualInterfaceOutputWithContext ¶
func (i *PrivateVirtualInterface) ToPrivateVirtualInterfaceOutputWithContext(ctx context.Context) PrivateVirtualInterfaceOutput
type PrivateVirtualInterfaceArgs ¶
type PrivateVirtualInterfaceArgs struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringPtrInput // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. // The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // Indicates whether to enable or disable SiteLink. SitelinkEnabled pulumi.BoolPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The VLAN ID. Vlan pulumi.IntInput // The ID of the virtual private gateway to which to connect the virtual interface. VpnGatewayId pulumi.StringPtrInput }
The set of arguments for constructing a PrivateVirtualInterface resource.
func (PrivateVirtualInterfaceArgs) ElementType ¶
func (PrivateVirtualInterfaceArgs) ElementType() reflect.Type
type PrivateVirtualInterfaceArray ¶
type PrivateVirtualInterfaceArray []PrivateVirtualInterfaceInput
func (PrivateVirtualInterfaceArray) ElementType ¶
func (PrivateVirtualInterfaceArray) ElementType() reflect.Type
func (PrivateVirtualInterfaceArray) ToPrivateVirtualInterfaceArrayOutput ¶
func (i PrivateVirtualInterfaceArray) ToPrivateVirtualInterfaceArrayOutput() PrivateVirtualInterfaceArrayOutput
func (PrivateVirtualInterfaceArray) ToPrivateVirtualInterfaceArrayOutputWithContext ¶
func (i PrivateVirtualInterfaceArray) ToPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) PrivateVirtualInterfaceArrayOutput
type PrivateVirtualInterfaceArrayInput ¶
type PrivateVirtualInterfaceArrayInput interface { pulumi.Input ToPrivateVirtualInterfaceArrayOutput() PrivateVirtualInterfaceArrayOutput ToPrivateVirtualInterfaceArrayOutputWithContext(context.Context) PrivateVirtualInterfaceArrayOutput }
PrivateVirtualInterfaceArrayInput is an input type that accepts PrivateVirtualInterfaceArray and PrivateVirtualInterfaceArrayOutput values. You can construct a concrete instance of `PrivateVirtualInterfaceArrayInput` via:
PrivateVirtualInterfaceArray{ PrivateVirtualInterfaceArgs{...} }
type PrivateVirtualInterfaceArrayOutput ¶
type PrivateVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }
func (PrivateVirtualInterfaceArrayOutput) ElementType ¶
func (PrivateVirtualInterfaceArrayOutput) ElementType() reflect.Type
func (PrivateVirtualInterfaceArrayOutput) Index ¶
func (o PrivateVirtualInterfaceArrayOutput) Index(i pulumi.IntInput) PrivateVirtualInterfaceOutput
func (PrivateVirtualInterfaceArrayOutput) ToPrivateVirtualInterfaceArrayOutput ¶
func (o PrivateVirtualInterfaceArrayOutput) ToPrivateVirtualInterfaceArrayOutput() PrivateVirtualInterfaceArrayOutput
func (PrivateVirtualInterfaceArrayOutput) ToPrivateVirtualInterfaceArrayOutputWithContext ¶
func (o PrivateVirtualInterfaceArrayOutput) ToPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) PrivateVirtualInterfaceArrayOutput
type PrivateVirtualInterfaceInput ¶
type PrivateVirtualInterfaceInput interface { pulumi.Input ToPrivateVirtualInterfaceOutput() PrivateVirtualInterfaceOutput ToPrivateVirtualInterfaceOutputWithContext(ctx context.Context) PrivateVirtualInterfaceOutput }
type PrivateVirtualInterfaceMap ¶
type PrivateVirtualInterfaceMap map[string]PrivateVirtualInterfaceInput
func (PrivateVirtualInterfaceMap) ElementType ¶
func (PrivateVirtualInterfaceMap) ElementType() reflect.Type
func (PrivateVirtualInterfaceMap) ToPrivateVirtualInterfaceMapOutput ¶
func (i PrivateVirtualInterfaceMap) ToPrivateVirtualInterfaceMapOutput() PrivateVirtualInterfaceMapOutput
func (PrivateVirtualInterfaceMap) ToPrivateVirtualInterfaceMapOutputWithContext ¶
func (i PrivateVirtualInterfaceMap) ToPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) PrivateVirtualInterfaceMapOutput
type PrivateVirtualInterfaceMapInput ¶
type PrivateVirtualInterfaceMapInput interface { pulumi.Input ToPrivateVirtualInterfaceMapOutput() PrivateVirtualInterfaceMapOutput ToPrivateVirtualInterfaceMapOutputWithContext(context.Context) PrivateVirtualInterfaceMapOutput }
PrivateVirtualInterfaceMapInput is an input type that accepts PrivateVirtualInterfaceMap and PrivateVirtualInterfaceMapOutput values. You can construct a concrete instance of `PrivateVirtualInterfaceMapInput` via:
PrivateVirtualInterfaceMap{ "key": PrivateVirtualInterfaceArgs{...} }
type PrivateVirtualInterfaceMapOutput ¶
type PrivateVirtualInterfaceMapOutput struct{ *pulumi.OutputState }
func (PrivateVirtualInterfaceMapOutput) ElementType ¶
func (PrivateVirtualInterfaceMapOutput) ElementType() reflect.Type
func (PrivateVirtualInterfaceMapOutput) MapIndex ¶
func (o PrivateVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) PrivateVirtualInterfaceOutput
func (PrivateVirtualInterfaceMapOutput) ToPrivateVirtualInterfaceMapOutput ¶
func (o PrivateVirtualInterfaceMapOutput) ToPrivateVirtualInterfaceMapOutput() PrivateVirtualInterfaceMapOutput
func (PrivateVirtualInterfaceMapOutput) ToPrivateVirtualInterfaceMapOutputWithContext ¶
func (o PrivateVirtualInterfaceMapOutput) ToPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) PrivateVirtualInterfaceMapOutput
type PrivateVirtualInterfaceOutput ¶
type PrivateVirtualInterfaceOutput struct{ *pulumi.OutputState }
func (PrivateVirtualInterfaceOutput) AddressFamily ¶
func (o PrivateVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
The address family for the BGP peer. ` ipv4 ` or `ipv6`.
func (PrivateVirtualInterfaceOutput) AmazonAddress ¶
func (o PrivateVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
func (PrivateVirtualInterfaceOutput) AmazonSideAsn ¶
func (o PrivateVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
func (PrivateVirtualInterfaceOutput) Arn ¶
func (o PrivateVirtualInterfaceOutput) Arn() pulumi.StringOutput
The ARN of the virtual interface.
func (PrivateVirtualInterfaceOutput) AwsDevice ¶
func (o PrivateVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
The Direct Connect endpoint on which the virtual interface terminates.
func (PrivateVirtualInterfaceOutput) BgpAsn ¶
func (o PrivateVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
func (PrivateVirtualInterfaceOutput) BgpAuthKey ¶
func (o PrivateVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
The authentication key for BGP configuration.
func (PrivateVirtualInterfaceOutput) ConnectionId ¶
func (o PrivateVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
func (PrivateVirtualInterfaceOutput) CustomerAddress ¶
func (o PrivateVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
func (PrivateVirtualInterfaceOutput) DxGatewayId ¶
func (o PrivateVirtualInterfaceOutput) DxGatewayId() pulumi.StringPtrOutput
The ID of the Direct Connect gateway to which to connect the virtual interface.
func (PrivateVirtualInterfaceOutput) ElementType ¶
func (PrivateVirtualInterfaceOutput) ElementType() reflect.Type
func (PrivateVirtualInterfaceOutput) JumboFrameCapable ¶
func (o PrivateVirtualInterfaceOutput) JumboFrameCapable() pulumi.BoolOutput
Indicates whether jumbo frames (9001 MTU) are supported.
func (PrivateVirtualInterfaceOutput) Mtu ¶
func (o PrivateVirtualInterfaceOutput) Mtu() pulumi.IntPtrOutput
The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`.
func (PrivateVirtualInterfaceOutput) Name ¶
func (o PrivateVirtualInterfaceOutput) Name() pulumi.StringOutput
The name for the virtual interface.
func (PrivateVirtualInterfaceOutput) SitelinkEnabled ¶
func (o PrivateVirtualInterfaceOutput) SitelinkEnabled() pulumi.BoolPtrOutput
Indicates whether to enable or disable SiteLink.
func (PrivateVirtualInterfaceOutput) Tags ¶
func (o PrivateVirtualInterfaceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (PrivateVirtualInterfaceOutput) TagsAll
deprecated
func (o PrivateVirtualInterfaceOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfaceOutput ¶
func (o PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfaceOutput() PrivateVirtualInterfaceOutput
func (PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfaceOutputWithContext ¶
func (o PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfaceOutputWithContext(ctx context.Context) PrivateVirtualInterfaceOutput
func (PrivateVirtualInterfaceOutput) Vlan ¶
func (o PrivateVirtualInterfaceOutput) Vlan() pulumi.IntOutput
The VLAN ID.
func (PrivateVirtualInterfaceOutput) VpnGatewayId ¶
func (o PrivateVirtualInterfaceOutput) VpnGatewayId() pulumi.StringPtrOutput
The ID of the virtual private gateway to which to connect the virtual interface.
type PrivateVirtualInterfaceState ¶
type PrivateVirtualInterfaceState struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringPtrInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput AmazonSideAsn pulumi.StringPtrInput // The ARN of the virtual interface. Arn pulumi.StringPtrInput // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntPtrInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringPtrInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringPtrInput // Indicates whether jumbo frames (9001 MTU) are supported. JumboFrameCapable pulumi.BoolPtrInput // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. // The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // Indicates whether to enable or disable SiteLink. SitelinkEnabled pulumi.BoolPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The VLAN ID. Vlan pulumi.IntPtrInput // The ID of the virtual private gateway to which to connect the virtual interface. VpnGatewayId pulumi.StringPtrInput }
func (PrivateVirtualInterfaceState) ElementType ¶
func (PrivateVirtualInterfaceState) ElementType() reflect.Type
type PublicVirtualInterface ¶
type PublicVirtualInterface struct { pulumi.CustomResourceState // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringOutput `pulumi:"addressFamily"` // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"` AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"` // The ARN of the virtual interface. Arn pulumi.StringOutput `pulumi:"arn"` // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringOutput `pulumi:"awsDevice"` // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"` // The authentication key for BGP configuration. BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"` // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringOutput `pulumi:"connectionId"` // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"` // The name for the virtual interface. Name pulumi.StringOutput `pulumi:"name"` // A list of routes to be advertised to the AWS network in this region. RouteFilterPrefixes pulumi.StringArrayOutput `pulumi:"routeFilterPrefixes"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The VLAN ID. Vlan pulumi.IntOutput `pulumi:"vlan"` }
Provides a Direct Connect public virtual interface resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directconnect.NewPublicVirtualInterface(ctx, "foo", &directconnect.PublicVirtualInterfaceArgs{ ConnectionId: pulumi.String("dxcon-zzzzzzzz"), Name: pulumi.String("vif-foo"), Vlan: pulumi.Int(4094), AddressFamily: pulumi.String("ipv4"), BgpAsn: pulumi.Int(65352), CustomerAddress: pulumi.String("175.45.176.1/30"), AmazonAddress: pulumi.String("175.45.176.2/30"), RouteFilterPrefixes: pulumi.StringArray{ pulumi.String("210.52.109.0/24"), pulumi.String("175.45.176.0/22"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect public virtual interfaces using the VIF `id`. For example:
```sh
$ pulumi import aws:directconnect/publicVirtualInterface:PublicVirtualInterface test dxvif-33cc44dd
```
func GetPublicVirtualInterface ¶
func GetPublicVirtualInterface(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PublicVirtualInterfaceState, opts ...pulumi.ResourceOption) (*PublicVirtualInterface, error)
GetPublicVirtualInterface gets an existing PublicVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPublicVirtualInterface ¶
func NewPublicVirtualInterface(ctx *pulumi.Context, name string, args *PublicVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*PublicVirtualInterface, error)
NewPublicVirtualInterface registers a new resource with the given unique name, arguments, and options.
func (*PublicVirtualInterface) ElementType ¶
func (*PublicVirtualInterface) ElementType() reflect.Type
func (*PublicVirtualInterface) ToPublicVirtualInterfaceOutput ¶
func (i *PublicVirtualInterface) ToPublicVirtualInterfaceOutput() PublicVirtualInterfaceOutput
func (*PublicVirtualInterface) ToPublicVirtualInterfaceOutputWithContext ¶
func (i *PublicVirtualInterface) ToPublicVirtualInterfaceOutputWithContext(ctx context.Context) PublicVirtualInterfaceOutput
type PublicVirtualInterfaceArgs ¶
type PublicVirtualInterfaceArgs struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // A list of routes to be advertised to the AWS network in this region. RouteFilterPrefixes pulumi.StringArrayInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The VLAN ID. Vlan pulumi.IntInput }
The set of arguments for constructing a PublicVirtualInterface resource.
func (PublicVirtualInterfaceArgs) ElementType ¶
func (PublicVirtualInterfaceArgs) ElementType() reflect.Type
type PublicVirtualInterfaceArray ¶
type PublicVirtualInterfaceArray []PublicVirtualInterfaceInput
func (PublicVirtualInterfaceArray) ElementType ¶
func (PublicVirtualInterfaceArray) ElementType() reflect.Type
func (PublicVirtualInterfaceArray) ToPublicVirtualInterfaceArrayOutput ¶
func (i PublicVirtualInterfaceArray) ToPublicVirtualInterfaceArrayOutput() PublicVirtualInterfaceArrayOutput
func (PublicVirtualInterfaceArray) ToPublicVirtualInterfaceArrayOutputWithContext ¶
func (i PublicVirtualInterfaceArray) ToPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) PublicVirtualInterfaceArrayOutput
type PublicVirtualInterfaceArrayInput ¶
type PublicVirtualInterfaceArrayInput interface { pulumi.Input ToPublicVirtualInterfaceArrayOutput() PublicVirtualInterfaceArrayOutput ToPublicVirtualInterfaceArrayOutputWithContext(context.Context) PublicVirtualInterfaceArrayOutput }
PublicVirtualInterfaceArrayInput is an input type that accepts PublicVirtualInterfaceArray and PublicVirtualInterfaceArrayOutput values. You can construct a concrete instance of `PublicVirtualInterfaceArrayInput` via:
PublicVirtualInterfaceArray{ PublicVirtualInterfaceArgs{...} }
type PublicVirtualInterfaceArrayOutput ¶
type PublicVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }
func (PublicVirtualInterfaceArrayOutput) ElementType ¶
func (PublicVirtualInterfaceArrayOutput) ElementType() reflect.Type
func (PublicVirtualInterfaceArrayOutput) Index ¶
func (o PublicVirtualInterfaceArrayOutput) Index(i pulumi.IntInput) PublicVirtualInterfaceOutput
func (PublicVirtualInterfaceArrayOutput) ToPublicVirtualInterfaceArrayOutput ¶
func (o PublicVirtualInterfaceArrayOutput) ToPublicVirtualInterfaceArrayOutput() PublicVirtualInterfaceArrayOutput
func (PublicVirtualInterfaceArrayOutput) ToPublicVirtualInterfaceArrayOutputWithContext ¶
func (o PublicVirtualInterfaceArrayOutput) ToPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) PublicVirtualInterfaceArrayOutput
type PublicVirtualInterfaceInput ¶
type PublicVirtualInterfaceInput interface { pulumi.Input ToPublicVirtualInterfaceOutput() PublicVirtualInterfaceOutput ToPublicVirtualInterfaceOutputWithContext(ctx context.Context) PublicVirtualInterfaceOutput }
type PublicVirtualInterfaceMap ¶
type PublicVirtualInterfaceMap map[string]PublicVirtualInterfaceInput
func (PublicVirtualInterfaceMap) ElementType ¶
func (PublicVirtualInterfaceMap) ElementType() reflect.Type
func (PublicVirtualInterfaceMap) ToPublicVirtualInterfaceMapOutput ¶
func (i PublicVirtualInterfaceMap) ToPublicVirtualInterfaceMapOutput() PublicVirtualInterfaceMapOutput
func (PublicVirtualInterfaceMap) ToPublicVirtualInterfaceMapOutputWithContext ¶
func (i PublicVirtualInterfaceMap) ToPublicVirtualInterfaceMapOutputWithContext(ctx context.Context) PublicVirtualInterfaceMapOutput
type PublicVirtualInterfaceMapInput ¶
type PublicVirtualInterfaceMapInput interface { pulumi.Input ToPublicVirtualInterfaceMapOutput() PublicVirtualInterfaceMapOutput ToPublicVirtualInterfaceMapOutputWithContext(context.Context) PublicVirtualInterfaceMapOutput }
PublicVirtualInterfaceMapInput is an input type that accepts PublicVirtualInterfaceMap and PublicVirtualInterfaceMapOutput values. You can construct a concrete instance of `PublicVirtualInterfaceMapInput` via:
PublicVirtualInterfaceMap{ "key": PublicVirtualInterfaceArgs{...} }
type PublicVirtualInterfaceMapOutput ¶
type PublicVirtualInterfaceMapOutput struct{ *pulumi.OutputState }
func (PublicVirtualInterfaceMapOutput) ElementType ¶
func (PublicVirtualInterfaceMapOutput) ElementType() reflect.Type
func (PublicVirtualInterfaceMapOutput) MapIndex ¶
func (o PublicVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) PublicVirtualInterfaceOutput
func (PublicVirtualInterfaceMapOutput) ToPublicVirtualInterfaceMapOutput ¶
func (o PublicVirtualInterfaceMapOutput) ToPublicVirtualInterfaceMapOutput() PublicVirtualInterfaceMapOutput
func (PublicVirtualInterfaceMapOutput) ToPublicVirtualInterfaceMapOutputWithContext ¶
func (o PublicVirtualInterfaceMapOutput) ToPublicVirtualInterfaceMapOutputWithContext(ctx context.Context) PublicVirtualInterfaceMapOutput
type PublicVirtualInterfaceOutput ¶
type PublicVirtualInterfaceOutput struct{ *pulumi.OutputState }
func (PublicVirtualInterfaceOutput) AddressFamily ¶
func (o PublicVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
The address family for the BGP peer. ` ipv4 ` or `ipv6`.
func (PublicVirtualInterfaceOutput) AmazonAddress ¶
func (o PublicVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
func (PublicVirtualInterfaceOutput) AmazonSideAsn ¶
func (o PublicVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
func (PublicVirtualInterfaceOutput) Arn ¶
func (o PublicVirtualInterfaceOutput) Arn() pulumi.StringOutput
The ARN of the virtual interface.
func (PublicVirtualInterfaceOutput) AwsDevice ¶
func (o PublicVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
The Direct Connect endpoint on which the virtual interface terminates.
func (PublicVirtualInterfaceOutput) BgpAsn ¶
func (o PublicVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
func (PublicVirtualInterfaceOutput) BgpAuthKey ¶
func (o PublicVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
The authentication key for BGP configuration.
func (PublicVirtualInterfaceOutput) ConnectionId ¶
func (o PublicVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
func (PublicVirtualInterfaceOutput) CustomerAddress ¶
func (o PublicVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
func (PublicVirtualInterfaceOutput) ElementType ¶
func (PublicVirtualInterfaceOutput) ElementType() reflect.Type
func (PublicVirtualInterfaceOutput) Name ¶
func (o PublicVirtualInterfaceOutput) Name() pulumi.StringOutput
The name for the virtual interface.
func (PublicVirtualInterfaceOutput) RouteFilterPrefixes ¶
func (o PublicVirtualInterfaceOutput) RouteFilterPrefixes() pulumi.StringArrayOutput
A list of routes to be advertised to the AWS network in this region.
func (PublicVirtualInterfaceOutput) Tags ¶
func (o PublicVirtualInterfaceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (PublicVirtualInterfaceOutput) TagsAll
deprecated
func (o PublicVirtualInterfaceOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (PublicVirtualInterfaceOutput) ToPublicVirtualInterfaceOutput ¶
func (o PublicVirtualInterfaceOutput) ToPublicVirtualInterfaceOutput() PublicVirtualInterfaceOutput
func (PublicVirtualInterfaceOutput) ToPublicVirtualInterfaceOutputWithContext ¶
func (o PublicVirtualInterfaceOutput) ToPublicVirtualInterfaceOutputWithContext(ctx context.Context) PublicVirtualInterfaceOutput
func (PublicVirtualInterfaceOutput) Vlan ¶
func (o PublicVirtualInterfaceOutput) Vlan() pulumi.IntOutput
The VLAN ID.
type PublicVirtualInterfaceState ¶
type PublicVirtualInterfaceState struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringPtrInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput AmazonSideAsn pulumi.StringPtrInput // The ARN of the virtual interface. Arn pulumi.StringPtrInput // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntPtrInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringPtrInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // A list of routes to be advertised to the AWS network in this region. RouteFilterPrefixes pulumi.StringArrayInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The VLAN ID. Vlan pulumi.IntPtrInput }
func (PublicVirtualInterfaceState) ElementType ¶
func (PublicVirtualInterfaceState) ElementType() reflect.Type
type TransitVirtualInterface ¶
type TransitVirtualInterface struct { pulumi.CustomResourceState // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringOutput `pulumi:"addressFamily"` // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"` AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"` // The ARN of the virtual interface. Arn pulumi.StringOutput `pulumi:"arn"` // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringOutput `pulumi:"awsDevice"` // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"` // The authentication key for BGP configuration. BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"` // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringOutput `pulumi:"connectionId"` // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"` // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringOutput `pulumi:"dxGatewayId"` // Indicates whether jumbo frames (8500 MTU) are supported. JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"` // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. // The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrOutput `pulumi:"mtu"` // The name for the virtual interface. Name pulumi.StringOutput `pulumi:"name"` // Indicates whether to enable or disable SiteLink. SitelinkEnabled pulumi.BoolPtrOutput `pulumi:"sitelinkEnabled"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The VLAN ID. Vlan pulumi.IntOutput `pulumi:"vlan"` }
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := directconnect.NewGateway(ctx, "example", &directconnect.GatewayArgs{ Name: pulumi.String("tf-dxg-example"), AmazonSideAsn: pulumi.String("64512"), }) if err != nil { return err } _, err = directconnect.NewTransitVirtualInterface(ctx, "example", &directconnect.TransitVirtualInterfaceArgs{ ConnectionId: pulumi.Any(exampleAwsDxConnection.Id), DxGatewayId: example.ID(), Name: pulumi.String("tf-transit-vif-example"), Vlan: pulumi.Int(4094), AddressFamily: pulumi.String("ipv4"), BgpAsn: pulumi.Int(65352), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Direct Connect transit virtual interfaces using the VIF `id`. For example:
```sh
$ pulumi import aws:directconnect/transitVirtualInterface:TransitVirtualInterface test dxvif-33cc44dd
```
func GetTransitVirtualInterface ¶
func GetTransitVirtualInterface(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TransitVirtualInterfaceState, opts ...pulumi.ResourceOption) (*TransitVirtualInterface, error)
GetTransitVirtualInterface gets an existing TransitVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTransitVirtualInterface ¶
func NewTransitVirtualInterface(ctx *pulumi.Context, name string, args *TransitVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*TransitVirtualInterface, error)
NewTransitVirtualInterface registers a new resource with the given unique name, arguments, and options.
func (*TransitVirtualInterface) ElementType ¶
func (*TransitVirtualInterface) ElementType() reflect.Type
func (*TransitVirtualInterface) ToTransitVirtualInterfaceOutput ¶
func (i *TransitVirtualInterface) ToTransitVirtualInterfaceOutput() TransitVirtualInterfaceOutput
func (*TransitVirtualInterface) ToTransitVirtualInterfaceOutputWithContext ¶
func (i *TransitVirtualInterface) ToTransitVirtualInterfaceOutputWithContext(ctx context.Context) TransitVirtualInterfaceOutput
type TransitVirtualInterfaceArgs ¶
type TransitVirtualInterfaceArgs struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringInput // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. // The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // Indicates whether to enable or disable SiteLink. SitelinkEnabled pulumi.BoolPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The VLAN ID. Vlan pulumi.IntInput }
The set of arguments for constructing a TransitVirtualInterface resource.
func (TransitVirtualInterfaceArgs) ElementType ¶
func (TransitVirtualInterfaceArgs) ElementType() reflect.Type
type TransitVirtualInterfaceArray ¶
type TransitVirtualInterfaceArray []TransitVirtualInterfaceInput
func (TransitVirtualInterfaceArray) ElementType ¶
func (TransitVirtualInterfaceArray) ElementType() reflect.Type
func (TransitVirtualInterfaceArray) ToTransitVirtualInterfaceArrayOutput ¶
func (i TransitVirtualInterfaceArray) ToTransitVirtualInterfaceArrayOutput() TransitVirtualInterfaceArrayOutput
func (TransitVirtualInterfaceArray) ToTransitVirtualInterfaceArrayOutputWithContext ¶
func (i TransitVirtualInterfaceArray) ToTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) TransitVirtualInterfaceArrayOutput
type TransitVirtualInterfaceArrayInput ¶
type TransitVirtualInterfaceArrayInput interface { pulumi.Input ToTransitVirtualInterfaceArrayOutput() TransitVirtualInterfaceArrayOutput ToTransitVirtualInterfaceArrayOutputWithContext(context.Context) TransitVirtualInterfaceArrayOutput }
TransitVirtualInterfaceArrayInput is an input type that accepts TransitVirtualInterfaceArray and TransitVirtualInterfaceArrayOutput values. You can construct a concrete instance of `TransitVirtualInterfaceArrayInput` via:
TransitVirtualInterfaceArray{ TransitVirtualInterfaceArgs{...} }
type TransitVirtualInterfaceArrayOutput ¶
type TransitVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }
func (TransitVirtualInterfaceArrayOutput) ElementType ¶
func (TransitVirtualInterfaceArrayOutput) ElementType() reflect.Type
func (TransitVirtualInterfaceArrayOutput) Index ¶
func (o TransitVirtualInterfaceArrayOutput) Index(i pulumi.IntInput) TransitVirtualInterfaceOutput
func (TransitVirtualInterfaceArrayOutput) ToTransitVirtualInterfaceArrayOutput ¶
func (o TransitVirtualInterfaceArrayOutput) ToTransitVirtualInterfaceArrayOutput() TransitVirtualInterfaceArrayOutput
func (TransitVirtualInterfaceArrayOutput) ToTransitVirtualInterfaceArrayOutputWithContext ¶
func (o TransitVirtualInterfaceArrayOutput) ToTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) TransitVirtualInterfaceArrayOutput
type TransitVirtualInterfaceInput ¶
type TransitVirtualInterfaceInput interface { pulumi.Input ToTransitVirtualInterfaceOutput() TransitVirtualInterfaceOutput ToTransitVirtualInterfaceOutputWithContext(ctx context.Context) TransitVirtualInterfaceOutput }
type TransitVirtualInterfaceMap ¶
type TransitVirtualInterfaceMap map[string]TransitVirtualInterfaceInput
func (TransitVirtualInterfaceMap) ElementType ¶
func (TransitVirtualInterfaceMap) ElementType() reflect.Type
func (TransitVirtualInterfaceMap) ToTransitVirtualInterfaceMapOutput ¶
func (i TransitVirtualInterfaceMap) ToTransitVirtualInterfaceMapOutput() TransitVirtualInterfaceMapOutput
func (TransitVirtualInterfaceMap) ToTransitVirtualInterfaceMapOutputWithContext ¶
func (i TransitVirtualInterfaceMap) ToTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) TransitVirtualInterfaceMapOutput
type TransitVirtualInterfaceMapInput ¶
type TransitVirtualInterfaceMapInput interface { pulumi.Input ToTransitVirtualInterfaceMapOutput() TransitVirtualInterfaceMapOutput ToTransitVirtualInterfaceMapOutputWithContext(context.Context) TransitVirtualInterfaceMapOutput }
TransitVirtualInterfaceMapInput is an input type that accepts TransitVirtualInterfaceMap and TransitVirtualInterfaceMapOutput values. You can construct a concrete instance of `TransitVirtualInterfaceMapInput` via:
TransitVirtualInterfaceMap{ "key": TransitVirtualInterfaceArgs{...} }
type TransitVirtualInterfaceMapOutput ¶
type TransitVirtualInterfaceMapOutput struct{ *pulumi.OutputState }
func (TransitVirtualInterfaceMapOutput) ElementType ¶
func (TransitVirtualInterfaceMapOutput) ElementType() reflect.Type
func (TransitVirtualInterfaceMapOutput) MapIndex ¶
func (o TransitVirtualInterfaceMapOutput) MapIndex(k pulumi.StringInput) TransitVirtualInterfaceOutput
func (TransitVirtualInterfaceMapOutput) ToTransitVirtualInterfaceMapOutput ¶
func (o TransitVirtualInterfaceMapOutput) ToTransitVirtualInterfaceMapOutput() TransitVirtualInterfaceMapOutput
func (TransitVirtualInterfaceMapOutput) ToTransitVirtualInterfaceMapOutputWithContext ¶
func (o TransitVirtualInterfaceMapOutput) ToTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) TransitVirtualInterfaceMapOutput
type TransitVirtualInterfaceOutput ¶
type TransitVirtualInterfaceOutput struct{ *pulumi.OutputState }
func (TransitVirtualInterfaceOutput) AddressFamily ¶
func (o TransitVirtualInterfaceOutput) AddressFamily() pulumi.StringOutput
The address family for the BGP peer. ` ipv4 ` or `ipv6`.
func (TransitVirtualInterfaceOutput) AmazonAddress ¶
func (o TransitVirtualInterfaceOutput) AmazonAddress() pulumi.StringOutput
The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
func (TransitVirtualInterfaceOutput) AmazonSideAsn ¶
func (o TransitVirtualInterfaceOutput) AmazonSideAsn() pulumi.StringOutput
func (TransitVirtualInterfaceOutput) Arn ¶
func (o TransitVirtualInterfaceOutput) Arn() pulumi.StringOutput
The ARN of the virtual interface.
func (TransitVirtualInterfaceOutput) AwsDevice ¶
func (o TransitVirtualInterfaceOutput) AwsDevice() pulumi.StringOutput
The Direct Connect endpoint on which the virtual interface terminates.
func (TransitVirtualInterfaceOutput) BgpAsn ¶
func (o TransitVirtualInterfaceOutput) BgpAsn() pulumi.IntOutput
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
func (TransitVirtualInterfaceOutput) BgpAuthKey ¶
func (o TransitVirtualInterfaceOutput) BgpAuthKey() pulumi.StringOutput
The authentication key for BGP configuration.
func (TransitVirtualInterfaceOutput) ConnectionId ¶
func (o TransitVirtualInterfaceOutput) ConnectionId() pulumi.StringOutput
The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
func (TransitVirtualInterfaceOutput) CustomerAddress ¶
func (o TransitVirtualInterfaceOutput) CustomerAddress() pulumi.StringOutput
The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
func (TransitVirtualInterfaceOutput) DxGatewayId ¶
func (o TransitVirtualInterfaceOutput) DxGatewayId() pulumi.StringOutput
The ID of the Direct Connect gateway to which to connect the virtual interface.
func (TransitVirtualInterfaceOutput) ElementType ¶
func (TransitVirtualInterfaceOutput) ElementType() reflect.Type
func (TransitVirtualInterfaceOutput) JumboFrameCapable ¶
func (o TransitVirtualInterfaceOutput) JumboFrameCapable() pulumi.BoolOutput
Indicates whether jumbo frames (8500 MTU) are supported.
func (TransitVirtualInterfaceOutput) Mtu ¶
func (o TransitVirtualInterfaceOutput) Mtu() pulumi.IntPtrOutput
The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`.
func (TransitVirtualInterfaceOutput) Name ¶
func (o TransitVirtualInterfaceOutput) Name() pulumi.StringOutput
The name for the virtual interface.
func (TransitVirtualInterfaceOutput) SitelinkEnabled ¶
func (o TransitVirtualInterfaceOutput) SitelinkEnabled() pulumi.BoolPtrOutput
Indicates whether to enable or disable SiteLink.
func (TransitVirtualInterfaceOutput) Tags ¶
func (o TransitVirtualInterfaceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (TransitVirtualInterfaceOutput) TagsAll
deprecated
func (o TransitVirtualInterfaceOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (TransitVirtualInterfaceOutput) ToTransitVirtualInterfaceOutput ¶
func (o TransitVirtualInterfaceOutput) ToTransitVirtualInterfaceOutput() TransitVirtualInterfaceOutput
func (TransitVirtualInterfaceOutput) ToTransitVirtualInterfaceOutputWithContext ¶
func (o TransitVirtualInterfaceOutput) ToTransitVirtualInterfaceOutputWithContext(ctx context.Context) TransitVirtualInterfaceOutput
func (TransitVirtualInterfaceOutput) Vlan ¶
func (o TransitVirtualInterfaceOutput) Vlan() pulumi.IntOutput
The VLAN ID.
type TransitVirtualInterfaceState ¶
type TransitVirtualInterfaceState struct { // The address family for the BGP peer. ` ipv4 ` or `ipv6`. AddressFamily pulumi.StringPtrInput // The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. AmazonAddress pulumi.StringPtrInput AmazonSideAsn pulumi.StringPtrInput // The ARN of the virtual interface. Arn pulumi.StringPtrInput // The Direct Connect endpoint on which the virtual interface terminates. AwsDevice pulumi.StringPtrInput // The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. BgpAsn pulumi.IntPtrInput // The authentication key for BGP configuration. BgpAuthKey pulumi.StringPtrInput // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. ConnectionId pulumi.StringPtrInput // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress pulumi.StringPtrInput // The ID of the Direct Connect gateway to which to connect the virtual interface. DxGatewayId pulumi.StringPtrInput // Indicates whether jumbo frames (8500 MTU) are supported. JumboFrameCapable pulumi.BoolPtrInput // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. // The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`. Mtu pulumi.IntPtrInput // The name for the virtual interface. Name pulumi.StringPtrInput // Indicates whether to enable or disable SiteLink. SitelinkEnabled pulumi.BoolPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The VLAN ID. Vlan pulumi.IntPtrInput }
func (TransitVirtualInterfaceState) ElementType ¶
func (TransitVirtualInterfaceState) ElementType() reflect.Type
Source Files ¶
- bgpPeer.go
- connection.go
- connectionAssociation.go
- connectionConfirmation.go
- gateway.go
- gatewayAssociation.go
- gatewayAssociationProposal.go
- getConnection.go
- getGateway.go
- getLocation.go
- getLocations.go
- getRouterConfiguration.go
- hostedConnection.go
- hostedPrivateVirtualInterface.go
- hostedPrivateVirtualInterfaceAccepter.go
- hostedPublicVirtualInterface.go
- hostedPublicVirtualInterfaceAccepter.go
- hostedTransitVirtualInterface.go
- hostedTransitVirtualInterfaceAcceptor.go
- init.go
- linkAggregationGroup.go
- macsecKeyAssociation.go
- privateVirtualInterface.go
- publicVirtualInterface.go
- pulumiTypes.go
- transitVirtualInterface.go