Class GatewayAssociationProposal
Manages a Direct Connect Gateway Association Proposal, typically for enabling cross-account associations. For single account associations, see the aws.directconnect.GatewayAssociation resource.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.DirectConnect.GatewayAssociationProposal("example", new Aws.DirectConnect.GatewayAssociationProposalArgs
{
AssociatedGatewayId = aws_vpn_gateway.Example.Id,
DxGatewayId = aws_dx_gateway.Example.Id,
DxGatewayOwnerAccountId = aws_dx_gateway.Example.Owner_account_id,
});
}
}
Inherited Members
Namespace: Pulumi.Aws.DirectConnect
Assembly: Pulumi.Aws.dll
Syntax
public class GatewayAssociationProposal : CustomResource
Constructors
View SourceGatewayAssociationProposal(String, GatewayAssociationProposalArgs, CustomResourceOptions)
Create a GatewayAssociationProposal resource with the given unique name, arguments, and options.
Declaration
public GatewayAssociationProposal(string name, GatewayAssociationProposalArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| GatewayAssociationProposalArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAllowedPrefixes
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.
Declaration
public Output<ImmutableArray<string>> AllowedPrefixes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
AssociatedGatewayId
The ID of the VGW or transit gateway with which to associate the Direct Connect gateway.
Declaration
public Output<string> AssociatedGatewayId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AssociatedGatewayOwnerAccountId
The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway.
Declaration
public Output<string> AssociatedGatewayOwnerAccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AssociatedGatewayType
The type of the associated gateway, transitGateway or virtualPrivateGateway.
Declaration
public Output<string> AssociatedGatewayType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DxGatewayId
Direct Connect Gateway identifier.
Declaration
public Output<string> DxGatewayId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DxGatewayOwnerAccountId
AWS Account identifier of the Direct Connect Gateway's owner.
Declaration
public Output<string> DxGatewayOwnerAccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VpnGatewayId
Deprecated: Use associated_gateway_id instead. Virtual Gateway identifier to associate with the Direct Connect Gateway.
Declaration
public Output<string> VpnGatewayId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, GatewayAssociationProposalState, CustomResourceOptions)
Get an existing GatewayAssociationProposal resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static GatewayAssociationProposal Get(string name, Input<string> id, GatewayAssociationProposalState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| GatewayAssociationProposalState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| GatewayAssociationProposal |