dbtcloud.RedshiftSemanticLayerCredential
Explore with Pulumi AI
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.
Dbt Cloud. Inputs. Redshift Semantic Layer Credential Configuration - Semantic Layer credential configuration details.
- Credential
Pulumi.
Dbt Cloud. Inputs. Redshift Semantic Layer Credential Credential - Snowflake credential details, but used in the context of the Semantic Layer.
- Configuration
Redshift
Semantic Layer Credential Configuration Args - Semantic Layer credential configuration details.
- Credential
Redshift
Semantic Layer Credential Credential Args - Snowflake credential details, but used in the context of the Semantic Layer.
- configuration
Redshift
Semantic Layer Credential Configuration - Semantic Layer credential configuration details.
- credential
Redshift
Semantic Layer Credential Credential - Snowflake credential details, but used in the context of the Semantic Layer.
- configuration
Redshift
Semantic Layer Credential Configuration - Semantic Layer credential configuration details.
- credential
Redshift
Semantic Layer Credential Credential - Snowflake credential details, but used in the context of the Semantic Layer.
- configuration
Redshift
Semantic Layer Credential Configuration Args - Semantic Layer credential configuration details.
- credential
Redshift
Semantic Layer Credential Credential Args - 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.
- Configuration
Pulumi.
Dbt Cloud. Inputs. Redshift Semantic Layer Credential Configuration - Semantic Layer credential configuration details.
- Credential
Pulumi.
Dbt Cloud. Inputs. Redshift Semantic Layer Credential Credential - Snowflake credential details, but used in the context of the Semantic Layer.
- Configuration
Redshift
Semantic Layer Credential Configuration Args - Semantic Layer credential configuration details.
- Credential
Redshift
Semantic Layer Credential Credential Args - Snowflake credential details, but used in the context of the Semantic Layer.
- configuration
Redshift
Semantic Layer Credential Configuration - Semantic Layer credential configuration details.
- credential
Redshift
Semantic Layer Credential Credential - Snowflake credential details, but used in the context of the Semantic Layer.
- configuration
Redshift
Semantic Layer Credential Configuration - Semantic Layer credential configuration details.
- credential
Redshift
Semantic Layer Credential Credential - Snowflake credential details, but used in the context of the Semantic Layer.
- configuration
Redshift
Semantic Layer Credential Configuration Args - Semantic Layer credential configuration details.
- credential
Redshift
Semantic Layer Credential Credential Args - 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
- Adapter
Version string - The adapter version
- Name string
- The name of the configuration
- Project
Id int - The ID of the project
- Adapter
Version string - The adapter version
- Name string
- The name of the configuration
- Project
Id int - The ID of the project
- adapter
Version String - The adapter version
- name String
- The name of the configuration
- project
Id Integer - The ID of the project
- adapter
Version string - The adapter version
- name string
- The name of the configuration
- project
Id 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
- adapter
Version String - The adapter version
- name String
- The name of the configuration
- project
Id Number - The ID of the project
RedshiftSemanticLayerCredentialCredential, RedshiftSemanticLayerCredentialCredentialArgs
- Default
Schema string - 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 string
- The ID of this resource. Contains the project ID and the credential ID.
- Is
Active bool - Whether the Redshift credential is active
- Password string
- The password for the Redshift account
- Username string
- The username for the Redshift account.
- Default
Schema string - 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 string
- The ID of this resource. Contains the project ID and the credential ID.
- Is
Active bool - Whether the Redshift credential is active
- Password string
- The password for the Redshift account
- Username string
- The username for the Redshift account.
- default
Schema String - Default schema name
- num
Threads Integer - Number of threads to use
- project
Id Integer - Project ID to create the Redshift credential in
- credential
Id Integer - The internal credential ID
- id String
- The ID of this resource. Contains the project ID and the credential ID.
- is
Active 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 string - Default schema name
- num
Threads number - Number of threads to use
- project
Id number - Project ID to create the Redshift credential in
- credential
Id number - The internal credential ID
- id string
- The ID of this resource. Contains the project ID and the credential ID.
- is
Active 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.
- default
Schema String - Default schema name
- num
Threads Number - Number of threads to use
- project
Id Number - Project ID to create the Redshift credential in
- credential
Id Number - The internal credential ID
- id String
- The ID of this resource. Contains the project ID and the credential ID.
- is
Active 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.