aws.quicksight.Namespace
Explore with Pulumi AI
Resource for managing an AWS QuickSight Namespace.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.quicksight.Namespace("example", {namespace: "example"});
import pulumi
import pulumi_aws as aws
example = aws.quicksight.Namespace("example", namespace="example")
package main
import (
"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 {
_, err := quicksight.NewNamespace(ctx, "example", &quicksight.NamespaceArgs{
Namespace: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Quicksight.Namespace("example", new()
{
NameSpace = "example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.quicksight.Namespace;
import com.pulumi.aws.quicksight.NamespaceArgs;
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 example = new Namespace("example", NamespaceArgs.builder()
.namespace("example")
.build());
}
}
resources:
example:
type: aws:quicksight:Namespace
properties:
namespace: example
Create Namespace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Namespace(name: string, args: NamespaceArgs, opts?: CustomResourceOptions);
@overload
def Namespace(resource_name: str,
args: NamespaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Namespace(resource_name: str,
opts: Optional[ResourceOptions] = None,
namespace: Optional[str] = None,
aws_account_id: Optional[str] = None,
identity_store: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[NamespaceTimeoutsArgs] = None)
func NewNamespace(ctx *Context, name string, args NamespaceArgs, opts ...ResourceOption) (*Namespace, error)
public Namespace(string name, NamespaceArgs args, CustomResourceOptions? opts = null)
public Namespace(String name, NamespaceArgs args)
public Namespace(String name, NamespaceArgs args, CustomResourceOptions options)
type: aws:quicksight:Namespace
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 NamespaceArgs
- 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 NamespaceArgs
- 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 NamespaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NamespaceArgs
- 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 namespaceResource = new Aws.Quicksight.Namespace("namespaceResource", new()
{
NameSpace = "string",
AwsAccountId = "string",
IdentityStore = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Quicksight.Inputs.NamespaceTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := quicksight.NewNamespace(ctx, "namespaceResource", &quicksight.NamespaceArgs{
Namespace: pulumi.String("string"),
AwsAccountId: pulumi.String("string"),
IdentityStore: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &quicksight.NamespaceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var namespaceResource = new Namespace("namespaceResource", NamespaceArgs.builder()
.namespace("string")
.awsAccountId("string")
.identityStore("string")
.tags(Map.of("string", "string"))
.timeouts(NamespaceTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
namespace_resource = aws.quicksight.Namespace("namespaceResource",
namespace="string",
aws_account_id="string",
identity_store="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
})
const namespaceResource = new aws.quicksight.Namespace("namespaceResource", {
namespace: "string",
awsAccountId: "string",
identityStore: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
},
});
type: aws:quicksight:Namespace
properties:
awsAccountId: string
identityStore: string
namespace: string
tags:
string: string
timeouts:
create: string
delete: string
Namespace Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Namespace resource accepts the following input properties:
- Name
Space string Name of the namespace.
The following arguments are optional:
- Aws
Account stringId - AWS account ID.
- Identity
Store string - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - 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
Namespace
Timeouts
- Namespace string
Name of the namespace.
The following arguments are optional:
- Aws
Account stringId - AWS account ID.
- Identity
Store string - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - 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
Namespace
Timeouts Args
- namespace String
Name of the namespace.
The following arguments are optional:
- aws
Account StringId - AWS account ID.
- identity
Store String - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - 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
Namespace
Timeouts
- namespace string
Name of the namespace.
The following arguments are optional:
- aws
Account stringId - AWS account ID.
- identity
Store string - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - {[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
Namespace
Timeouts
- namespace str
Name of the namespace.
The following arguments are optional:
- aws_
account_ strid - AWS account ID.
- identity_
store str - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - 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
Namespace
Timeouts Args
- namespace String
Name of the namespace.
The following arguments are optional:
- aws
Account StringId - AWS account ID.
- identity
Store String - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - 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 Namespace resource produces the following output properties:
- Arn string
- ARN of the Namespace.
- Capacity
Region string - Namespace AWS Region.
- Creation
Status string - Creation status of the namespace.
- 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 Namespace.
- Capacity
Region string - Namespace AWS Region.
- Creation
Status string - Creation status of the namespace.
- 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 Namespace.
- capacity
Region String - Namespace AWS Region.
- creation
Status String - Creation status of the namespace.
- 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 Namespace.
- capacity
Region string - Namespace AWS Region.
- creation
Status string - Creation status of the namespace.
- 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 Namespace.
- capacity_
region str - Namespace AWS Region.
- creation_
status str - Creation status of the namespace.
- 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 Namespace.
- capacity
Region String - Namespace AWS Region.
- creation
Status String - Creation status of the namespace.
- 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 Namespace Resource
Get an existing Namespace 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?: NamespaceState, opts?: CustomResourceOptions): Namespace
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
aws_account_id: Optional[str] = None,
capacity_region: Optional[str] = None,
creation_status: Optional[str] = None,
identity_store: Optional[str] = None,
namespace: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[NamespaceTimeoutsArgs] = None) -> Namespace
func GetNamespace(ctx *Context, name string, id IDInput, state *NamespaceState, opts ...ResourceOption) (*Namespace, error)
public static Namespace Get(string name, Input<string> id, NamespaceState? state, CustomResourceOptions? opts = null)
public static Namespace get(String name, Output<String> id, NamespaceState 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 Namespace.
- Aws
Account stringId - AWS account ID.
- Capacity
Region string - Namespace AWS Region.
- Creation
Status string - Creation status of the namespace.
- Identity
Store string - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - Name
Space string Name of the namespace.
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
Namespace
Timeouts
- Arn string
- ARN of the Namespace.
- Aws
Account stringId - AWS account ID.
- Capacity
Region string - Namespace AWS Region.
- Creation
Status string - Creation status of the namespace.
- Identity
Store string - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - Namespace string
Name of the namespace.
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
Namespace
Timeouts Args
- arn String
- ARN of the Namespace.
- aws
Account StringId - AWS account ID.
- capacity
Region String - Namespace AWS Region.
- creation
Status String - Creation status of the namespace.
- identity
Store String - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - namespace String
Name of the namespace.
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
Namespace
Timeouts
- arn string
- ARN of the Namespace.
- aws
Account stringId - AWS account ID.
- capacity
Region string - Namespace AWS Region.
- creation
Status string - Creation status of the namespace.
- identity
Store string - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - namespace string
Name of the namespace.
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
Namespace
Timeouts
- arn str
- ARN of the Namespace.
- aws_
account_ strid - AWS account ID.
- capacity_
region str - Namespace AWS Region.
- creation_
status str - Creation status of the namespace.
- identity_
store str - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - namespace str
Name of the namespace.
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
Namespace
Timeouts Args
- arn String
- ARN of the Namespace.
- aws
Account StringId - AWS account ID.
- capacity
Region String - Namespace AWS Region.
- creation
Status String - Creation status of the namespace.
- identity
Store String - User identity directory type. Defaults to
QUICKSIGHT
, the only current valid value. - namespace String
Name of the namespace.
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
Supporting Types
NamespaceTimeouts, NamespaceTimeoutsArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Import
Using pulumi import
, import QuickSight Namespace using the AWS account ID and namespace separated by commas (,
). For example:
$ pulumi import aws:quicksight/namespace:Namespace 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.