We recommend new projects start with resources from the AWS provider.
aws-native.redshiftserverless.getNamespace
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::RedshiftServerless::Namespace Resource Type
Using getNamespace
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNamespace(args: GetNamespaceArgs, opts?: InvokeOptions): Promise<GetNamespaceResult>
function getNamespaceOutput(args: GetNamespaceOutputArgs, opts?: InvokeOptions): Output<GetNamespaceResult>def get_namespace(namespace_name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetNamespaceResult
def get_namespace_output(namespace_name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceResult]func LookupNamespace(ctx *Context, args *LookupNamespaceArgs, opts ...InvokeOption) (*LookupNamespaceResult, error)
func LookupNamespaceOutput(ctx *Context, args *LookupNamespaceOutputArgs, opts ...InvokeOption) LookupNamespaceResultOutput> Note: This function is named LookupNamespace in the Go SDK.
public static class GetNamespace 
{
    public static Task<GetNamespaceResult> InvokeAsync(GetNamespaceArgs args, InvokeOptions? opts = null)
    public static Output<GetNamespaceResult> Invoke(GetNamespaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNamespaceResult> getNamespace(GetNamespaceArgs args, InvokeOptions options)
public static Output<GetNamespaceResult> getNamespace(GetNamespaceArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:redshiftserverless:getNamespace
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NamespaceName string
- A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
- NamespaceName string
- A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
- namespaceName String
- A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
- namespaceName string
- A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
- namespace_name str
- A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
- namespaceName String
- A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
getNamespace Result
The following output properties are available:
- AdminPassword stringSecret Kms Key Id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- AdminUsername string
- The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- DbName string
- The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- DefaultIam stringRole Arn 
- The default IAM role ARN for the namespace that is being created.
- IamRoles List<string>
- A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- KmsKey stringId 
- The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- LogExports List<Pulumi.Aws Native. Redshift Serverless. Namespace Log Export> 
- The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- NamespaceResource objectPolicy 
- The resource policy document that will be attached to the namespace. - Search the CloudFormation User Guide for - AWS::RedshiftServerless::Namespacefor more information about the expected schema for this property.
- NamespaceValue Pulumi.Aws Native. Redshift Serverless. Outputs. Namespace 
- Definition of Namespace resource.
- SnapshotCopy List<Pulumi.Configurations Aws Native. Redshift Serverless. Outputs. Namespace Snapshot Copy Configuration> 
- The snapshot copy configurations for the namespace.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- The list of tags for the namespace.
- AdminPassword stringSecret Kms Key Id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- AdminUsername string
- The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- DbName string
- The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- DefaultIam stringRole Arn 
- The default IAM role ARN for the namespace that is being created.
- IamRoles []string
- A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- KmsKey stringId 
- The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- LogExports []NamespaceLog Export 
- The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- Namespace
NamespaceType 
- Definition of Namespace resource.
- NamespaceResource interface{}Policy 
- The resource policy document that will be attached to the namespace. - Search the CloudFormation User Guide for - AWS::RedshiftServerless::Namespacefor more information about the expected schema for this property.
- SnapshotCopy []NamespaceConfigurations Snapshot Copy Configuration 
- The snapshot copy configurations for the namespace.
- Tag
- The list of tags for the namespace.
- adminPassword StringSecret Kms Key Id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- adminUsername String
- The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- dbName String
- The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- defaultIam StringRole Arn 
- The default IAM role ARN for the namespace that is being created.
- iamRoles List<String>
- A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- kmsKey StringId 
- The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- logExports List<NamespaceLog Export> 
- The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- namespace Namespace
- Definition of Namespace resource.
- namespaceResource ObjectPolicy 
- The resource policy document that will be attached to the namespace. - Search the CloudFormation User Guide for - AWS::RedshiftServerless::Namespacefor more information about the expected schema for this property.
- snapshotCopy List<NamespaceConfigurations Snapshot Copy Configuration> 
- The snapshot copy configurations for the namespace.
- List<Tag>
- The list of tags for the namespace.
- adminPassword stringSecret Kms Key Id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- adminUsername string
- The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- dbName string
- The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- defaultIam stringRole Arn 
- The default IAM role ARN for the namespace that is being created.
- iamRoles string[]
- A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- kmsKey stringId 
- The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- logExports NamespaceLog Export[] 
- The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- namespace Namespace
- Definition of Namespace resource.
- namespaceResource anyPolicy 
- The resource policy document that will be attached to the namespace. - Search the CloudFormation User Guide for - AWS::RedshiftServerless::Namespacefor more information about the expected schema for this property.
- snapshotCopy NamespaceConfigurations Snapshot Copy Configuration[] 
- The snapshot copy configurations for the namespace.
- Tag[]
- The list of tags for the namespace.
- admin_password_ strsecret_ kms_ key_ id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- admin_username str
- The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- db_name str
- The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- default_iam_ strrole_ arn 
- The default IAM role ARN for the namespace that is being created.
- iam_roles Sequence[str]
- A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- kms_key_ strid 
- The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- log_exports Sequence[NamespaceLog Export] 
- The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- namespace Namespace
- Definition of Namespace resource.
- namespace_resource_ Anypolicy 
- The resource policy document that will be attached to the namespace. - Search the CloudFormation User Guide for - AWS::RedshiftServerless::Namespacefor more information about the expected schema for this property.
- snapshot_copy_ Sequence[Namespaceconfigurations Snapshot Copy Configuration] 
- The snapshot copy configurations for the namespace.
- Sequence[root_Tag]
- The list of tags for the namespace.
- adminPassword StringSecret Kms Key Id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- adminUsername String
- The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- dbName String
- The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- defaultIam StringRole Arn 
- The default IAM role ARN for the namespace that is being created.
- iamRoles List<String>
- A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- kmsKey StringId 
- The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- logExports List<"useractivitylog" | "userlog" | "connectionlog">
- The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- namespace Property Map
- Definition of Namespace resource.
- namespaceResource AnyPolicy 
- The resource policy document that will be attached to the namespace. - Search the CloudFormation User Guide for - AWS::RedshiftServerless::Namespacefor more information about the expected schema for this property.
- snapshotCopy List<Property Map>Configurations 
- The snapshot copy configurations for the namespace.
- List<Property Map>
- The list of tags for the namespace.
Supporting Types
Namespace
- AdminPassword stringSecret Arn 
- The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- AdminPassword stringSecret Kms Key Id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- AdminUsername string
- The username of the administrator for the first database created in the namespace.
- CreationDate string
- The date of when the namespace was created.
- DbName string
- The name of the first database created in the namespace.
- DefaultIam stringRole Arn 
- The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
- IamRoles List<string>
- A list of IAM roles to associate with the namespace.
- KmsKey stringId 
- The ID of the AWS Key Management Service key used to encrypt your data.
- LogExports List<Pulumi.Aws Native. Redshift Serverless. Namespace Log Export> 
- The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- NamespaceArn string
- The Amazon Resource Name (ARN) associated with a namespace.
- NamespaceId string
- The unique identifier of a namespace.
- NamespaceName string
- The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- Status
Pulumi.Aws Native. Redshift Serverless. Namespace Status 
- The status of the namespace.
- AdminPassword stringSecret Arn 
- The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- AdminPassword stringSecret Kms Key Id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- AdminUsername string
- The username of the administrator for the first database created in the namespace.
- CreationDate string
- The date of when the namespace was created.
- DbName string
- The name of the first database created in the namespace.
- DefaultIam stringRole Arn 
- The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
- IamRoles []string
- A list of IAM roles to associate with the namespace.
- KmsKey stringId 
- The ID of the AWS Key Management Service key used to encrypt your data.
- LogExports []NamespaceLog Export 
- The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- NamespaceArn string
- The Amazon Resource Name (ARN) associated with a namespace.
- NamespaceId string
- The unique identifier of a namespace.
- NamespaceName string
- The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- Status
NamespaceStatus 
- The status of the namespace.
- adminPassword StringSecret Arn 
- The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- adminPassword StringSecret Kms Key Id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- adminUsername String
- The username of the administrator for the first database created in the namespace.
- creationDate String
- The date of when the namespace was created.
- dbName String
- The name of the first database created in the namespace.
- defaultIam StringRole Arn 
- The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
- iamRoles List<String>
- A list of IAM roles to associate with the namespace.
- kmsKey StringId 
- The ID of the AWS Key Management Service key used to encrypt your data.
- logExports List<NamespaceLog Export> 
- The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- namespaceArn String
- The Amazon Resource Name (ARN) associated with a namespace.
- namespaceId String
- The unique identifier of a namespace.
- namespaceName String
- The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- status
NamespaceStatus 
- The status of the namespace.
- adminPassword stringSecret Arn 
- The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- adminPassword stringSecret Kms Key Id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- adminUsername string
- The username of the administrator for the first database created in the namespace.
- creationDate string
- The date of when the namespace was created.
- dbName string
- The name of the first database created in the namespace.
- defaultIam stringRole Arn 
- The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
- iamRoles string[]
- A list of IAM roles to associate with the namespace.
- kmsKey stringId 
- The ID of the AWS Key Management Service key used to encrypt your data.
- logExports NamespaceLog Export[] 
- The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- namespaceArn string
- The Amazon Resource Name (ARN) associated with a namespace.
- namespaceId string
- The unique identifier of a namespace.
- namespaceName string
- The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- status
NamespaceStatus 
- The status of the namespace.
- admin_password_ strsecret_ arn 
- The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- admin_password_ strsecret_ kms_ key_ id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- admin_username str
- The username of the administrator for the first database created in the namespace.
- creation_date str
- The date of when the namespace was created.
- db_name str
- The name of the first database created in the namespace.
- default_iam_ strrole_ arn 
- The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
- iam_roles Sequence[str]
- A list of IAM roles to associate with the namespace.
- kms_key_ strid 
- The ID of the AWS Key Management Service key used to encrypt your data.
- log_exports Sequence[NamespaceLog Export] 
- The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- namespace_arn str
- The Amazon Resource Name (ARN) associated with a namespace.
- namespace_id str
- The unique identifier of a namespace.
- namespace_name str
- The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- status
NamespaceStatus 
- The status of the namespace.
- adminPassword StringSecret Arn 
- The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- adminPassword StringSecret Kms Key Id 
- The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- adminUsername String
- The username of the administrator for the first database created in the namespace.
- creationDate String
- The date of when the namespace was created.
- dbName String
- The name of the first database created in the namespace.
- defaultIam StringRole Arn 
- The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
- iamRoles List<String>
- A list of IAM roles to associate with the namespace.
- kmsKey StringId 
- The ID of the AWS Key Management Service key used to encrypt your data.
- logExports List<"useractivitylog" | "userlog" | "connectionlog">
- The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- namespaceArn String
- The Amazon Resource Name (ARN) associated with a namespace.
- namespaceId String
- The unique identifier of a namespace.
- namespaceName String
- The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- status "AVAILABLE" | "MODIFYING" | "DELETING"
- The status of the namespace.
NamespaceLogExport  
NamespaceSnapshotCopyConfiguration   
- DestinationRegion string
- The destination AWS Region to copy snapshots to.
- DestinationKms stringKey Id 
- The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- SnapshotRetention intPeriod 
- The retention period of snapshots that are copied to the destination AWS Region .
- DestinationRegion string
- The destination AWS Region to copy snapshots to.
- DestinationKms stringKey Id 
- The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- SnapshotRetention intPeriod 
- The retention period of snapshots that are copied to the destination AWS Region .
- destinationRegion String
- The destination AWS Region to copy snapshots to.
- destinationKms StringKey Id 
- The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- snapshotRetention IntegerPeriod 
- The retention period of snapshots that are copied to the destination AWS Region .
- destinationRegion string
- The destination AWS Region to copy snapshots to.
- destinationKms stringKey Id 
- The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- snapshotRetention numberPeriod 
- The retention period of snapshots that are copied to the destination AWS Region .
- destination_region str
- The destination AWS Region to copy snapshots to.
- destination_kms_ strkey_ id 
- The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- snapshot_retention_ intperiod 
- The retention period of snapshots that are copied to the destination AWS Region .
- destinationRegion String
- The destination AWS Region to copy snapshots to.
- destinationKms StringKey Id 
- The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- snapshotRetention NumberPeriod 
- The retention period of snapshots that are copied to the destination AWS Region .
NamespaceStatus 
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.