AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.9.1 published on Tuesday, Jun 21, 2022 by Pulumi

ConnectionConfirmation

Provides a confirmation of the creation of the specified hosted connection on an interconnect.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var confirmation = new Aws.DirectConnect.ConnectionConfirmation("confirmation", new Aws.DirectConnect.ConnectionConfirmationArgs
        {
            ConnectionId = "dxcon-ffabc123",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/directconnect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.NewConnectionConfirmation(ctx, "confirmation", &directconnect.ConnectionConfirmationArgs{
			ConnectionId: pulumi.String("dxcon-ffabc123"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var confirmation = new ConnectionConfirmation("confirmation", ConnectionConfirmationArgs.builder()        
            .connectionId("dxcon-ffabc123")
            .build());

    }
}
import pulumi
import pulumi_aws as aws

confirmation = aws.directconnect.ConnectionConfirmation("confirmation", connection_id="dxcon-ffabc123")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const confirmation = new aws.directconnect.ConnectionConfirmation("confirmation", {
    connectionId: "dxcon-ffabc123",
});
resources:
  confirmation:
    type: aws:directconnect:ConnectionConfirmation
    properties:
      connectionId: dxcon-ffabc123

Create a ConnectionConfirmation Resource

new ConnectionConfirmation(name: string, args: ConnectionConfirmationArgs, opts?: CustomResourceOptions);
@overload
def ConnectionConfirmation(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           connection_id: Optional[str] = None)
@overload
def ConnectionConfirmation(resource_name: str,
                           args: ConnectionConfirmationArgs,
                           opts: Optional[ResourceOptions] = None)
func NewConnectionConfirmation(ctx *Context, name string, args ConnectionConfirmationArgs, opts ...ResourceOption) (*ConnectionConfirmation, error)
public ConnectionConfirmation(string name, ConnectionConfirmationArgs args, CustomResourceOptions? opts = null)
public ConnectionConfirmation(String name, ConnectionConfirmationArgs args)
public ConnectionConfirmation(String name, ConnectionConfirmationArgs args, CustomResourceOptions options)
type: aws:directconnect:ConnectionConfirmation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ConnectionConfirmationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ConnectionConfirmationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ConnectionConfirmationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ConnectionConfirmationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ConnectionConfirmationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ConnectionConfirmation Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ConnectionConfirmation resource accepts the following input properties:

ConnectionId string

The ID of the hosted connection.

ConnectionId string

The ID of the hosted connection.

connectionId String

The ID of the hosted connection.

connectionId string

The ID of the hosted connection.

connection_id str

The ID of the hosted connection.

connectionId String

The ID of the hosted connection.

Outputs

All input properties are implicitly available as output properties. Additionally, the ConnectionConfirmation resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing ConnectionConfirmation Resource

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

public static get(name: string, id: Input<ID>, state?: ConnectionConfirmationState, opts?: CustomResourceOptions): ConnectionConfirmation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        connection_id: Optional[str] = None) -> ConnectionConfirmation
func GetConnectionConfirmation(ctx *Context, name string, id IDInput, state *ConnectionConfirmationState, opts ...ResourceOption) (*ConnectionConfirmation, error)
public static ConnectionConfirmation Get(string name, Input<string> id, ConnectionConfirmationState? state, CustomResourceOptions? opts = null)
public static ConnectionConfirmation get(String name, Output<String> id, ConnectionConfirmationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ConnectionId string

The ID of the hosted connection.

ConnectionId string

The ID of the hosted connection.

connectionId String

The ID of the hosted connection.

connectionId string

The ID of the hosted connection.

connection_id str

The ID of the hosted connection.

connectionId String

The ID of the hosted connection.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.