Show / Hide Table of Contents

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,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
GatewayAssociationProposal
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.DirectConnect
Assembly: Pulumi.Aws.dll
Syntax
public class GatewayAssociationProposal : CustomResource

Constructors

View Source

GatewayAssociationProposal(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 Source

AllowedPrefixes

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>>
View Source

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>
View Source

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>
View Source

AssociatedGatewayType

The type of the associated gateway, transitGateway or virtualPrivateGateway.

Declaration
public Output<string> AssociatedGatewayType { get; }
Property Value
Type Description
Output<System.String>
View Source

DxGatewayId

Direct Connect Gateway identifier.

Declaration
public Output<string> DxGatewayId { get; }
Property Value
Type Description
Output<System.String>
View Source

DxGatewayOwnerAccountId

AWS Account identifier of the Direct Connect Gateway's owner.

Declaration
public Output<string> DxGatewayOwnerAccountId { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.