1. Packages
  2. AWS Native
  3. API Docs
  4. redshiftserverless
  5. getNamespace

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.redshiftserverless.getNamespace

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:redshiftserverless:getNamespace
      arguments:
        # arguments dictionary

    The 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:

    AdminPasswordSecretKmsKeyId string
    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.
    DefaultIamRoleArn string
    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.
    KmsKeyId string
    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.AwsNative.RedshiftServerless.NamespaceLogExport>
    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
    NamespaceResourcePolicy object

    The resource policy document that will be attached to the namespace.

    Search the CloudFormation User Guide for AWS::RedshiftServerless::Namespace for more information about the expected schema for this property.

    NamespaceValue Pulumi.AwsNative.RedshiftServerless.Outputs.Namespace
    Definition of Namespace resource.
    SnapshotCopyConfigurations List<Pulumi.AwsNative.RedshiftServerless.Outputs.NamespaceSnapshotCopyConfiguration>
    The snapshot copy configurations for the namespace.
    AdminPasswordSecretKmsKeyId string
    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.
    DefaultIamRoleArn string
    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.
    KmsKeyId string
    The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
    LogExports []NamespaceLogExport
    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.
    NamespaceResourcePolicy interface{}

    The resource policy document that will be attached to the namespace.

    Search the CloudFormation User Guide for AWS::RedshiftServerless::Namespace for more information about the expected schema for this property.

    SnapshotCopyConfigurations []NamespaceSnapshotCopyConfiguration
    The snapshot copy configurations for the namespace.
    adminPasswordSecretKmsKeyId String
    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.
    defaultIamRoleArn String
    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.
    kmsKeyId String
    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<NamespaceLogExport>
    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.
    namespaceResourcePolicy Object

    The resource policy document that will be attached to the namespace.

    Search the CloudFormation User Guide for AWS::RedshiftServerless::Namespace for more information about the expected schema for this property.

    snapshotCopyConfigurations List<NamespaceSnapshotCopyConfiguration>
    The snapshot copy configurations for the namespace.
    adminPasswordSecretKmsKeyId string
    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.
    defaultIamRoleArn string
    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.
    kmsKeyId string
    The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
    logExports NamespaceLogExport[]
    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.
    namespaceResourcePolicy any

    The resource policy document that will be attached to the namespace.

    Search the CloudFormation User Guide for AWS::RedshiftServerless::Namespace for more information about the expected schema for this property.

    snapshotCopyConfigurations NamespaceSnapshotCopyConfiguration[]
    The snapshot copy configurations for the namespace.
    admin_password_secret_kms_key_id str
    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_role_arn str
    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_id str
    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[NamespaceLogExport]
    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_policy Any

    The resource policy document that will be attached to the namespace.

    Search the CloudFormation User Guide for AWS::RedshiftServerless::Namespace for more information about the expected schema for this property.

    snapshot_copy_configurations Sequence[NamespaceSnapshotCopyConfiguration]
    The snapshot copy configurations for the namespace.
    adminPasswordSecretKmsKeyId String
    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.
    defaultIamRoleArn String
    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.
    kmsKeyId String
    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.
    namespaceResourcePolicy Any

    The resource policy document that will be attached to the namespace.

    Search the CloudFormation User Guide for AWS::RedshiftServerless::Namespace for more information about the expected schema for this property.

    snapshotCopyConfigurations List<Property Map>
    The snapshot copy configurations for the namespace.

    Supporting Types

    Namespace

    NamespaceLogExport

    NamespaceSnapshotCopyConfiguration

    NamespaceStatus

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi