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",
});
}
}
Inherited Members
Namespace: Pulumi.Aws.DirectConnect
Assembly: Pulumi.Aws.dll
Syntax
public class Gateway : CustomResource
Constructors
View SourceGateway(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 SourceAmazonSideAsn
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> |
Name
The name of the connection.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OwnerAccountId
AWS Account ID of the gateway.
Declaration
public Output<string> OwnerAccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |