Show / Hide Table of Contents

Class Gateway

Provides a Direct Connect Gateway.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.DirectConnect.Gateway("example", new Aws.DirectConnect.GatewayArgs
    {
        AmazonSideAsn = "64512",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Gateway
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 Gateway : CustomResource

Constructors

View Source

Gateway(String, GatewayArgs, CustomResourceOptions)

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

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

The unique name of the resource

GatewayArgs 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

AmazonSideAsn

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.

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

Name

The name of the connection.

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

OwnerAccountId

AWS Account ID of the gateway.

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

Methods

View Source

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

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

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

GatewayState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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