Show / Hide Table of Contents

Class TransitGatewayPeeringAttachmentAccepter

Manages the accepter's side of an EC2 Transit Gateway Peering Attachment.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.Ec2.TransitGatewayPeeringAttachmentAccepter("example", new Aws.Ec2.TransitGatewayPeeringAttachmentAccepterArgs
    {
        Tags = 
        {
            { "Name", "Example cross-account attachment" },
        },
        TransitGatewayAttachmentId = aws_ec2_transit_gateway_peering_attachment.Example.Id,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
TransitGatewayPeeringAttachmentAccepter
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.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public class TransitGatewayPeeringAttachmentAccepter : CustomResource

Constructors

View Source

TransitGatewayPeeringAttachmentAccepter(String, TransitGatewayPeeringAttachmentAccepterArgs, CustomResourceOptions)

Create a TransitGatewayPeeringAttachmentAccepter resource with the given unique name, arguments, and options.

Declaration
public TransitGatewayPeeringAttachmentAccepter(string name, TransitGatewayPeeringAttachmentAccepterArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

TransitGatewayPeeringAttachmentAccepterArgs 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

PeerAccountId

Identifier of the AWS account that owns the EC2 TGW peering.

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

PeerRegion

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

PeerTransitGatewayId

Identifier of EC2 Transit Gateway to peer with.

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

Tags

Key-value tags for the EC2 Transit Gateway Peering Attachment.

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

TransitGatewayAttachmentId

The ID of the EC2 Transit Gateway Peering Attachment to manage.

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

TransitGatewayId

Identifier of EC2 Transit Gateway.

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

Methods

View Source

Get(String, Input<String>, TransitGatewayPeeringAttachmentAccepterState, CustomResourceOptions)

Get an existing TransitGatewayPeeringAttachmentAccepter resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static TransitGatewayPeeringAttachmentAccepter Get(string name, Input<string> id, TransitGatewayPeeringAttachmentAccepterState 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.

TransitGatewayPeeringAttachmentAccepterState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
TransitGatewayPeeringAttachmentAccepter
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.