aws.quicksight.VpcConnection
Explore with Pulumi AI
Resource for managing an AWS QuickSight VPC Connection.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const vpcConnectionRole = new aws.iam.Role("vpc_connection_role", {
assumeRolePolicy: JSON.stringify({
Version: "2012-10-17",
Statement: [{
Effect: "Allow",
Action: "sts:AssumeRole",
Principal: {
Service: "quicksight.amazonaws.com",
},
}],
}),
inlinePolicies: [{
name: "QuickSightVPCConnectionRolePolicy",
policy: JSON.stringify({
Version: "2012-10-17",
Statement: [{
Effect: "Allow",
Action: [
"ec2:CreateNetworkInterface",
"ec2:ModifyNetworkInterfaceAttribute",
"ec2:DeleteNetworkInterface",
"ec2:DescribeSubnets",
"ec2:DescribeSecurityGroups",
],
Resource: ["*"],
}],
}),
}],
});
const example = new aws.quicksight.VpcConnection("example", {
vpcConnectionId: "example-connection-id",
name: "Example Connection",
roleArn: vpcConnectionRole.arn,
securityGroupIds: ["sg-00000000000000000"],
subnetIds: [
"subnet-00000000000000000",
"subnet-00000000000000001",
],
});
import pulumi
import json
import pulumi_aws as aws
vpc_connection_role = aws.iam.Role("vpc_connection_role",
assume_role_policy=json.dumps({
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Principal": {
"Service": "quicksight.amazonaws.com",
},
}],
}),
inline_policies=[{
"name": "QuickSightVPCConnectionRolePolicy",
"policy": json.dumps({
"version": "2012-10-17",
"statement": [{
"effect": "Allow",
"action": [
"ec2:CreateNetworkInterface",
"ec2:ModifyNetworkInterfaceAttribute",
"ec2:DeleteNetworkInterface",
"ec2:DescribeSubnets",
"ec2:DescribeSecurityGroups",
],
"resource": ["*"],
}],
}),
}])
example = aws.quicksight.VpcConnection("example",
vpc_connection_id="example-connection-id",
name="Example Connection",
role_arn=vpc_connection_role.arn,
security_group_ids=["sg-00000000000000000"],
subnet_ids=[
"subnet-00000000000000000",
"subnet-00000000000000001",
])
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/quicksight"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal(map[string]interface{}{
"Version": "2012-10-17",
"Statement": []map[string]interface{}{
map[string]interface{}{
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Principal": map[string]interface{}{
"Service": "quicksight.amazonaws.com",
},
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
tmpJSON1, err := json.Marshal(map[string]interface{}{
"Version": "2012-10-17",
"Statement": []map[string]interface{}{
map[string]interface{}{
"Effect": "Allow",
"Action": []string{
"ec2:CreateNetworkInterface",
"ec2:ModifyNetworkInterfaceAttribute",
"ec2:DeleteNetworkInterface",
"ec2:DescribeSubnets",
"ec2:DescribeSecurityGroups",
},
"Resource": []string{
"*",
},
},
},
})
if err != nil {
return err
}
json1 := string(tmpJSON1)
vpcConnectionRole, err := iam.NewRole(ctx, "vpc_connection_role", &iam.RoleArgs{
AssumeRolePolicy: pulumi.String(json0),
InlinePolicies: iam.RoleInlinePolicyArray{
&iam.RoleInlinePolicyArgs{
Name: pulumi.String("QuickSightVPCConnectionRolePolicy"),
Policy: pulumi.String(json1),
},
},
})
if err != nil {
return err
}
_, err = quicksight.NewVpcConnection(ctx, "example", &quicksight.VpcConnectionArgs{
VpcConnectionId: pulumi.String("example-connection-id"),
Name: pulumi.String("Example Connection"),
RoleArn: vpcConnectionRole.Arn,
SecurityGroupIds: pulumi.StringArray{
pulumi.String("sg-00000000000000000"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("subnet-00000000000000000"),
pulumi.String("subnet-00000000000000001"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var vpcConnectionRole = new Aws.Iam.Role("vpc_connection_role", new()
{
AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Version"] = "2012-10-17",
["Statement"] = new[]
{
new Dictionary<string, object?>
{
["Effect"] = "Allow",
["Action"] = "sts:AssumeRole",
["Principal"] = new Dictionary<string, object?>
{
["Service"] = "quicksight.amazonaws.com",
},
},
},
}),
InlinePolicies = new[]
{
new Aws.Iam.Inputs.RoleInlinePolicyArgs
{
Name = "QuickSightVPCConnectionRolePolicy",
Policy = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Version"] = "2012-10-17",
["Statement"] = new[]
{
new Dictionary<string, object?>
{
["Effect"] = "Allow",
["Action"] = new[]
{
"ec2:CreateNetworkInterface",
"ec2:ModifyNetworkInterfaceAttribute",
"ec2:DeleteNetworkInterface",
"ec2:DescribeSubnets",
"ec2:DescribeSecurityGroups",
},
["Resource"] = new[]
{
"*",
},
},
},
}),
},
},
});
var example = new Aws.Quicksight.VpcConnection("example", new()
{
VpcConnectionId = "example-connection-id",
Name = "Example Connection",
RoleArn = vpcConnectionRole.Arn,
SecurityGroupIds = new[]
{
"sg-00000000000000000",
},
SubnetIds = new[]
{
"subnet-00000000000000000",
"subnet-00000000000000001",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.iam.inputs.RoleInlinePolicyArgs;
import com.pulumi.aws.quicksight.VpcConnection;
import com.pulumi.aws.quicksight.VpcConnectionArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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 vpcConnectionRole = new Role("vpcConnectionRole", RoleArgs.builder()
.assumeRolePolicy(serializeJson(
jsonObject(
jsonProperty("Version", "2012-10-17"),
jsonProperty("Statement", jsonArray(jsonObject(
jsonProperty("Effect", "Allow"),
jsonProperty("Action", "sts:AssumeRole"),
jsonProperty("Principal", jsonObject(
jsonProperty("Service", "quicksight.amazonaws.com")
))
)))
)))
.inlinePolicies(RoleInlinePolicyArgs.builder()
.name("QuickSightVPCConnectionRolePolicy")
.policy(serializeJson(
jsonObject(
jsonProperty("Version", "2012-10-17"),
jsonProperty("Statement", jsonArray(jsonObject(
jsonProperty("Effect", "Allow"),
jsonProperty("Action", jsonArray(
"ec2:CreateNetworkInterface",
"ec2:ModifyNetworkInterfaceAttribute",
"ec2:DeleteNetworkInterface",
"ec2:DescribeSubnets",
"ec2:DescribeSecurityGroups"
)),
jsonProperty("Resource", jsonArray("*"))
)))
)))
.build())
.build());
var example = new VpcConnection("example", VpcConnectionArgs.builder()
.vpcConnectionId("example-connection-id")
.name("Example Connection")
.roleArn(vpcConnectionRole.arn())
.securityGroupIds("sg-00000000000000000")
.subnetIds(
"subnet-00000000000000000",
"subnet-00000000000000001")
.build());
}
}
resources:
vpcConnectionRole:
type: aws:iam:Role
name: vpc_connection_role
properties:
assumeRolePolicy:
fn::toJSON:
Version: 2012-10-17
Statement:
- Effect: Allow
Action: sts:AssumeRole
Principal:
Service: quicksight.amazonaws.com
inlinePolicies:
- name: QuickSightVPCConnectionRolePolicy
policy:
fn::toJSON:
Version: 2012-10-17
Statement:
- Effect: Allow
Action:
- ec2:CreateNetworkInterface
- ec2:ModifyNetworkInterfaceAttribute
- ec2:DeleteNetworkInterface
- ec2:DescribeSubnets
- ec2:DescribeSecurityGroups
Resource:
- '*'
example:
type: aws:quicksight:VpcConnection
properties:
vpcConnectionId: example-connection-id
name: Example Connection
roleArn: ${vpcConnectionRole.arn}
securityGroupIds:
- sg-00000000000000000
subnetIds:
- subnet-00000000000000000
- subnet-00000000000000001
Create VpcConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcConnection(name: string, args: VpcConnectionArgs, opts?: CustomResourceOptions);
@overload
def VpcConnection(resource_name: str,
args: VpcConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
role_arn: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
subnet_ids: Optional[Sequence[str]] = None,
vpc_connection_id: Optional[str] = None,
aws_account_id: Optional[str] = None,
dns_resolvers: Optional[Sequence[str]] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[VpcConnectionTimeoutsArgs] = None)
func NewVpcConnection(ctx *Context, name string, args VpcConnectionArgs, opts ...ResourceOption) (*VpcConnection, error)
public VpcConnection(string name, VpcConnectionArgs args, CustomResourceOptions? opts = null)
public VpcConnection(String name, VpcConnectionArgs args)
public VpcConnection(String name, VpcConnectionArgs args, CustomResourceOptions options)
type: aws:quicksight:VpcConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VpcConnectionArgs
- 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 VpcConnectionArgs
- 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 VpcConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var awsVpcConnectionResource = new Aws.Quicksight.VpcConnection("awsVpcConnectionResource", new()
{
RoleArn = "string",
SecurityGroupIds = new[]
{
"string",
},
SubnetIds = new[]
{
"string",
},
VpcConnectionId = "string",
AwsAccountId = "string",
DnsResolvers = new[]
{
"string",
},
Name = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Quicksight.Inputs.VpcConnectionTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := quicksight.NewVpcConnection(ctx, "awsVpcConnectionResource", &quicksight.VpcConnectionArgs{
RoleArn: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
VpcConnectionId: pulumi.String("string"),
AwsAccountId: pulumi.String("string"),
DnsResolvers: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &quicksight.VpcConnectionTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var awsVpcConnectionResource = new VpcConnection("awsVpcConnectionResource", VpcConnectionArgs.builder()
.roleArn("string")
.securityGroupIds("string")
.subnetIds("string")
.vpcConnectionId("string")
.awsAccountId("string")
.dnsResolvers("string")
.name("string")
.tags(Map.of("string", "string"))
.timeouts(VpcConnectionTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
aws_vpc_connection_resource = aws.quicksight.VpcConnection("awsVpcConnectionResource",
role_arn="string",
security_group_ids=["string"],
subnet_ids=["string"],
vpc_connection_id="string",
aws_account_id="string",
dns_resolvers=["string"],
name="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const awsVpcConnectionResource = new aws.quicksight.VpcConnection("awsVpcConnectionResource", {
roleArn: "string",
securityGroupIds: ["string"],
subnetIds: ["string"],
vpcConnectionId: "string",
awsAccountId: "string",
dnsResolvers: ["string"],
name: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:quicksight:VpcConnection
properties:
awsAccountId: string
dnsResolvers:
- string
name: string
roleArn: string
securityGroupIds:
- string
subnetIds:
- string
tags:
string: string
timeouts:
create: string
delete: string
update: string
vpcConnectionId: string
VpcConnection 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 VpcConnection resource accepts the following input properties:
- Role
Arn string - The IAM role to associate with the VPC connection.
- Security
Group List<string>Ids - A list of security group IDs for the VPC connection.
- Subnet
Ids List<string> A list of subnet IDs for the VPC connection.
The following arguments are optional:
- Vpc
Connection stringId - The ID of the VPC connection.
- Aws
Account stringId - AWS account ID.
- Dns
Resolvers List<string> - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- Name string
- The display name for the VPC connection.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Pulumi.
Aws. Quicksight. Inputs. Vpc Connection Timeouts
- Role
Arn string - The IAM role to associate with the VPC connection.
- Security
Group []stringIds - A list of security group IDs for the VPC connection.
- Subnet
Ids []string A list of subnet IDs for the VPC connection.
The following arguments are optional:
- Vpc
Connection stringId - The ID of the VPC connection.
- Aws
Account stringId - AWS account ID.
- Dns
Resolvers []string - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- Name string
- The display name for the VPC connection.
- map[string]string
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Vpc
Connection Timeouts Args
- role
Arn String - The IAM role to associate with the VPC connection.
- security
Group List<String>Ids - A list of security group IDs for the VPC connection.
- subnet
Ids List<String> A list of subnet IDs for the VPC connection.
The following arguments are optional:
- vpc
Connection StringId - The ID of the VPC connection.
- aws
Account StringId - AWS account ID.
- dns
Resolvers List<String> - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- name String
- The display name for the VPC connection.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Vpc
Connection Timeouts
- role
Arn string - The IAM role to associate with the VPC connection.
- security
Group string[]Ids - A list of security group IDs for the VPC connection.
- subnet
Ids string[] A list of subnet IDs for the VPC connection.
The following arguments are optional:
- vpc
Connection stringId - The ID of the VPC connection.
- aws
Account stringId - AWS account ID.
- dns
Resolvers string[] - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- name string
- The display name for the VPC connection.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Vpc
Connection Timeouts
- role_
arn str - The IAM role to associate with the VPC connection.
- security_
group_ Sequence[str]ids - A list of security group IDs for the VPC connection.
- subnet_
ids Sequence[str] A list of subnet IDs for the VPC connection.
The following arguments are optional:
- vpc_
connection_ strid - The ID of the VPC connection.
- aws_
account_ strid - AWS account ID.
- dns_
resolvers Sequence[str] - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- name str
- The display name for the VPC connection.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Vpc
Connection Timeouts Args
- role
Arn String - The IAM role to associate with the VPC connection.
- security
Group List<String>Ids - A list of security group IDs for the VPC connection.
- subnet
Ids List<String> A list of subnet IDs for the VPC connection.
The following arguments are optional:
- vpc
Connection StringId - The ID of the VPC connection.
- aws
Account StringId - AWS account ID.
- dns
Resolvers List<String> - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- name String
- The display name for the VPC connection.
- Map<String>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcConnection resource produces the following output properties:
- Arn string
- ARN of the VPC connection.
- Availability
Status string - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- ARN of the VPC connection.
- Availability
Status string - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the VPC connection.
- availability
Status String - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- ARN of the VPC connection.
- availability
Status string - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- ARN of the VPC connection.
- availability_
status str - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the VPC connection.
- availability
Status String - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing VpcConnection Resource
Get an existing VpcConnection 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?: VpcConnectionState, opts?: CustomResourceOptions): VpcConnection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
availability_status: Optional[str] = None,
aws_account_id: Optional[str] = None,
dns_resolvers: Optional[Sequence[str]] = None,
name: Optional[str] = None,
role_arn: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[VpcConnectionTimeoutsArgs] = None,
vpc_connection_id: Optional[str] = None) -> VpcConnection
func GetVpcConnection(ctx *Context, name string, id IDInput, state *VpcConnectionState, opts ...ResourceOption) (*VpcConnection, error)
public static VpcConnection Get(string name, Input<string> id, VpcConnectionState? state, CustomResourceOptions? opts = null)
public static VpcConnection get(String name, Output<String> id, VpcConnectionState 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.
- Arn string
- ARN of the VPC connection.
- Availability
Status string - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - Aws
Account stringId - AWS account ID.
- Dns
Resolvers List<string> - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- Name string
- The display name for the VPC connection.
- Role
Arn string - The IAM role to associate with the VPC connection.
- Security
Group List<string>Ids - A list of security group IDs for the VPC connection.
- Subnet
Ids List<string> A list of subnet IDs for the VPC connection.
The following arguments are optional:
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Pulumi.
Aws. Quicksight. Inputs. Vpc Connection Timeouts - Vpc
Connection stringId - The ID of the VPC connection.
- Arn string
- ARN of the VPC connection.
- Availability
Status string - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - Aws
Account stringId - AWS account ID.
- Dns
Resolvers []string - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- Name string
- The display name for the VPC connection.
- Role
Arn string - The IAM role to associate with the VPC connection.
- Security
Group []stringIds - A list of security group IDs for the VPC connection.
- Subnet
Ids []string A list of subnet IDs for the VPC connection.
The following arguments are optional:
- map[string]string
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Vpc
Connection Timeouts Args - Vpc
Connection stringId - The ID of the VPC connection.
- arn String
- ARN of the VPC connection.
- availability
Status String - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - aws
Account StringId - AWS account ID.
- dns
Resolvers List<String> - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- name String
- The display name for the VPC connection.
- role
Arn String - The IAM role to associate with the VPC connection.
- security
Group List<String>Ids - A list of security group IDs for the VPC connection.
- subnet
Ids List<String> A list of subnet IDs for the VPC connection.
The following arguments are optional:
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Vpc
Connection Timeouts - vpc
Connection StringId - The ID of the VPC connection.
- arn string
- ARN of the VPC connection.
- availability
Status string - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - aws
Account stringId - AWS account ID.
- dns
Resolvers string[] - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- name string
- The display name for the VPC connection.
- role
Arn string - The IAM role to associate with the VPC connection.
- security
Group string[]Ids - A list of security group IDs for the VPC connection.
- subnet
Ids string[] A list of subnet IDs for the VPC connection.
The following arguments are optional:
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Vpc
Connection Timeouts - vpc
Connection stringId - The ID of the VPC connection.
- arn str
- ARN of the VPC connection.
- availability_
status str - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - aws_
account_ strid - AWS account ID.
- dns_
resolvers Sequence[str] - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- name str
- The display name for the VPC connection.
- role_
arn str - The IAM role to associate with the VPC connection.
- security_
group_ Sequence[str]ids - A list of security group IDs for the VPC connection.
- subnet_
ids Sequence[str] A list of subnet IDs for the VPC connection.
The following arguments are optional:
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Vpc
Connection Timeouts Args - vpc_
connection_ strid - The ID of the VPC connection.
- arn String
- ARN of the VPC connection.
- availability
Status String - The availability status of the VPC connection. Valid values are
AVAILABLE
,UNAVAILABLE
orPARTIALLY_AVAILABLE
. - aws
Account StringId - AWS account ID.
- dns
Resolvers List<String> - A list of IP addresses of DNS resolver endpoints for the VPC connection.
- name String
- The display name for the VPC connection.
- role
Arn String - The IAM role to associate with the VPC connection.
- security
Group List<String>Ids - A list of security group IDs for the VPC connection.
- subnet
Ids List<String> A list of subnet IDs for the VPC connection.
The following arguments are optional:
- Map<String>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts Property Map
- vpc
Connection StringId - The ID of the VPC connection.
Supporting Types
VpcConnectionTimeouts, VpcConnectionTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import
, import QuickSight VPC connection using the AWS account ID and VPC connection ID separated by commas (,
). For example:
$ pulumi import aws:quicksight/vpcConnection:VpcConnection example 123456789012,example
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.