1. Packages
  2. dbt Cloud Provider
  3. API Docs
  4. RedshiftSemanticLayerCredential
dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi

dbtcloud.RedshiftSemanticLayerCredential

Explore with Pulumi AI

dbtcloud logo
dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi

    Redshift credential resource. This resource is composed of a Redshift credential and a Semantic Layer configuration. It is used to create a Redshift credential for the Semantic Layer.

    Create RedshiftSemanticLayerCredential Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RedshiftSemanticLayerCredential(name: string, args: RedshiftSemanticLayerCredentialArgs, opts?: CustomResourceOptions);
    @overload
    def RedshiftSemanticLayerCredential(resource_name: str,
                                        args: RedshiftSemanticLayerCredentialArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def RedshiftSemanticLayerCredential(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        configuration: Optional[RedshiftSemanticLayerCredentialConfigurationArgs] = None,
                                        credential: Optional[RedshiftSemanticLayerCredentialCredentialArgs] = None)
    func NewRedshiftSemanticLayerCredential(ctx *Context, name string, args RedshiftSemanticLayerCredentialArgs, opts ...ResourceOption) (*RedshiftSemanticLayerCredential, error)
    public RedshiftSemanticLayerCredential(string name, RedshiftSemanticLayerCredentialArgs args, CustomResourceOptions? opts = null)
    public RedshiftSemanticLayerCredential(String name, RedshiftSemanticLayerCredentialArgs args)
    public RedshiftSemanticLayerCredential(String name, RedshiftSemanticLayerCredentialArgs args, CustomResourceOptions options)
    
    type: dbtcloud:RedshiftSemanticLayerCredential
    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 RedshiftSemanticLayerCredentialArgs
    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 RedshiftSemanticLayerCredentialArgs
    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 RedshiftSemanticLayerCredentialArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RedshiftSemanticLayerCredentialArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RedshiftSemanticLayerCredentialArgs
    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 redshiftSemanticLayerCredentialResource = new DbtCloud.RedshiftSemanticLayerCredential("redshiftSemanticLayerCredentialResource", new()
    {
        Configuration = new DbtCloud.Inputs.RedshiftSemanticLayerCredentialConfigurationArgs
        {
            AdapterVersion = "string",
            Name = "string",
            ProjectId = 0,
        },
        Credential = new DbtCloud.Inputs.RedshiftSemanticLayerCredentialCredentialArgs
        {
            DefaultSchema = "string",
            NumThreads = 0,
            ProjectId = 0,
            CredentialId = 0,
            Id = "string",
            IsActive = false,
            Password = "string",
            Username = "string",
        },
    });
    
    example, err := dbtcloud.NewRedshiftSemanticLayerCredential(ctx, "redshiftSemanticLayerCredentialResource", &dbtcloud.RedshiftSemanticLayerCredentialArgs{
    	Configuration: &dbtcloud.RedshiftSemanticLayerCredentialConfigurationArgs{
    		AdapterVersion: pulumi.String("string"),
    		Name:           pulumi.String("string"),
    		ProjectId:      pulumi.Int(0),
    	},
    	Credential: &dbtcloud.RedshiftSemanticLayerCredentialCredentialArgs{
    		DefaultSchema: pulumi.String("string"),
    		NumThreads:    pulumi.Int(0),
    		ProjectId:     pulumi.Int(0),
    		CredentialId:  pulumi.Int(0),
    		Id:            pulumi.String("string"),
    		IsActive:      pulumi.Bool(false),
    		Password:      pulumi.String("string"),
    		Username:      pulumi.String("string"),
    	},
    })
    
    var redshiftSemanticLayerCredentialResource = new RedshiftSemanticLayerCredential("redshiftSemanticLayerCredentialResource", RedshiftSemanticLayerCredentialArgs.builder()
        .configuration(RedshiftSemanticLayerCredentialConfigurationArgs.builder()
            .adapterVersion("string")
            .name("string")
            .projectId(0)
            .build())
        .credential(RedshiftSemanticLayerCredentialCredentialArgs.builder()
            .defaultSchema("string")
            .numThreads(0)
            .projectId(0)
            .credentialId(0)
            .id("string")
            .isActive(false)
            .password("string")
            .username("string")
            .build())
        .build());
    
    redshift_semantic_layer_credential_resource = dbtcloud.RedshiftSemanticLayerCredential("redshiftSemanticLayerCredentialResource",
        configuration={
            "adapter_version": "string",
            "name": "string",
            "project_id": 0,
        },
        credential={
            "default_schema": "string",
            "num_threads": 0,
            "project_id": 0,
            "credential_id": 0,
            "id": "string",
            "is_active": False,
            "password": "string",
            "username": "string",
        })
    
    const redshiftSemanticLayerCredentialResource = new dbtcloud.RedshiftSemanticLayerCredential("redshiftSemanticLayerCredentialResource", {
        configuration: {
            adapterVersion: "string",
            name: "string",
            projectId: 0,
        },
        credential: {
            defaultSchema: "string",
            numThreads: 0,
            projectId: 0,
            credentialId: 0,
            id: "string",
            isActive: false,
            password: "string",
            username: "string",
        },
    });
    
    type: dbtcloud:RedshiftSemanticLayerCredential
    properties:
        configuration:
            adapterVersion: string
            name: string
            projectId: 0
        credential:
            credentialId: 0
            defaultSchema: string
            id: string
            isActive: false
            numThreads: 0
            password: string
            projectId: 0
            username: string
    

    RedshiftSemanticLayerCredential 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 RedshiftSemanticLayerCredential resource accepts the following input properties:

    Configuration Pulumi.DbtCloud.Inputs.RedshiftSemanticLayerCredentialConfiguration
    Semantic Layer credential configuration details.
    Credential Pulumi.DbtCloud.Inputs.RedshiftSemanticLayerCredentialCredential
    Snowflake credential details, but used in the context of the Semantic Layer.
    Configuration RedshiftSemanticLayerCredentialConfigurationArgs
    Semantic Layer credential configuration details.
    Credential RedshiftSemanticLayerCredentialCredentialArgs
    Snowflake credential details, but used in the context of the Semantic Layer.
    configuration RedshiftSemanticLayerCredentialConfiguration
    Semantic Layer credential configuration details.
    credential RedshiftSemanticLayerCredentialCredential
    Snowflake credential details, but used in the context of the Semantic Layer.
    configuration RedshiftSemanticLayerCredentialConfiguration
    Semantic Layer credential configuration details.
    credential RedshiftSemanticLayerCredentialCredential
    Snowflake credential details, but used in the context of the Semantic Layer.
    configuration RedshiftSemanticLayerCredentialConfigurationArgs
    Semantic Layer credential configuration details.
    credential RedshiftSemanticLayerCredentialCredentialArgs
    Snowflake credential details, but used in the context of the Semantic Layer.
    configuration Property Map
    Semantic Layer credential configuration details.
    credential Property Map
    Snowflake credential details, but used in the context of the Semantic Layer.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RedshiftSemanticLayerCredential resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RedshiftSemanticLayerCredential Resource

    Get an existing RedshiftSemanticLayerCredential 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?: RedshiftSemanticLayerCredentialState, opts?: CustomResourceOptions): RedshiftSemanticLayerCredential
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configuration: Optional[RedshiftSemanticLayerCredentialConfigurationArgs] = None,
            credential: Optional[RedshiftSemanticLayerCredentialCredentialArgs] = None) -> RedshiftSemanticLayerCredential
    func GetRedshiftSemanticLayerCredential(ctx *Context, name string, id IDInput, state *RedshiftSemanticLayerCredentialState, opts ...ResourceOption) (*RedshiftSemanticLayerCredential, error)
    public static RedshiftSemanticLayerCredential Get(string name, Input<string> id, RedshiftSemanticLayerCredentialState? state, CustomResourceOptions? opts = null)
    public static RedshiftSemanticLayerCredential get(String name, Output<String> id, RedshiftSemanticLayerCredentialState state, CustomResourceOptions options)
    resources:  _:    type: dbtcloud:RedshiftSemanticLayerCredential    get:      id: ${id}
    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.
    The following state arguments are supported:
    Configuration Pulumi.DbtCloud.Inputs.RedshiftSemanticLayerCredentialConfiguration
    Semantic Layer credential configuration details.
    Credential Pulumi.DbtCloud.Inputs.RedshiftSemanticLayerCredentialCredential
    Snowflake credential details, but used in the context of the Semantic Layer.
    Configuration RedshiftSemanticLayerCredentialConfigurationArgs
    Semantic Layer credential configuration details.
    Credential RedshiftSemanticLayerCredentialCredentialArgs
    Snowflake credential details, but used in the context of the Semantic Layer.
    configuration RedshiftSemanticLayerCredentialConfiguration
    Semantic Layer credential configuration details.
    credential RedshiftSemanticLayerCredentialCredential
    Snowflake credential details, but used in the context of the Semantic Layer.
    configuration RedshiftSemanticLayerCredentialConfiguration
    Semantic Layer credential configuration details.
    credential RedshiftSemanticLayerCredentialCredential
    Snowflake credential details, but used in the context of the Semantic Layer.
    configuration RedshiftSemanticLayerCredentialConfigurationArgs
    Semantic Layer credential configuration details.
    credential RedshiftSemanticLayerCredentialCredentialArgs
    Snowflake credential details, but used in the context of the Semantic Layer.
    configuration Property Map
    Semantic Layer credential configuration details.
    credential Property Map
    Snowflake credential details, but used in the context of the Semantic Layer.

    Supporting Types

    RedshiftSemanticLayerCredentialConfiguration, RedshiftSemanticLayerCredentialConfigurationArgs

    AdapterVersion string
    The adapter version
    Name string
    The name of the configuration
    ProjectId int
    The ID of the project
    AdapterVersion string
    The adapter version
    Name string
    The name of the configuration
    ProjectId int
    The ID of the project
    adapterVersion String
    The adapter version
    name String
    The name of the configuration
    projectId Integer
    The ID of the project
    adapterVersion string
    The adapter version
    name string
    The name of the configuration
    projectId number
    The ID of the project
    adapter_version str
    The adapter version
    name str
    The name of the configuration
    project_id int
    The ID of the project
    adapterVersion String
    The adapter version
    name String
    The name of the configuration
    projectId Number
    The ID of the project

    RedshiftSemanticLayerCredentialCredential, RedshiftSemanticLayerCredentialCredentialArgs

    DefaultSchema string
    Default schema name
    NumThreads int
    Number of threads to use
    ProjectId int
    Project ID to create the Redshift credential in
    CredentialId int
    The internal credential ID
    Id string
    The ID of this resource. Contains the project ID and the credential ID.
    IsActive bool
    Whether the Redshift credential is active
    Password string
    The password for the Redshift account
    Username string
    The username for the Redshift account.
    DefaultSchema string
    Default schema name
    NumThreads int
    Number of threads to use
    ProjectId int
    Project ID to create the Redshift credential in
    CredentialId int
    The internal credential ID
    Id string
    The ID of this resource. Contains the project ID and the credential ID.
    IsActive bool
    Whether the Redshift credential is active
    Password string
    The password for the Redshift account
    Username string
    The username for the Redshift account.
    defaultSchema String
    Default schema name
    numThreads Integer
    Number of threads to use
    projectId Integer
    Project ID to create the Redshift credential in
    credentialId Integer
    The internal credential ID
    id String
    The ID of this resource. Contains the project ID and the credential ID.
    isActive Boolean
    Whether the Redshift credential is active
    password String
    The password for the Redshift account
    username String
    The username for the Redshift account.
    defaultSchema string
    Default schema name
    numThreads number
    Number of threads to use
    projectId number
    Project ID to create the Redshift credential in
    credentialId number
    The internal credential ID
    id string
    The ID of this resource. Contains the project ID and the credential ID.
    isActive boolean
    Whether the Redshift credential is active
    password string
    The password for the Redshift account
    username string
    The username for the Redshift account.
    default_schema str
    Default schema name
    num_threads int
    Number of threads to use
    project_id int
    Project ID to create the Redshift credential in
    credential_id int
    The internal credential ID
    id str
    The ID of this resource. Contains the project ID and the credential ID.
    is_active bool
    Whether the Redshift credential is active
    password str
    The password for the Redshift account
    username str
    The username for the Redshift account.
    defaultSchema String
    Default schema name
    numThreads Number
    Number of threads to use
    projectId Number
    Project ID to create the Redshift credential in
    credentialId Number
    The internal credential ID
    id String
    The ID of this resource. Contains the project ID and the credential ID.
    isActive Boolean
    Whether the Redshift credential is active
    password String
    The password for the Redshift account
    username String
    The username for the Redshift account.

    Package Details

    Repository
    dbtcloud pulumi/pulumi-dbtcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dbtcloud Terraform Provider.
    dbtcloud logo
    dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi