-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6263e7
commit ceff748
Showing
109 changed files
with
5,795 additions
and
117 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# `snowflake_account_parameter` | ||
|
||
Refer to the Terraform Registory for docs: [`snowflake_account_parameter`](https://www.terraform.io/docs/providers/snowflake/r/account_parameter). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
// https://www.terraform.io/docs/providers/snowflake/r/account_parameter | ||
// generated from terraform resource schema | ||
|
||
import { Construct } from 'constructs'; | ||
import * as cdktf from 'cdktf'; | ||
|
||
// Configuration | ||
|
||
export interface AccountParameterConfig extends cdktf.TerraformMetaArguments { | ||
/** | ||
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter#id AccountParameter#id} | ||
* | ||
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. | ||
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. | ||
*/ | ||
readonly id?: string; | ||
/** | ||
* Name of account parameter. Valid values are those in [account parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#account-parameters). | ||
* | ||
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter#key AccountParameter#key} | ||
*/ | ||
readonly key: string; | ||
/** | ||
* Value of account parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation. | ||
* | ||
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter#value AccountParameter#value} | ||
*/ | ||
readonly value: string; | ||
} | ||
|
||
/** | ||
* Represents a {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter snowflake_account_parameter} | ||
*/ | ||
export class AccountParameter extends cdktf.TerraformResource { | ||
|
||
// ================= | ||
// STATIC PROPERTIES | ||
// ================= | ||
public static readonly tfResourceType = "snowflake_account_parameter"; | ||
|
||
// =========== | ||
// INITIALIZER | ||
// =========== | ||
|
||
/** | ||
* Create a new {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter snowflake_account_parameter} Resource | ||
* | ||
* @param scope The scope in which to define this construct | ||
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope | ||
* @param options AccountParameterConfig | ||
*/ | ||
public constructor(scope: Construct, id: string, config: AccountParameterConfig) { | ||
super(scope, id, { | ||
terraformResourceType: 'snowflake_account_parameter', | ||
terraformGeneratorMetadata: { | ||
providerName: 'snowflake', | ||
providerVersion: '0.54.0', | ||
providerVersionConstraint: ' ~> 0.40' | ||
}, | ||
provider: config.provider, | ||
dependsOn: config.dependsOn, | ||
count: config.count, | ||
lifecycle: config.lifecycle, | ||
provisioners: config.provisioners, | ||
connection: config.connection, | ||
forEach: config.forEach | ||
}); | ||
this._id = config.id; | ||
this._key = config.key; | ||
this._value = config.value; | ||
} | ||
|
||
// ========== | ||
// ATTRIBUTES | ||
// ========== | ||
|
||
// id - computed: true, optional: true, required: false | ||
private _id?: string; | ||
public get id() { | ||
return this.getStringAttribute('id'); | ||
} | ||
public set id(value: string) { | ||
this._id = value; | ||
} | ||
public resetId() { | ||
this._id = undefined; | ||
} | ||
// Temporarily expose input value. Use with caution. | ||
public get idInput() { | ||
return this._id; | ||
} | ||
|
||
// key - computed: false, optional: false, required: true | ||
private _key?: string; | ||
public get key() { | ||
return this.getStringAttribute('key'); | ||
} | ||
public set key(value: string) { | ||
this._key = value; | ||
} | ||
// Temporarily expose input value. Use with caution. | ||
public get keyInput() { | ||
return this._key; | ||
} | ||
|
||
// value - computed: false, optional: false, required: true | ||
private _value?: string; | ||
public get value() { | ||
return this.getStringAttribute('value'); | ||
} | ||
public set value(value: string) { | ||
this._value = value; | ||
} | ||
// Temporarily expose input value. Use with caution. | ||
public get valueInput() { | ||
return this._value; | ||
} | ||
|
||
// ========= | ||
// SYNTHESIS | ||
// ========= | ||
|
||
protected synthesizeAttributes(): { [name: string]: any } { | ||
return { | ||
id: cdktf.stringToTerraform(this._id), | ||
key: cdktf.stringToTerraform(this._key), | ||
value: cdktf.stringToTerraform(this._value), | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# `data_snowflake_current_role` | ||
|
||
Refer to the Terraform Registory for docs: [`data_snowflake_current_role`](https://www.terraform.io/docs/providers/snowflake/d/current_role). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
// https://www.terraform.io/docs/providers/snowflake/d/current_role | ||
// generated from terraform resource schema | ||
|
||
import { Construct } from 'constructs'; | ||
import * as cdktf from 'cdktf'; | ||
|
||
// Configuration | ||
|
||
export interface DataSnowflakeCurrentRoleConfig extends cdktf.TerraformMetaArguments { | ||
/** | ||
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/current_role#id DataSnowflakeCurrentRole#id} | ||
* | ||
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. | ||
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. | ||
*/ | ||
readonly id?: string; | ||
} | ||
|
||
/** | ||
* Represents a {@link https://www.terraform.io/docs/providers/snowflake/d/current_role snowflake_current_role} | ||
*/ | ||
export class DataSnowflakeCurrentRole extends cdktf.TerraformDataSource { | ||
|
||
// ================= | ||
// STATIC PROPERTIES | ||
// ================= | ||
public static readonly tfResourceType = "snowflake_current_role"; | ||
|
||
// =========== | ||
// INITIALIZER | ||
// =========== | ||
|
||
/** | ||
* Create a new {@link https://www.terraform.io/docs/providers/snowflake/d/current_role snowflake_current_role} Data Source | ||
* | ||
* @param scope The scope in which to define this construct | ||
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope | ||
* @param options DataSnowflakeCurrentRoleConfig = {} | ||
*/ | ||
public constructor(scope: Construct, id: string, config: DataSnowflakeCurrentRoleConfig = {}) { | ||
super(scope, id, { | ||
terraformResourceType: 'snowflake_current_role', | ||
terraformGeneratorMetadata: { | ||
providerName: 'snowflake', | ||
providerVersion: '0.54.0', | ||
providerVersionConstraint: ' ~> 0.40' | ||
}, | ||
provider: config.provider, | ||
dependsOn: config.dependsOn, | ||
count: config.count, | ||
lifecycle: config.lifecycle, | ||
provisioners: config.provisioners, | ||
connection: config.connection, | ||
forEach: config.forEach | ||
}); | ||
this._id = config.id; | ||
} | ||
|
||
// ========== | ||
// ATTRIBUTES | ||
// ========== | ||
|
||
// id - computed: true, optional: true, required: false | ||
private _id?: string; | ||
public get id() { | ||
return this.getStringAttribute('id'); | ||
} | ||
public set id(value: string) { | ||
this._id = value; | ||
} | ||
public resetId() { | ||
this._id = undefined; | ||
} | ||
// Temporarily expose input value. Use with caution. | ||
public get idInput() { | ||
return this._id; | ||
} | ||
|
||
// name - computed: true, optional: false, required: false | ||
public get name() { | ||
return this.getStringAttribute('name'); | ||
} | ||
|
||
// ========= | ||
// SYNTHESIS | ||
// ========= | ||
|
||
protected synthesizeAttributes(): { [name: string]: any } { | ||
return { | ||
id: cdktf.stringToTerraform(this._id), | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# `data_snowflake_parameters` | ||
|
||
Refer to the Terraform Registory for docs: [`data_snowflake_parameters`](https://www.terraform.io/docs/providers/snowflake/d/parameters). |
Oops, something went wrong.