Package com.pulumi.aws.directconnect
Class HostedConnection
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.directconnect.HostedConnection
-
public class HostedConnection extends com.pulumi.resources.CustomResource
Provides a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects. Intended for use by AWS Direct Connect Partners only. ## Example Usage <!--Start PulumiCodeChooser -->package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.directconnect.HostedConnection; import com.pulumi.aws.directconnect.HostedConnectionArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var hosted = new HostedConnection("hosted", HostedConnectionArgs.builder() .connectionId("dxcon-ffabc123") .bandwidth("100Mbps") .name("tf-dx-hosted-connection") .ownerAccountId("123456789012") .vlan(1) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description HostedConnection(java.lang.String name)
HostedConnection(java.lang.String name, HostedConnectionArgs args)
HostedConnection(java.lang.String name, HostedConnectionArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
awsDevice()
com.pulumi.core.Output<java.lang.String>
bandwidth()
com.pulumi.core.Output<java.lang.String>
connectionId()
static HostedConnection
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, HostedConnectionState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
hasLogicalRedundancy()
com.pulumi.core.Output<java.lang.Boolean>
jumboFrameCapable()
com.pulumi.core.Output<java.lang.String>
lagId()
com.pulumi.core.Output<java.lang.String>
loaIssueTime()
com.pulumi.core.Output<java.lang.String>
location()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
ownerAccountId()
com.pulumi.core.Output<java.lang.String>
partnerName()
com.pulumi.core.Output<java.lang.String>
providerName()
com.pulumi.core.Output<java.lang.String>
region()
com.pulumi.core.Output<java.lang.String>
state()
com.pulumi.core.Output<java.lang.Integer>
vlan()
-
-
-
Constructor Detail
-
HostedConnection
public HostedConnection(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
HostedConnection
public HostedConnection(java.lang.String name, HostedConnectionArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
HostedConnection
public HostedConnection(java.lang.String name, HostedConnectionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
awsDevice
public com.pulumi.core.Output<java.lang.String> awsDevice()
- Returns:
- The Direct Connect endpoint on which the physical connection terminates.
-
bandwidth
public com.pulumi.core.Output<java.lang.String> bandwidth()
- Returns:
- The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive.
-
connectionId
public com.pulumi.core.Output<java.lang.String> connectionId()
- Returns:
- The ID of the interconnect or LAG.
-
hasLogicalRedundancy
public com.pulumi.core.Output<java.lang.String> hasLogicalRedundancy()
- Returns:
- Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
-
jumboFrameCapable
public com.pulumi.core.Output<java.lang.Boolean> jumboFrameCapable()
- Returns:
- Boolean value representing if jumbo frames have been enabled for this connection.
-
lagId
public com.pulumi.core.Output<java.lang.String> lagId()
- Returns:
- The ID of the LAG.
-
loaIssueTime
public com.pulumi.core.Output<java.lang.String> loaIssueTime()
- Returns:
- The time of the most recent call to [DescribeLoa](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLoa.html) for this connection.
-
location
public com.pulumi.core.Output<java.lang.String> location()
- Returns:
- The location of the connection.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The name of the connection.
-
ownerAccountId
public com.pulumi.core.Output<java.lang.String> ownerAccountId()
- Returns:
- The ID of the AWS account of the customer for the connection.
-
partnerName
public com.pulumi.core.Output<java.lang.String> partnerName()
- Returns:
- The name of the AWS Direct Connect service provider associated with the connection.
-
providerName
public com.pulumi.core.Output<java.lang.String> providerName()
- Returns:
- The name of the service provider associated with the connection.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- The AWS Region where the connection is located.
-
state
public com.pulumi.core.Output<java.lang.String> state()
- Returns:
- The state of the connection. Possible values include: ordering, requested, pending, available, down, deleting, deleted, rejected, unknown. See [AllocateHostedConnection](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_AllocateHostedConnection.html) for a description of each connection state.
-
vlan
public com.pulumi.core.Output<java.lang.Integer> vlan()
- Returns:
- The dedicated VLAN provisioned to the hosted connection.
-
get
public static HostedConnection get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable HostedConnectionState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-