Try AWS Native preview for resources not in the classic version.
aws.directconnect.ConnectionConfirmation
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides a confirmation of the creation of the specified hosted connection on an interconnect.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var confirmation = new Aws.DirectConnect.ConnectionConfirmation("confirmation", new()
{
ConnectionId = "dxcon-ffabc123",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/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 com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.directconnect.ConnectionConfirmation;
import com.pulumi.aws.directconnect.ConnectionConfirmationArgs;
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 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 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:
- Connection
Id string The ID of the hosted connection.
- Connection
Id string The ID of the hosted connection.
- connection
Id String The ID of the hosted connection.
- connection
Id string The ID of the hosted connection.
- connection_
id str The ID of the hosted connection.
- connection
Id 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 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.
- Connection
Id string The ID of the hosted connection.
- Connection
Id string The ID of the hosted connection.
- connection
Id String The ID of the hosted connection.
- connection
Id string The ID of the hosted connection.
- connection_
id str The ID of the hosted connection.
- connection
Id String The ID of the hosted connection.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.