From ceff748e124384adea8f5bdaf7dbda0517d9ab52 Mon Sep 17 00:00:00 2001 From: team-tf-cdk <84392119+team-tf-cdk@users.noreply.github.com> Date: Tue, 3 Jan 2023 09:46:47 +0100 Subject: [PATCH] chore(deps): Updated (#364) Triggered by https://github.com/cdktf/cdktf-repository-manager/actions/runs/3827925696 --- API.md | 4720 ++++++++++++++++- package.json | 4 +- src/account-grant/index.ts | 4 +- src/account-parameter/README.md | 3 + src/account-parameter/index.ts | 130 + src/api-integration/index.ts | 2 +- src/data-snowflake-current-account/index.ts | 2 +- src/data-snowflake-current-role/README.md | 3 + src/data-snowflake-current-role/index.ts | 93 + src/data-snowflake-database/index.ts | 2 +- src/data-snowflake-databases/index.ts | 2 +- .../index.ts | 2 +- src/data-snowflake-external-tables/index.ts | 2 +- src/data-snowflake-file-formats/index.ts | 2 +- src/data-snowflake-functions/index.ts | 2 +- src/data-snowflake-grants/index.ts | 2 +- src/data-snowflake-masking-policies/index.ts | 2 +- .../index.ts | 2 +- src/data-snowflake-parameters/README.md | 3 + src/data-snowflake-parameters/index.ts | 279 + src/data-snowflake-pipes/index.ts | 2 +- src/data-snowflake-procedures/index.ts | 2 +- src/data-snowflake-resource-monitors/index.ts | 2 +- src/data-snowflake-role/index.ts | 2 +- src/data-snowflake-roles/index.ts | 2 +- .../index.ts | 2 +- src/data-snowflake-schemas/index.ts | 2 +- src/data-snowflake-sequences/index.ts | 2 +- src/data-snowflake-stages/index.ts | 2 +- .../index.ts | 2 +- src/data-snowflake-streams/index.ts | 2 +- .../index.ts | 2 +- .../index.ts | 2 +- .../index.ts | 2 +- .../index.ts | 2 +- src/data-snowflake-tables/index.ts | 2 +- src/data-snowflake-tasks/index.ts | 2 +- src/data-snowflake-users/index.ts | 2 +- src/data-snowflake-views/index.ts | 2 +- src/data-snowflake-warehouses/index.ts | 2 +- src/database-grant/index.ts | 2 +- src/database/index.ts | 2 +- src/external-function/index.ts | 2 +- src/external-oauth-integration/index.ts | 2 +- src/external-table-grant/index.ts | 2 +- src/external-table/index.ts | 2 +- src/failover-group/index.ts | 2 +- src/file-format-grant/index.ts | 2 +- src/file-format/index.ts | 2 +- src/function-grant/index.ts | 2 +- src/function-resource/index.ts | 2 +- src/index.ts | 5 + src/integration-grant/index.ts | 2 +- src/managed-account/index.ts | 2 +- src/masking-policy-grant/index.ts | 2 +- src/masking-policy/index.ts | 2 +- src/materialized-view-grant/index.ts | 2 +- src/materialized-view/index.ts | 2 +- src/network-policy-attachment/index.ts | 2 +- src/network-policy/index.ts | 2 +- src/notification-integration/index.ts | 2 +- src/oauth-integration/index.ts | 2 +- src/object-parameter/README.md | 3 + src/object-parameter/index.ts | 326 ++ src/pipe-grant/index.ts | 2 +- src/pipe/index.ts | 2 +- src/procedure-grant/index.ts | 2 +- src/procedure/index.ts | 2 +- src/provider/index.ts | 12 +- src/resource-monitor-grant/index.ts | 2 +- src/resource-monitor/index.ts | 2 +- src/role-grants/index.ts | 2 +- src/role-ownership-grant/index.ts | 2 +- src/role/index.ts | 2 +- src/row-access-policy-grant/index.ts | 2 +- src/row-access-policy/index.ts | 2 +- src/saml-integration/index.ts | 2 +- src/schema-grant/index.ts | 2 +- src/schema/index.ts | 2 +- src/scim-integration/index.ts | 2 +- src/sequence-grant/index.ts | 2 +- src/sequence/index.ts | 2 +- src/session-parameter/README.md | 3 + src/session-parameter/index.ts | 130 + src/share/index.ts | 2 +- src/stage-grant/index.ts | 2 +- src/stage/index.ts | 2 +- src/storage-integration/index.ts | 2 +- src/stream-grant/index.ts | 2 +- src/stream/index.ts | 2 +- src/table-constraint/index.ts | 2 +- src/table-grant/index.ts | 2 +- src/table/index.ts | 2 +- src/tag-association/index.ts | 2 +- src/tag-grant/index.ts | 2 +- src/tag-masking-policy-association/index.ts | 2 +- src/tag/index.ts | 2 +- src/task-grant/index.ts | 2 +- src/task/index.ts | 2 +- src/user-grant/index.ts | 2 +- src/user-ownership-grant/index.ts | 2 +- src/user-public-keys/index.ts | 2 +- src/user/index.ts | 2 +- src/version.json | 2 +- src/view-grant/index.ts | 2 +- src/view/index.ts | 2 +- src/warehouse-grant/index.ts | 2 +- src/warehouse/index.ts | 2 +- yarn.lock | 8 +- 109 files changed, 5795 insertions(+), 117 deletions(-) create mode 100644 src/account-parameter/README.md create mode 100644 src/account-parameter/index.ts create mode 100644 src/data-snowflake-current-role/README.md create mode 100644 src/data-snowflake-current-role/index.ts create mode 100644 src/data-snowflake-parameters/README.md create mode 100644 src/data-snowflake-parameters/index.ts create mode 100644 src/object-parameter/README.md create mode 100644 src/object-parameter/index.ts create mode 100644 src/session-parameter/README.md create mode 100644 src/session-parameter/index.ts diff --git a/API.md b/API.md index d234747bf..49bfa03c6 100644 --- a/API.md +++ b/API.md @@ -649,6 +649,581 @@ public readonly tfResourceType: string; --- +### AccountParameter + +Represents a {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter snowflake_account_parameter}. + +#### Initializers + +```typescript +import { accountParameter } from '@cdktf/provider-snowflake' + +new accountParameter.AccountParameter(scope: Construct, id: string, config: AccountParameterConfig) +``` + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| scope | constructs.Construct | The scope in which to define this construct. | +| id | string | The scoped construct ID. | +| config | @cdktf/provider-snowflake.accountParameter.AccountParameterConfig | *No description.* | + +--- + +##### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +##### `id`Required + +- *Type:* string + +The scoped construct ID. + +Must be unique amongst siblings in the same scope + +--- + +##### `config`Required + +- *Type:* @cdktf/provider-snowflake.accountParameter.AccountParameterConfig + +--- + +#### Methods + +| **Name** | **Description** | +| --- | --- | +| toString | Returns a string representation of this construct. | +| addOverride | *No description.* | +| overrideLogicalId | Overrides the auto-generated logical ID with a specific ID. | +| resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | +| toMetadata | *No description.* | +| toTerraform | Adds this resource to the terraform JSON output. | +| getAnyMapAttribute | *No description.* | +| getBooleanAttribute | *No description.* | +| getBooleanMapAttribute | *No description.* | +| getListAttribute | *No description.* | +| getNumberAttribute | *No description.* | +| getNumberListAttribute | *No description.* | +| getNumberMapAttribute | *No description.* | +| getStringAttribute | *No description.* | +| getStringMapAttribute | *No description.* | +| interpolationForAttribute | *No description.* | +| resetId | *No description.* | + +--- + +##### `toString` + +```typescript +public toString(): string +``` + +Returns a string representation of this construct. + +##### `addOverride` + +```typescript +public addOverride(path: string, value: any): void +``` + +###### `path`Required + +- *Type:* string + +--- + +###### `value`Required + +- *Type:* any + +--- + +##### `overrideLogicalId` + +```typescript +public overrideLogicalId(newLogicalId: string): void +``` + +Overrides the auto-generated logical ID with a specific ID. + +###### `newLogicalId`Required + +- *Type:* string + +The new logical ID to use for this stack element. + +--- + +##### `resetOverrideLogicalId` + +```typescript +public resetOverrideLogicalId(): void +``` + +Resets a previously passed logical Id to use the auto-generated logical id again. + +##### `toMetadata` + +```typescript +public toMetadata(): any +``` + +##### `toTerraform` + +```typescript +public toTerraform(): any +``` + +Adds this resource to the terraform JSON output. + +##### `getAnyMapAttribute` + +```typescript +public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanAttribute` + +```typescript +public getBooleanAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanMapAttribute` + +```typescript +public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getListAttribute` + +```typescript +public getListAttribute(terraformAttribute: string): string[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberAttribute` + +```typescript +public getNumberAttribute(terraformAttribute: string): number +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberListAttribute` + +```typescript +public getNumberListAttribute(terraformAttribute: string): number[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberMapAttribute` + +```typescript +public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringAttribute` + +```typescript +public getStringAttribute(terraformAttribute: string): string +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringMapAttribute` + +```typescript +public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `interpolationForAttribute` + +```typescript +public interpolationForAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `resetId` + +```typescript +public resetId(): void +``` + +#### Static Functions + +| **Name** | **Description** | +| --- | --- | +| isConstruct | Checks if `x` is a construct. | +| isTerraformElement | *No description.* | +| isTerraformResource | *No description.* | + +--- + +##### `isConstruct` + +```typescript +import { accountParameter } from '@cdktf/provider-snowflake' + +accountParameter.AccountParameter.isConstruct(x: any) +``` + +Checks if `x` is a construct. + +Use this method instead of `instanceof` to properly detect `Construct` +instances, even when the construct library is symlinked. + +Explanation: in JavaScript, multiple copies of the `constructs` library on +disk are seen as independent, completely different libraries. As a +consequence, the class `Construct` in each copy of the `constructs` library +is seen as a different class, and an instance of one class will not test as +`instanceof` the other class. `npm install` will not create installations +like this, but users may manually symlink construct libraries together or +use a monorepo tool: in those cases, multiple copies of the `constructs` +library can be accidentally installed, and `instanceof` will behave +unpredictably. It is safest to avoid using `instanceof`, and using +this type-testing method instead. + +###### `x`Required + +- *Type:* any + +Any object. + +--- + +##### `isTerraformElement` + +```typescript +import { accountParameter } from '@cdktf/provider-snowflake' + +accountParameter.AccountParameter.isTerraformElement(x: any) +``` + +###### `x`Required + +- *Type:* any + +--- + +##### `isTerraformResource` + +```typescript +import { accountParameter } from '@cdktf/provider-snowflake' + +accountParameter.AccountParameter.isTerraformResource(x: any) +``` + +###### `x`Required + +- *Type:* any + +--- + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| node | constructs.Node | The tree node. | +| cdktfStack | cdktf.TerraformStack | *No description.* | +| fqn | string | *No description.* | +| friendlyUniqueId | string | *No description.* | +| terraformMetaArguments | {[ key: string ]: any} | *No description.* | +| terraformResourceType | string | *No description.* | +| terraformGeneratorMetadata | cdktf.TerraformProviderGeneratorMetadata | *No description.* | +| connection | cdktf.SSHProvisionerConnection \| cdktf.WinrmProvisionerConnection | *No description.* | +| count | number | *No description.* | +| dependsOn | string[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | +| idInput | string | *No description.* | +| keyInput | string | *No description.* | +| valueInput | string | *No description.* | +| id | string | *No description.* | +| key | string | *No description.* | +| value | string | *No description.* | + +--- + +##### `node`Required + +```typescript +public readonly node: Node; +``` + +- *Type:* constructs.Node + +The tree node. + +--- + +##### `cdktfStack`Required + +```typescript +public readonly cdktfStack: TerraformStack; +``` + +- *Type:* cdktf.TerraformStack + +--- + +##### `fqn`Required + +```typescript +public readonly fqn: string; +``` + +- *Type:* string + +--- + +##### `friendlyUniqueId`Required + +```typescript +public readonly friendlyUniqueId: string; +``` + +- *Type:* string + +--- + +##### `terraformMetaArguments`Required + +```typescript +public readonly terraformMetaArguments: {[ key: string ]: any}; +``` + +- *Type:* {[ key: string ]: any} + +--- + +##### `terraformResourceType`Required + +```typescript +public readonly terraformResourceType: string; +``` + +- *Type:* string + +--- + +##### `terraformGeneratorMetadata`Optional + +```typescript +public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata; +``` + +- *Type:* cdktf.TerraformProviderGeneratorMetadata + +--- + +##### `connection`Optional + +```typescript +public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection; +``` + +- *Type:* cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: string[]; +``` + +- *Type:* string[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `provisioners`Optional + +```typescript +public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[]; +``` + +- *Type:* cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] + +--- + +##### `idInput`Optional + +```typescript +public readonly idInput: string; +``` + +- *Type:* string + +--- + +##### `keyInput`Optional + +```typescript +public readonly keyInput: string; +``` + +- *Type:* string + +--- + +##### `valueInput`Optional + +```typescript +public readonly valueInput: string; +``` + +- *Type:* string + +--- + +##### `id`Required + +```typescript +public readonly id: string; +``` + +- *Type:* string + +--- + +##### `key`Required + +```typescript +public readonly key: string; +``` + +- *Type:* string + +--- + +##### `value`Required + +```typescript +public readonly value: string; +``` + +- *Type:* string + +--- + +#### Constants + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| tfResourceType | string | *No description.* | + +--- + +##### `tfResourceType`Required + +```typescript +public readonly tfResourceType: string; +``` + +- *Type:* string + +--- + ### ApiIntegration Represents a {@link https://www.terraform.io/docs/providers/snowflake/r/api_integration snowflake_api_integration}. @@ -3526,6 +4101,526 @@ public readonly tfResourceType: string; --- +### DataSnowflakeCurrentRole + +Represents a {@link https://www.terraform.io/docs/providers/snowflake/d/current_role snowflake_current_role}. + +#### Initializers + +```typescript +import { dataSnowflakeCurrentRole } from '@cdktf/provider-snowflake' + +new dataSnowflakeCurrentRole.DataSnowflakeCurrentRole(scope: Construct, id: string, config?: DataSnowflakeCurrentRoleConfig) +``` + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| scope | constructs.Construct | The scope in which to define this construct. | +| id | string | The scoped construct ID. | +| config | @cdktf/provider-snowflake.dataSnowflakeCurrentRole.DataSnowflakeCurrentRoleConfig | *No description.* | + +--- + +##### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +##### `id`Required + +- *Type:* string + +The scoped construct ID. + +Must be unique amongst siblings in the same scope + +--- + +##### `config`Optional + +- *Type:* @cdktf/provider-snowflake.dataSnowflakeCurrentRole.DataSnowflakeCurrentRoleConfig + +--- + +#### Methods + +| **Name** | **Description** | +| --- | --- | +| toString | Returns a string representation of this construct. | +| addOverride | *No description.* | +| overrideLogicalId | Overrides the auto-generated logical ID with a specific ID. | +| resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | +| toMetadata | *No description.* | +| toTerraform | Adds this resource to the terraform JSON output. | +| getAnyMapAttribute | *No description.* | +| getBooleanAttribute | *No description.* | +| getBooleanMapAttribute | *No description.* | +| getListAttribute | *No description.* | +| getNumberAttribute | *No description.* | +| getNumberListAttribute | *No description.* | +| getNumberMapAttribute | *No description.* | +| getStringAttribute | *No description.* | +| getStringMapAttribute | *No description.* | +| interpolationForAttribute | *No description.* | +| resetId | *No description.* | + +--- + +##### `toString` + +```typescript +public toString(): string +``` + +Returns a string representation of this construct. + +##### `addOverride` + +```typescript +public addOverride(path: string, value: any): void +``` + +###### `path`Required + +- *Type:* string + +--- + +###### `value`Required + +- *Type:* any + +--- + +##### `overrideLogicalId` + +```typescript +public overrideLogicalId(newLogicalId: string): void +``` + +Overrides the auto-generated logical ID with a specific ID. + +###### `newLogicalId`Required + +- *Type:* string + +The new logical ID to use for this stack element. + +--- + +##### `resetOverrideLogicalId` + +```typescript +public resetOverrideLogicalId(): void +``` + +Resets a previously passed logical Id to use the auto-generated logical id again. + +##### `toMetadata` + +```typescript +public toMetadata(): any +``` + +##### `toTerraform` + +```typescript +public toTerraform(): any +``` + +Adds this resource to the terraform JSON output. + +##### `getAnyMapAttribute` + +```typescript +public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanAttribute` + +```typescript +public getBooleanAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanMapAttribute` + +```typescript +public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getListAttribute` + +```typescript +public getListAttribute(terraformAttribute: string): string[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberAttribute` + +```typescript +public getNumberAttribute(terraformAttribute: string): number +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberListAttribute` + +```typescript +public getNumberListAttribute(terraformAttribute: string): number[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberMapAttribute` + +```typescript +public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringAttribute` + +```typescript +public getStringAttribute(terraformAttribute: string): string +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringMapAttribute` + +```typescript +public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `interpolationForAttribute` + +```typescript +public interpolationForAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `resetId` + +```typescript +public resetId(): void +``` + +#### Static Functions + +| **Name** | **Description** | +| --- | --- | +| isConstruct | Checks if `x` is a construct. | +| isTerraformElement | *No description.* | +| isTerraformDataSource | *No description.* | + +--- + +##### `isConstruct` + +```typescript +import { dataSnowflakeCurrentRole } from '@cdktf/provider-snowflake' + +dataSnowflakeCurrentRole.DataSnowflakeCurrentRole.isConstruct(x: any) +``` + +Checks if `x` is a construct. + +Use this method instead of `instanceof` to properly detect `Construct` +instances, even when the construct library is symlinked. + +Explanation: in JavaScript, multiple copies of the `constructs` library on +disk are seen as independent, completely different libraries. As a +consequence, the class `Construct` in each copy of the `constructs` library +is seen as a different class, and an instance of one class will not test as +`instanceof` the other class. `npm install` will not create installations +like this, but users may manually symlink construct libraries together or +use a monorepo tool: in those cases, multiple copies of the `constructs` +library can be accidentally installed, and `instanceof` will behave +unpredictably. It is safest to avoid using `instanceof`, and using +this type-testing method instead. + +###### `x`Required + +- *Type:* any + +Any object. + +--- + +##### `isTerraformElement` + +```typescript +import { dataSnowflakeCurrentRole } from '@cdktf/provider-snowflake' + +dataSnowflakeCurrentRole.DataSnowflakeCurrentRole.isTerraformElement(x: any) +``` + +###### `x`Required + +- *Type:* any + +--- + +##### `isTerraformDataSource` + +```typescript +import { dataSnowflakeCurrentRole } from '@cdktf/provider-snowflake' + +dataSnowflakeCurrentRole.DataSnowflakeCurrentRole.isTerraformDataSource(x: any) +``` + +###### `x`Required + +- *Type:* any + +--- + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| node | constructs.Node | The tree node. | +| cdktfStack | cdktf.TerraformStack | *No description.* | +| fqn | string | *No description.* | +| friendlyUniqueId | string | *No description.* | +| terraformMetaArguments | {[ key: string ]: any} | *No description.* | +| terraformResourceType | string | *No description.* | +| terraformGeneratorMetadata | cdktf.TerraformProviderGeneratorMetadata | *No description.* | +| count | number | *No description.* | +| dependsOn | string[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| name | string | *No description.* | +| idInput | string | *No description.* | +| id | string | *No description.* | + +--- + +##### `node`Required + +```typescript +public readonly node: Node; +``` + +- *Type:* constructs.Node + +The tree node. + +--- + +##### `cdktfStack`Required + +```typescript +public readonly cdktfStack: TerraformStack; +``` + +- *Type:* cdktf.TerraformStack + +--- + +##### `fqn`Required + +```typescript +public readonly fqn: string; +``` + +- *Type:* string + +--- + +##### `friendlyUniqueId`Required + +```typescript +public readonly friendlyUniqueId: string; +``` + +- *Type:* string + +--- + +##### `terraformMetaArguments`Required + +```typescript +public readonly terraformMetaArguments: {[ key: string ]: any}; +``` + +- *Type:* {[ key: string ]: any} + +--- + +##### `terraformResourceType`Required + +```typescript +public readonly terraformResourceType: string; +``` + +- *Type:* string + +--- + +##### `terraformGeneratorMetadata`Optional + +```typescript +public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata; +``` + +- *Type:* cdktf.TerraformProviderGeneratorMetadata + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: string[]; +``` + +- *Type:* string[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `name`Required + +```typescript +public readonly name: string; +``` + +- *Type:* string + +--- + +##### `idInput`Optional + +```typescript +public readonly idInput: string; +``` + +- *Type:* string + +--- + +##### `id`Required + +```typescript +public readonly id: string; +``` + +- *Type:* string + +--- + +#### Constants + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| tfResourceType | string | *No description.* | + +--- + +##### `tfResourceType`Required + +```typescript +public readonly tfResourceType: string; +``` + +- *Type:* string + +--- + ### DataSnowflakeDatabase Represents a {@link https://www.terraform.io/docs/providers/snowflake/d/database snowflake_database}. @@ -8779,6 +9874,642 @@ public readonly tfResourceType: string; --- +### DataSnowflakeParameters + +Represents a {@link https://www.terraform.io/docs/providers/snowflake/d/parameters snowflake_parameters}. + +#### Initializers + +```typescript +import { dataSnowflakeParameters } from '@cdktf/provider-snowflake' + +new dataSnowflakeParameters.DataSnowflakeParameters(scope: Construct, id: string, config?: DataSnowflakeParametersConfig) +``` + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| scope | constructs.Construct | The scope in which to define this construct. | +| id | string | The scoped construct ID. | +| config | @cdktf/provider-snowflake.dataSnowflakeParameters.DataSnowflakeParametersConfig | *No description.* | + +--- + +##### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +##### `id`Required + +- *Type:* string + +The scoped construct ID. + +Must be unique amongst siblings in the same scope + +--- + +##### `config`Optional + +- *Type:* @cdktf/provider-snowflake.dataSnowflakeParameters.DataSnowflakeParametersConfig + +--- + +#### Methods + +| **Name** | **Description** | +| --- | --- | +| toString | Returns a string representation of this construct. | +| addOverride | *No description.* | +| overrideLogicalId | Overrides the auto-generated logical ID with a specific ID. | +| resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | +| toMetadata | *No description.* | +| toTerraform | Adds this resource to the terraform JSON output. | +| getAnyMapAttribute | *No description.* | +| getBooleanAttribute | *No description.* | +| getBooleanMapAttribute | *No description.* | +| getListAttribute | *No description.* | +| getNumberAttribute | *No description.* | +| getNumberListAttribute | *No description.* | +| getNumberMapAttribute | *No description.* | +| getStringAttribute | *No description.* | +| getStringMapAttribute | *No description.* | +| interpolationForAttribute | *No description.* | +| resetId | *No description.* | +| resetObjectName | *No description.* | +| resetObjectType | *No description.* | +| resetParameterType | *No description.* | +| resetPattern | *No description.* | + +--- + +##### `toString` + +```typescript +public toString(): string +``` + +Returns a string representation of this construct. + +##### `addOverride` + +```typescript +public addOverride(path: string, value: any): void +``` + +###### `path`Required + +- *Type:* string + +--- + +###### `value`Required + +- *Type:* any + +--- + +##### `overrideLogicalId` + +```typescript +public overrideLogicalId(newLogicalId: string): void +``` + +Overrides the auto-generated logical ID with a specific ID. + +###### `newLogicalId`Required + +- *Type:* string + +The new logical ID to use for this stack element. + +--- + +##### `resetOverrideLogicalId` + +```typescript +public resetOverrideLogicalId(): void +``` + +Resets a previously passed logical Id to use the auto-generated logical id again. + +##### `toMetadata` + +```typescript +public toMetadata(): any +``` + +##### `toTerraform` + +```typescript +public toTerraform(): any +``` + +Adds this resource to the terraform JSON output. + +##### `getAnyMapAttribute` + +```typescript +public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanAttribute` + +```typescript +public getBooleanAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanMapAttribute` + +```typescript +public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getListAttribute` + +```typescript +public getListAttribute(terraformAttribute: string): string[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberAttribute` + +```typescript +public getNumberAttribute(terraformAttribute: string): number +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberListAttribute` + +```typescript +public getNumberListAttribute(terraformAttribute: string): number[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberMapAttribute` + +```typescript +public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringAttribute` + +```typescript +public getStringAttribute(terraformAttribute: string): string +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringMapAttribute` + +```typescript +public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `interpolationForAttribute` + +```typescript +public interpolationForAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `resetId` + +```typescript +public resetId(): void +``` + +##### `resetObjectName` + +```typescript +public resetObjectName(): void +``` + +##### `resetObjectType` + +```typescript +public resetObjectType(): void +``` + +##### `resetParameterType` + +```typescript +public resetParameterType(): void +``` + +##### `resetPattern` + +```typescript +public resetPattern(): void +``` + +#### Static Functions + +| **Name** | **Description** | +| --- | --- | +| isConstruct | Checks if `x` is a construct. | +| isTerraformElement | *No description.* | +| isTerraformDataSource | *No description.* | + +--- + +##### `isConstruct` + +```typescript +import { dataSnowflakeParameters } from '@cdktf/provider-snowflake' + +dataSnowflakeParameters.DataSnowflakeParameters.isConstruct(x: any) +``` + +Checks if `x` is a construct. + +Use this method instead of `instanceof` to properly detect `Construct` +instances, even when the construct library is symlinked. + +Explanation: in JavaScript, multiple copies of the `constructs` library on +disk are seen as independent, completely different libraries. As a +consequence, the class `Construct` in each copy of the `constructs` library +is seen as a different class, and an instance of one class will not test as +`instanceof` the other class. `npm install` will not create installations +like this, but users may manually symlink construct libraries together or +use a monorepo tool: in those cases, multiple copies of the `constructs` +library can be accidentally installed, and `instanceof` will behave +unpredictably. It is safest to avoid using `instanceof`, and using +this type-testing method instead. + +###### `x`Required + +- *Type:* any + +Any object. + +--- + +##### `isTerraformElement` + +```typescript +import { dataSnowflakeParameters } from '@cdktf/provider-snowflake' + +dataSnowflakeParameters.DataSnowflakeParameters.isTerraformElement(x: any) +``` + +###### `x`Required + +- *Type:* any + +--- + +##### `isTerraformDataSource` + +```typescript +import { dataSnowflakeParameters } from '@cdktf/provider-snowflake' + +dataSnowflakeParameters.DataSnowflakeParameters.isTerraformDataSource(x: any) +``` + +###### `x`Required + +- *Type:* any + +--- + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| node | constructs.Node | The tree node. | +| cdktfStack | cdktf.TerraformStack | *No description.* | +| fqn | string | *No description.* | +| friendlyUniqueId | string | *No description.* | +| terraformMetaArguments | {[ key: string ]: any} | *No description.* | +| terraformResourceType | string | *No description.* | +| terraformGeneratorMetadata | cdktf.TerraformProviderGeneratorMetadata | *No description.* | +| count | number | *No description.* | +| dependsOn | string[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| parameters | @cdktf/provider-snowflake.dataSnowflakeParameters.DataSnowflakeParametersParametersList | *No description.* | +| idInput | string | *No description.* | +| objectNameInput | string | *No description.* | +| objectTypeInput | string | *No description.* | +| parameterTypeInput | string | *No description.* | +| patternInput | string | *No description.* | +| id | string | *No description.* | +| objectName | string | *No description.* | +| objectType | string | *No description.* | +| parameterType | string | *No description.* | +| pattern | string | *No description.* | + +--- + +##### `node`Required + +```typescript +public readonly node: Node; +``` + +- *Type:* constructs.Node + +The tree node. + +--- + +##### `cdktfStack`Required + +```typescript +public readonly cdktfStack: TerraformStack; +``` + +- *Type:* cdktf.TerraformStack + +--- + +##### `fqn`Required + +```typescript +public readonly fqn: string; +``` + +- *Type:* string + +--- + +##### `friendlyUniqueId`Required + +```typescript +public readonly friendlyUniqueId: string; +``` + +- *Type:* string + +--- + +##### `terraformMetaArguments`Required + +```typescript +public readonly terraformMetaArguments: {[ key: string ]: any}; +``` + +- *Type:* {[ key: string ]: any} + +--- + +##### `terraformResourceType`Required + +```typescript +public readonly terraformResourceType: string; +``` + +- *Type:* string + +--- + +##### `terraformGeneratorMetadata`Optional + +```typescript +public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata; +``` + +- *Type:* cdktf.TerraformProviderGeneratorMetadata + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: string[]; +``` + +- *Type:* string[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `parameters`Required + +```typescript +public readonly parameters: DataSnowflakeParametersParametersList; +``` + +- *Type:* @cdktf/provider-snowflake.dataSnowflakeParameters.DataSnowflakeParametersParametersList + +--- + +##### `idInput`Optional + +```typescript +public readonly idInput: string; +``` + +- *Type:* string + +--- + +##### `objectNameInput`Optional + +```typescript +public readonly objectNameInput: string; +``` + +- *Type:* string + +--- + +##### `objectTypeInput`Optional + +```typescript +public readonly objectTypeInput: string; +``` + +- *Type:* string + +--- + +##### `parameterTypeInput`Optional + +```typescript +public readonly parameterTypeInput: string; +``` + +- *Type:* string + +--- + +##### `patternInput`Optional + +```typescript +public readonly patternInput: string; +``` + +- *Type:* string + +--- + +##### `id`Required + +```typescript +public readonly id: string; +``` + +- *Type:* string + +--- + +##### `objectName`Required + +```typescript +public readonly objectName: string; +``` + +- *Type:* string + +--- + +##### `objectType`Required + +```typescript +public readonly objectType: string; +``` + +- *Type:* string + +--- + +##### `parameterType`Required + +```typescript +public readonly parameterType: string; +``` + +- *Type:* string + +--- + +##### `pattern`Required + +```typescript +public readonly pattern: string; +``` + +- *Type:* string + +--- + +#### Constants + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| tfResourceType | string | *No description.* | + +--- + +##### `tfResourceType`Required + +```typescript +public readonly tfResourceType: string; +``` + +- *Type:* string + +--- + ### DataSnowflakePipes Represents a {@link https://www.terraform.io/docs/providers/snowflake/d/pipes snowflake_pipes}. @@ -35596,6 +37327,638 @@ public readonly tfResourceType: string; --- +### ObjectParameter + +Represents a {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter snowflake_object_parameter}. + +#### Initializers + +```typescript +import { objectParameter } from '@cdktf/provider-snowflake' + +new objectParameter.ObjectParameter(scope: Construct, id: string, config: ObjectParameterConfig) +``` + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| scope | constructs.Construct | The scope in which to define this construct. | +| id | string | The scoped construct ID. | +| config | @cdktf/provider-snowflake.objectParameter.ObjectParameterConfig | *No description.* | + +--- + +##### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +##### `id`Required + +- *Type:* string + +The scoped construct ID. + +Must be unique amongst siblings in the same scope + +--- + +##### `config`Required + +- *Type:* @cdktf/provider-snowflake.objectParameter.ObjectParameterConfig + +--- + +#### Methods + +| **Name** | **Description** | +| --- | --- | +| toString | Returns a string representation of this construct. | +| addOverride | *No description.* | +| overrideLogicalId | Overrides the auto-generated logical ID with a specific ID. | +| resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | +| toMetadata | *No description.* | +| toTerraform | Adds this resource to the terraform JSON output. | +| getAnyMapAttribute | *No description.* | +| getBooleanAttribute | *No description.* | +| getBooleanMapAttribute | *No description.* | +| getListAttribute | *No description.* | +| getNumberAttribute | *No description.* | +| getNumberListAttribute | *No description.* | +| getNumberMapAttribute | *No description.* | +| getStringAttribute | *No description.* | +| getStringMapAttribute | *No description.* | +| interpolationForAttribute | *No description.* | +| putObjectIdentifier | *No description.* | +| resetId | *No description.* | + +--- + +##### `toString` + +```typescript +public toString(): string +``` + +Returns a string representation of this construct. + +##### `addOverride` + +```typescript +public addOverride(path: string, value: any): void +``` + +###### `path`Required + +- *Type:* string + +--- + +###### `value`Required + +- *Type:* any + +--- + +##### `overrideLogicalId` + +```typescript +public overrideLogicalId(newLogicalId: string): void +``` + +Overrides the auto-generated logical ID with a specific ID. + +###### `newLogicalId`Required + +- *Type:* string + +The new logical ID to use for this stack element. + +--- + +##### `resetOverrideLogicalId` + +```typescript +public resetOverrideLogicalId(): void +``` + +Resets a previously passed logical Id to use the auto-generated logical id again. + +##### `toMetadata` + +```typescript +public toMetadata(): any +``` + +##### `toTerraform` + +```typescript +public toTerraform(): any +``` + +Adds this resource to the terraform JSON output. + +##### `getAnyMapAttribute` + +```typescript +public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanAttribute` + +```typescript +public getBooleanAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanMapAttribute` + +```typescript +public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getListAttribute` + +```typescript +public getListAttribute(terraformAttribute: string): string[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberAttribute` + +```typescript +public getNumberAttribute(terraformAttribute: string): number +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberListAttribute` + +```typescript +public getNumberListAttribute(terraformAttribute: string): number[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberMapAttribute` + +```typescript +public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringAttribute` + +```typescript +public getStringAttribute(terraformAttribute: string): string +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringMapAttribute` + +```typescript +public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `interpolationForAttribute` + +```typescript +public interpolationForAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `putObjectIdentifier` + +```typescript +public putObjectIdentifier(value: IResolvable | ObjectParameterObjectIdentifier[]): void +``` + +###### `value`Required + +- *Type:* cdktf.IResolvable | @cdktf/provider-snowflake.objectParameter.ObjectParameterObjectIdentifier[] + +--- + +##### `resetId` + +```typescript +public resetId(): void +``` + +#### Static Functions + +| **Name** | **Description** | +| --- | --- | +| isConstruct | Checks if `x` is a construct. | +| isTerraformElement | *No description.* | +| isTerraformResource | *No description.* | + +--- + +##### `isConstruct` + +```typescript +import { objectParameter } from '@cdktf/provider-snowflake' + +objectParameter.ObjectParameter.isConstruct(x: any) +``` + +Checks if `x` is a construct. + +Use this method instead of `instanceof` to properly detect `Construct` +instances, even when the construct library is symlinked. + +Explanation: in JavaScript, multiple copies of the `constructs` library on +disk are seen as independent, completely different libraries. As a +consequence, the class `Construct` in each copy of the `constructs` library +is seen as a different class, and an instance of one class will not test as +`instanceof` the other class. `npm install` will not create installations +like this, but users may manually symlink construct libraries together or +use a monorepo tool: in those cases, multiple copies of the `constructs` +library can be accidentally installed, and `instanceof` will behave +unpredictably. It is safest to avoid using `instanceof`, and using +this type-testing method instead. + +###### `x`Required + +- *Type:* any + +Any object. + +--- + +##### `isTerraformElement` + +```typescript +import { objectParameter } from '@cdktf/provider-snowflake' + +objectParameter.ObjectParameter.isTerraformElement(x: any) +``` + +###### `x`Required + +- *Type:* any + +--- + +##### `isTerraformResource` + +```typescript +import { objectParameter } from '@cdktf/provider-snowflake' + +objectParameter.ObjectParameter.isTerraformResource(x: any) +``` + +###### `x`Required + +- *Type:* any + +--- + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| node | constructs.Node | The tree node. | +| cdktfStack | cdktf.TerraformStack | *No description.* | +| fqn | string | *No description.* | +| friendlyUniqueId | string | *No description.* | +| terraformMetaArguments | {[ key: string ]: any} | *No description.* | +| terraformResourceType | string | *No description.* | +| terraformGeneratorMetadata | cdktf.TerraformProviderGeneratorMetadata | *No description.* | +| connection | cdktf.SSHProvisionerConnection \| cdktf.WinrmProvisionerConnection | *No description.* | +| count | number | *No description.* | +| dependsOn | string[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | +| objectIdentifier | @cdktf/provider-snowflake.objectParameter.ObjectParameterObjectIdentifierList | *No description.* | +| idInput | string | *No description.* | +| keyInput | string | *No description.* | +| objectIdentifierInput | cdktf.IResolvable \| @cdktf/provider-snowflake.objectParameter.ObjectParameterObjectIdentifier[] | *No description.* | +| objectTypeInput | string | *No description.* | +| valueInput | string | *No description.* | +| id | string | *No description.* | +| key | string | *No description.* | +| objectType | string | *No description.* | +| value | string | *No description.* | + +--- + +##### `node`Required + +```typescript +public readonly node: Node; +``` + +- *Type:* constructs.Node + +The tree node. + +--- + +##### `cdktfStack`Required + +```typescript +public readonly cdktfStack: TerraformStack; +``` + +- *Type:* cdktf.TerraformStack + +--- + +##### `fqn`Required + +```typescript +public readonly fqn: string; +``` + +- *Type:* string + +--- + +##### `friendlyUniqueId`Required + +```typescript +public readonly friendlyUniqueId: string; +``` + +- *Type:* string + +--- + +##### `terraformMetaArguments`Required + +```typescript +public readonly terraformMetaArguments: {[ key: string ]: any}; +``` + +- *Type:* {[ key: string ]: any} + +--- + +##### `terraformResourceType`Required + +```typescript +public readonly terraformResourceType: string; +``` + +- *Type:* string + +--- + +##### `terraformGeneratorMetadata`Optional + +```typescript +public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata; +``` + +- *Type:* cdktf.TerraformProviderGeneratorMetadata + +--- + +##### `connection`Optional + +```typescript +public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection; +``` + +- *Type:* cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: string[]; +``` + +- *Type:* string[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `provisioners`Optional + +```typescript +public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[]; +``` + +- *Type:* cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] + +--- + +##### `objectIdentifier`Required + +```typescript +public readonly objectIdentifier: ObjectParameterObjectIdentifierList; +``` + +- *Type:* @cdktf/provider-snowflake.objectParameter.ObjectParameterObjectIdentifierList + +--- + +##### `idInput`Optional + +```typescript +public readonly idInput: string; +``` + +- *Type:* string + +--- + +##### `keyInput`Optional + +```typescript +public readonly keyInput: string; +``` + +- *Type:* string + +--- + +##### `objectIdentifierInput`Optional + +```typescript +public readonly objectIdentifierInput: IResolvable | ObjectParameterObjectIdentifier[]; +``` + +- *Type:* cdktf.IResolvable | @cdktf/provider-snowflake.objectParameter.ObjectParameterObjectIdentifier[] + +--- + +##### `objectTypeInput`Optional + +```typescript +public readonly objectTypeInput: string; +``` + +- *Type:* string + +--- + +##### `valueInput`Optional + +```typescript +public readonly valueInput: string; +``` + +- *Type:* string + +--- + +##### `id`Required + +```typescript +public readonly id: string; +``` + +- *Type:* string + +--- + +##### `key`Required + +```typescript +public readonly key: string; +``` + +- *Type:* string + +--- + +##### `objectType`Required + +```typescript +public readonly objectType: string; +``` + +- *Type:* string + +--- + +##### `value`Required + +```typescript +public readonly value: string; +``` + +- *Type:* string + +--- + +#### Constants + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| tfResourceType | string | *No description.* | + +--- + +##### `tfResourceType`Required + +```typescript +public readonly tfResourceType: string; +``` + +- *Type:* string + +--- + ### Pipe Represents a {@link https://www.terraform.io/docs/providers/snowflake/r/pipe snowflake_pipe}. @@ -48127,6 +50490,581 @@ public readonly tfResourceType: string; --- +### SessionParameter + +Represents a {@link https://www.terraform.io/docs/providers/snowflake/r/session_parameter snowflake_session_parameter}. + +#### Initializers + +```typescript +import { sessionParameter } from '@cdktf/provider-snowflake' + +new sessionParameter.SessionParameter(scope: Construct, id: string, config: SessionParameterConfig) +``` + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| scope | constructs.Construct | The scope in which to define this construct. | +| id | string | The scoped construct ID. | +| config | @cdktf/provider-snowflake.sessionParameter.SessionParameterConfig | *No description.* | + +--- + +##### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +##### `id`Required + +- *Type:* string + +The scoped construct ID. + +Must be unique amongst siblings in the same scope + +--- + +##### `config`Required + +- *Type:* @cdktf/provider-snowflake.sessionParameter.SessionParameterConfig + +--- + +#### Methods + +| **Name** | **Description** | +| --- | --- | +| toString | Returns a string representation of this construct. | +| addOverride | *No description.* | +| overrideLogicalId | Overrides the auto-generated logical ID with a specific ID. | +| resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | +| toMetadata | *No description.* | +| toTerraform | Adds this resource to the terraform JSON output. | +| getAnyMapAttribute | *No description.* | +| getBooleanAttribute | *No description.* | +| getBooleanMapAttribute | *No description.* | +| getListAttribute | *No description.* | +| getNumberAttribute | *No description.* | +| getNumberListAttribute | *No description.* | +| getNumberMapAttribute | *No description.* | +| getStringAttribute | *No description.* | +| getStringMapAttribute | *No description.* | +| interpolationForAttribute | *No description.* | +| resetId | *No description.* | + +--- + +##### `toString` + +```typescript +public toString(): string +``` + +Returns a string representation of this construct. + +##### `addOverride` + +```typescript +public addOverride(path: string, value: any): void +``` + +###### `path`Required + +- *Type:* string + +--- + +###### `value`Required + +- *Type:* any + +--- + +##### `overrideLogicalId` + +```typescript +public overrideLogicalId(newLogicalId: string): void +``` + +Overrides the auto-generated logical ID with a specific ID. + +###### `newLogicalId`Required + +- *Type:* string + +The new logical ID to use for this stack element. + +--- + +##### `resetOverrideLogicalId` + +```typescript +public resetOverrideLogicalId(): void +``` + +Resets a previously passed logical Id to use the auto-generated logical id again. + +##### `toMetadata` + +```typescript +public toMetadata(): any +``` + +##### `toTerraform` + +```typescript +public toTerraform(): any +``` + +Adds this resource to the terraform JSON output. + +##### `getAnyMapAttribute` + +```typescript +public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanAttribute` + +```typescript +public getBooleanAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanMapAttribute` + +```typescript +public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getListAttribute` + +```typescript +public getListAttribute(terraformAttribute: string): string[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberAttribute` + +```typescript +public getNumberAttribute(terraformAttribute: string): number +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberListAttribute` + +```typescript +public getNumberListAttribute(terraformAttribute: string): number[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberMapAttribute` + +```typescript +public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringAttribute` + +```typescript +public getStringAttribute(terraformAttribute: string): string +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringMapAttribute` + +```typescript +public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `interpolationForAttribute` + +```typescript +public interpolationForAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `resetId` + +```typescript +public resetId(): void +``` + +#### Static Functions + +| **Name** | **Description** | +| --- | --- | +| isConstruct | Checks if `x` is a construct. | +| isTerraformElement | *No description.* | +| isTerraformResource | *No description.* | + +--- + +##### `isConstruct` + +```typescript +import { sessionParameter } from '@cdktf/provider-snowflake' + +sessionParameter.SessionParameter.isConstruct(x: any) +``` + +Checks if `x` is a construct. + +Use this method instead of `instanceof` to properly detect `Construct` +instances, even when the construct library is symlinked. + +Explanation: in JavaScript, multiple copies of the `constructs` library on +disk are seen as independent, completely different libraries. As a +consequence, the class `Construct` in each copy of the `constructs` library +is seen as a different class, and an instance of one class will not test as +`instanceof` the other class. `npm install` will not create installations +like this, but users may manually symlink construct libraries together or +use a monorepo tool: in those cases, multiple copies of the `constructs` +library can be accidentally installed, and `instanceof` will behave +unpredictably. It is safest to avoid using `instanceof`, and using +this type-testing method instead. + +###### `x`Required + +- *Type:* any + +Any object. + +--- + +##### `isTerraformElement` + +```typescript +import { sessionParameter } from '@cdktf/provider-snowflake' + +sessionParameter.SessionParameter.isTerraformElement(x: any) +``` + +###### `x`Required + +- *Type:* any + +--- + +##### `isTerraformResource` + +```typescript +import { sessionParameter } from '@cdktf/provider-snowflake' + +sessionParameter.SessionParameter.isTerraformResource(x: any) +``` + +###### `x`Required + +- *Type:* any + +--- + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| node | constructs.Node | The tree node. | +| cdktfStack | cdktf.TerraformStack | *No description.* | +| fqn | string | *No description.* | +| friendlyUniqueId | string | *No description.* | +| terraformMetaArguments | {[ key: string ]: any} | *No description.* | +| terraformResourceType | string | *No description.* | +| terraformGeneratorMetadata | cdktf.TerraformProviderGeneratorMetadata | *No description.* | +| connection | cdktf.SSHProvisionerConnection \| cdktf.WinrmProvisionerConnection | *No description.* | +| count | number | *No description.* | +| dependsOn | string[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | +| idInput | string | *No description.* | +| keyInput | string | *No description.* | +| valueInput | string | *No description.* | +| id | string | *No description.* | +| key | string | *No description.* | +| value | string | *No description.* | + +--- + +##### `node`Required + +```typescript +public readonly node: Node; +``` + +- *Type:* constructs.Node + +The tree node. + +--- + +##### `cdktfStack`Required + +```typescript +public readonly cdktfStack: TerraformStack; +``` + +- *Type:* cdktf.TerraformStack + +--- + +##### `fqn`Required + +```typescript +public readonly fqn: string; +``` + +- *Type:* string + +--- + +##### `friendlyUniqueId`Required + +```typescript +public readonly friendlyUniqueId: string; +``` + +- *Type:* string + +--- + +##### `terraformMetaArguments`Required + +```typescript +public readonly terraformMetaArguments: {[ key: string ]: any}; +``` + +- *Type:* {[ key: string ]: any} + +--- + +##### `terraformResourceType`Required + +```typescript +public readonly terraformResourceType: string; +``` + +- *Type:* string + +--- + +##### `terraformGeneratorMetadata`Optional + +```typescript +public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata; +``` + +- *Type:* cdktf.TerraformProviderGeneratorMetadata + +--- + +##### `connection`Optional + +```typescript +public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection; +``` + +- *Type:* cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: string[]; +``` + +- *Type:* string[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `provisioners`Optional + +```typescript +public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[]; +``` + +- *Type:* cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] + +--- + +##### `idInput`Optional + +```typescript +public readonly idInput: string; +``` + +- *Type:* string + +--- + +##### `keyInput`Optional + +```typescript +public readonly keyInput: string; +``` + +- *Type:* string + +--- + +##### `valueInput`Optional + +```typescript +public readonly valueInput: string; +``` + +- *Type:* string + +--- + +##### `id`Required + +```typescript +public readonly id: string; +``` + +- *Type:* string + +--- + +##### `key`Required + +```typescript +public readonly key: string; +``` + +- *Type:* string + +--- + +##### `value`Required + +```typescript +public readonly value: string; +``` + +- *Type:* string + +--- + +#### Constants + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| tfResourceType | string | *No description.* | + +--- + +##### `tfResourceType`Required + +```typescript +public readonly tfResourceType: string; +``` + +- *Type:* string + +--- + ### Share Represents a {@link https://www.terraform.io/docs/providers/snowflake/r/share snowflake_share}. @@ -66772,7 +69710,7 @@ const accountGrantConfig: accountGrant.AccountGrantConfig = { ... } | provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | | enableMultipleGrants | boolean \| cdktf.IResolvable | When this is set to true, multiple grants of the same type can be created. | | id | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/account_grant#id AccountGrant#id}. | -| privilege | string | The privilege to grant on the account. | +| privilege | string | The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). | | roles | string[] | Grants privilege to these roles. | | withGrantOption | boolean \| cdktf.IResolvable | When this is set to true, allows the recipient role to grant the privileges to other roles. | @@ -66887,7 +69825,7 @@ public readonly privilege: string; - *Type:* string -The privilege to grant on the account. +The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/account_grant#privilege AccountGrant#privilege} @@ -66921,6 +69859,146 @@ Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowf --- +### AccountParameterConfig + +#### Initializer + +```typescript +import { accountParameter } from '@cdktf/provider-snowflake' + +const accountParameterConfig: accountParameter.AccountParameterConfig = { ... } +``` + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| connection | cdktf.SSHProvisionerConnection \| cdktf.WinrmProvisionerConnection | *No description.* | +| count | number | *No description.* | +| dependsOn | cdktf.ITerraformDependable[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | +| key | string | Name of account parameter. Valid values are those in [account parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#account-parameters). | +| value | string | Value of account parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation. | +| id | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter#id AccountParameter#id}. | + +--- + +##### `connection`Optional + +```typescript +public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection; +``` + +- *Type:* cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: ITerraformDependable[]; +``` + +- *Type:* cdktf.ITerraformDependable[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `provisioners`Optional + +```typescript +public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[]; +``` + +- *Type:* cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] + +--- + +##### `key`Required + +```typescript +public readonly key: string; +``` + +- *Type:* 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} + +--- + +##### `value`Required + +```typescript +public readonly value: string; +``` + +- *Type:* 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} + +--- + +##### `id`Optional + +```typescript +public readonly id: string; +``` + +- *Type:* string + +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. + +--- + ### ApiIntegrationConfig #### Initializer @@ -67849,6 +70927,116 @@ If you experience problems setting this value it might not be settable. Please t --- +### DataSnowflakeCurrentRoleConfig + +#### Initializer + +```typescript +import { dataSnowflakeCurrentRole } from '@cdktf/provider-snowflake' + +const dataSnowflakeCurrentRoleConfig: dataSnowflakeCurrentRole.DataSnowflakeCurrentRoleConfig = { ... } +``` + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| connection | cdktf.SSHProvisionerConnection \| cdktf.WinrmProvisionerConnection | *No description.* | +| count | number | *No description.* | +| dependsOn | cdktf.ITerraformDependable[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | +| id | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/current_role#id DataSnowflakeCurrentRole#id}. | + +--- + +##### `connection`Optional + +```typescript +public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection; +``` + +- *Type:* cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: ITerraformDependable[]; +``` + +- *Type:* cdktf.ITerraformDependable[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `provisioners`Optional + +```typescript +public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[]; +``` + +- *Type:* cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] + +--- + +##### `id`Optional + +```typescript +public readonly id: string; +``` + +- *Type:* string + +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. + +--- + ### DataSnowflakeDatabaseConfig #### Initializer @@ -69509,6 +72697,191 @@ const dataSnowflakeMaterializedViewsMaterializedViews: dataSnowflakeMaterialized ``` +### DataSnowflakeParametersConfig + +#### Initializer + +```typescript +import { dataSnowflakeParameters } from '@cdktf/provider-snowflake' + +const dataSnowflakeParametersConfig: dataSnowflakeParameters.DataSnowflakeParametersConfig = { ... } +``` + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| connection | cdktf.SSHProvisionerConnection \| cdktf.WinrmProvisionerConnection | *No description.* | +| count | number | *No description.* | +| dependsOn | cdktf.ITerraformDependable[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | +| id | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/parameters#id DataSnowflakeParameters#id}. | +| objectName | string | If parameter_type is set to "OBJECT" then object_name is the name of the object to display object parameters for. | +| objectType | string | If parameter_type is set to "OBJECT" then object_type is the type of object to display object parameters for. | +| parameterType | string | The type of parameter to filter by. Valid values are: "ACCOUNT", "SESSION", "OBJECT". | +| pattern | string | Allows limiting the list of parameters by name using LIKE clause. | + +--- + +##### `connection`Optional + +```typescript +public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection; +``` + +- *Type:* cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: ITerraformDependable[]; +``` + +- *Type:* cdktf.ITerraformDependable[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `provisioners`Optional + +```typescript +public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[]; +``` + +- *Type:* cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] + +--- + +##### `id`Optional + +```typescript +public readonly id: string; +``` + +- *Type:* string + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/parameters#id DataSnowflakeParameters#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. + +--- + +##### `objectName`Optional + +```typescript +public readonly objectName: string; +``` + +- *Type:* string + +If parameter_type is set to "OBJECT" then object_name is the name of the object to display object parameters for. + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/parameters#object_name DataSnowflakeParameters#object_name} + +--- + +##### `objectType`Optional + +```typescript +public readonly objectType: string; +``` + +- *Type:* string + +If parameter_type is set to "OBJECT" then object_type is the type of object to display object parameters for. + +Valid values are any object supported by the IN clause of the [SHOW PARAMETERS](https://docs.snowflake.com/en/sql-reference/sql/show-parameters.html#parameters) statement, including: WAREHOUSE | DATABASE | SCHEMA | TASK | TABLE + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/parameters#object_type DataSnowflakeParameters#object_type} + +--- + +##### `parameterType`Optional + +```typescript +public readonly parameterType: string; +``` + +- *Type:* string + +The type of parameter to filter by. Valid values are: "ACCOUNT", "SESSION", "OBJECT". + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/parameters#parameter_type DataSnowflakeParameters#parameter_type} + +--- + +##### `pattern`Optional + +```typescript +public readonly pattern: string; +``` + +- *Type:* string + +Allows limiting the list of parameters by name using LIKE clause. + +Refer to [Limiting the List of Parameters by Name](https://docs.snowflake.com/en/sql-reference/parameters.html#limiting-the-list-of-parameters-by-name) + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/parameters#pattern DataSnowflakeParameters#pattern} + +--- + +### DataSnowflakeParametersParameters + +#### Initializer + +```typescript +import { dataSnowflakeParameters } from '@cdktf/provider-snowflake' + +const dataSnowflakeParametersParameters: dataSnowflakeParameters.DataSnowflakeParametersParameters = { ... } +``` + + ### DataSnowflakePipesConfig #### Initializer @@ -77980,6 +81353,238 @@ Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowf --- +### ObjectParameterConfig + +#### Initializer + +```typescript +import { objectParameter } from '@cdktf/provider-snowflake' + +const objectParameterConfig: objectParameter.ObjectParameterConfig = { ... } +``` + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| connection | cdktf.SSHProvisionerConnection \| cdktf.WinrmProvisionerConnection | *No description.* | +| count | number | *No description.* | +| dependsOn | cdktf.ITerraformDependable[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | +| key | string | Name of object parameter. Valid values are those in [object parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#object-parameters). | +| objectIdentifier | cdktf.IResolvable \| @cdktf/provider-snowflake.objectParameter.ObjectParameterObjectIdentifier[] | object_identifier block. | +| objectType | string | Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types). | +| value | string | Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation. | +| id | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#id ObjectParameter#id}. | + +--- + +##### `connection`Optional + +```typescript +public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection; +``` + +- *Type:* cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: ITerraformDependable[]; +``` + +- *Type:* cdktf.ITerraformDependable[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `provisioners`Optional + +```typescript +public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[]; +``` + +- *Type:* cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] + +--- + +##### `key`Required + +```typescript +public readonly key: string; +``` + +- *Type:* string + +Name of object parameter. Valid values are those in [object parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#object-parameters). + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#key ObjectParameter#key} + +--- + +##### `objectIdentifier`Required + +```typescript +public readonly objectIdentifier: IResolvable | ObjectParameterObjectIdentifier[]; +``` + +- *Type:* cdktf.IResolvable | @cdktf/provider-snowflake.objectParameter.ObjectParameterObjectIdentifier[] + +object_identifier block. + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#object_identifier ObjectParameter#object_identifier} + +--- + +##### `objectType`Required + +```typescript +public readonly objectType: string; +``` + +- *Type:* string + +Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types). + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#object_type ObjectParameter#object_type} + +--- + +##### `value`Required + +```typescript +public readonly value: string; +``` + +- *Type:* string + +Value of object 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/object_parameter#value ObjectParameter#value} + +--- + +##### `id`Optional + +```typescript +public readonly id: string; +``` + +- *Type:* string + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#id ObjectParameter#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. + +--- + +### ObjectParameterObjectIdentifier + +#### Initializer + +```typescript +import { objectParameter } from '@cdktf/provider-snowflake' + +const objectParameterObjectIdentifier: objectParameter.ObjectParameterObjectIdentifier = { ... } +``` + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| name | string | Name of the object to set the parameter for. | +| database | string | Name of the database that the object was created in. | +| schema | string | Name of the schema that the object was created in. | + +--- + +##### `name`Required + +```typescript +public readonly name: string; +``` + +- *Type:* string + +Name of the object to set the parameter for. + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#name ObjectParameter#name} + +--- + +##### `database`Optional + +```typescript +public readonly database: string; +``` + +- *Type:* string + +Name of the database that the object was created in. + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#database ObjectParameter#database} + +--- + +##### `schema`Optional + +```typescript +public readonly schema: string; +``` + +- *Type:* string + +Name of the schema that the object was created in. + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#schema ObjectParameter#schema} + +--- + ### PipeConfig #### Initializer @@ -82042,6 +85647,146 @@ Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowf --- +### SessionParameterConfig + +#### Initializer + +```typescript +import { sessionParameter } from '@cdktf/provider-snowflake' + +const sessionParameterConfig: sessionParameter.SessionParameterConfig = { ... } +``` + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| connection | cdktf.SSHProvisionerConnection \| cdktf.WinrmProvisionerConnection | *No description.* | +| count | number | *No description.* | +| dependsOn | cdktf.ITerraformDependable[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | +| key | string | Name of session parameter. Valid values are those in [session parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#session-parameters). | +| value | string | Value of session parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation. | +| id | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/session_parameter#id SessionParameter#id}. | + +--- + +##### `connection`Optional + +```typescript +public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection; +``` + +- *Type:* cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: ITerraformDependable[]; +``` + +- *Type:* cdktf.ITerraformDependable[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `provisioners`Optional + +```typescript +public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[]; +``` + +- *Type:* cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] + +--- + +##### `key`Required + +```typescript +public readonly key: string; +``` + +- *Type:* string + +Name of session parameter. Valid values are those in [session parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#session-parameters). + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/session_parameter#key SessionParameter#key} + +--- + +##### `value`Required + +```typescript +public readonly value: string; +``` + +- *Type:* string + +Value of session 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/session_parameter#value SessionParameter#value} + +--- + +##### `id`Optional + +```typescript +public readonly id: string; +``` + +- *Type:* string + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/session_parameter#id SessionParameter#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. + +--- + ### ShareConfig #### Initializer @@ -82224,13 +85969,13 @@ const snowflakeProviderConfig: provider.SnowflakeProviderConfig = { ... } | oauthEndpoint | string | Required when `oauth_refresh_token` is used. Can be sourced from `SNOWFLAKE_OAUTH_ENDPOINT` environment variable. | | oauthRedirectUrl | string | Required when `oauth_refresh_token` is used. Can be sourced from `SNOWFLAKE_OAUTH_REDIRECT_URL` environment variable. | | oauthRefreshToken | string | Token for use with OAuth. | -| password | string | Password for username+password auth. Cannot be used with `browser_auth` or `private_key_path`. Can be source from `SNOWFLAKE_PASSWORD` environment variable. | +| password | string | Password for username+password auth. Cannot be used with `browser_auth` or `private_key_path`. Can be sourced from `SNOWFLAKE_PASSWORD` environment variable. | | port | number | Support custom port values to snowflake go driver for use with privatelink. Can be sourced from `SNOWFLAKE_PORT` environment variable. | -| privateKey | string | Private Key for username+private-key auth. Cannot be used with `browser_auth` or `password`. Can be source from `SNOWFLAKE_PRIVATE_KEY` environment variable. | +| privateKey | string | Private Key for username+private-key auth. Cannot be used with `browser_auth` or `password`. Can be sourced from `SNOWFLAKE_PRIVATE_KEY` environment variable. | | privateKeyPassphrase | string | Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. | | privateKeyPath | string | Path to a private key for using keypair authentication. | | protocol | string | Support custom protocols to snowflake go driver. Can be sourced from `SNOWFLAKE_PROTOCOL` environment variable. | -| region | string | [Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Can be source from the `SNOWFLAKE_REGION` environment variable. | +| region | string | [Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy format for the `account` identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region) in the form of `.`. Can be sourced from the `SNOWFLAKE_REGION` environment variable. | | role | string | Snowflake role to use for operations. | | warehouse | string | Sets the default warehouse. Optional. Can be sourced from SNOWFLAKE_WAREHOUSE environment variable. | @@ -82402,7 +86147,7 @@ public readonly password: string; - *Type:* string -Password for username+password auth. Cannot be used with `browser_auth` or `private_key_path`. Can be source from `SNOWFLAKE_PASSWORD` environment variable. +Password for username+password auth. Cannot be used with `browser_auth` or `private_key_path`. Can be sourced from `SNOWFLAKE_PASSWORD` environment variable. Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake#password SnowflakeProvider#password} @@ -82430,7 +86175,7 @@ public readonly privateKey: string; - *Type:* string -Private Key for username+private-key auth. Cannot be used with `browser_auth` or `password`. Can be source from `SNOWFLAKE_PRIVATE_KEY` environment variable. +Private Key for username+private-key auth. Cannot be used with `browser_auth` or `password`. Can be sourced from `SNOWFLAKE_PRIVATE_KEY` environment variable. Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake#private_key SnowflakeProvider#private_key} @@ -82460,7 +86205,7 @@ public readonly privateKeyPath: string; Path to a private key for using keypair authentication. -Cannot be used with `browser_auth`, `oauth_access_token` or `password`. Can be source from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable. +Cannot be used with `browser_auth`, `oauth_access_token` or `password`. Can be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable. Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake#private_key_path SnowflakeProvider#private_key_path} @@ -82488,7 +86233,7 @@ public readonly region: string; - *Type:* string -[Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Can be source from the `SNOWFLAKE_REGION` environment variable. +[Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy format for the `account` identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region) in the form of `.`. Can be sourced from the `SNOWFLAKE_REGION` environment variable. Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake#region SnowflakeProvider#region} @@ -82504,7 +86249,7 @@ public readonly role: string; Snowflake role to use for operations. -If left unset, default role for user will be used. Can come from the `SNOWFLAKE_ROLE` environment variable. +If left unset, default role for user will be used. Can be sourced from the `SNOWFLAKE_ROLE` environment variable. Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake#role SnowflakeProvider#role} @@ -95568,6 +99313,471 @@ public readonly internalValue: DataSnowflakeMaterializedViewsMaterializedViews; --- +### DataSnowflakeParametersParametersList + +#### Initializers + +```typescript +import { dataSnowflakeParameters } from '@cdktf/provider-snowflake' + +new dataSnowflakeParameters.DataSnowflakeParametersParametersList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) +``` + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| terraformResource | cdktf.IInterpolatingParent | The parent resource. | +| terraformAttribute | string | The attribute on the parent resource this class is referencing. | +| wrapsSet | boolean | whether the list is wrapping a set (will add tolist() to be able to access an item via an index). | + +--- + +##### `terraformResource`Required + +- *Type:* cdktf.IInterpolatingParent + +The parent resource. + +--- + +##### `terraformAttribute`Required + +- *Type:* string + +The attribute on the parent resource this class is referencing. + +--- + +##### `wrapsSet`Required + +- *Type:* boolean + +whether the list is wrapping a set (will add tolist() to be able to access an item via an index). + +--- + +#### Methods + +| **Name** | **Description** | +| --- | --- | +| computeFqn | *No description.* | +| resolve | Produce the Token's value at resolution time. | +| toString | Return a string representation of this resolvable object. | +| get | *No description.* | + +--- + +##### `computeFqn` + +```typescript +public computeFqn(): string +``` + +##### `resolve` + +```typescript +public resolve(_context: IResolveContext): any +``` + +Produce the Token's value at resolution time. + +###### `_context`Required + +- *Type:* cdktf.IResolveContext + +--- + +##### `toString` + +```typescript +public toString(): string +``` + +Return a string representation of this resolvable object. + +Returns a reversible string representation. + +##### `get` + +```typescript +public get(index: number): DataSnowflakeParametersParametersOutputReference +``` + +###### `index`Required + +- *Type:* number + +the index of the item to return. + +--- + + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| creationStack | string[] | The creation stack of this resolvable which will be appended to errors thrown during resolution. | +| fqn | string | *No description.* | + +--- + +##### `creationStack`Required + +```typescript +public readonly creationStack: string[]; +``` + +- *Type:* string[] + +The creation stack of this resolvable which will be appended to errors thrown during resolution. + +If this returns an empty array the stack will not be attached. + +--- + +##### `fqn`Required + +```typescript +public readonly fqn: string; +``` + +- *Type:* string + +--- + + +### DataSnowflakeParametersParametersOutputReference + +#### Initializers + +```typescript +import { dataSnowflakeParameters } from '@cdktf/provider-snowflake' + +new dataSnowflakeParameters.DataSnowflakeParametersParametersOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean) +``` + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| terraformResource | cdktf.IInterpolatingParent | The parent resource. | +| terraformAttribute | string | The attribute on the parent resource this class is referencing. | +| complexObjectIndex | number | the index of this item in the list. | +| complexObjectIsFromSet | boolean | whether the list is wrapping a set (will add tolist() to be able to access an item via an index). | + +--- + +##### `terraformResource`Required + +- *Type:* cdktf.IInterpolatingParent + +The parent resource. + +--- + +##### `terraformAttribute`Required + +- *Type:* string + +The attribute on the parent resource this class is referencing. + +--- + +##### `complexObjectIndex`Required + +- *Type:* number + +the index of this item in the list. + +--- + +##### `complexObjectIsFromSet`Required + +- *Type:* boolean + +whether the list is wrapping a set (will add tolist() to be able to access an item via an index). + +--- + +#### Methods + +| **Name** | **Description** | +| --- | --- | +| computeFqn | *No description.* | +| getAnyMapAttribute | *No description.* | +| getBooleanAttribute | *No description.* | +| getBooleanMapAttribute | *No description.* | +| getListAttribute | *No description.* | +| getNumberAttribute | *No description.* | +| getNumberListAttribute | *No description.* | +| getNumberMapAttribute | *No description.* | +| getStringAttribute | *No description.* | +| getStringMapAttribute | *No description.* | +| interpolationForAttribute | *No description.* | +| resolve | Produce the Token's value at resolution time. | +| toString | Return a string representation of this resolvable object. | + +--- + +##### `computeFqn` + +```typescript +public computeFqn(): string +``` + +##### `getAnyMapAttribute` + +```typescript +public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanAttribute` + +```typescript +public getBooleanAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanMapAttribute` + +```typescript +public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getListAttribute` + +```typescript +public getListAttribute(terraformAttribute: string): string[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberAttribute` + +```typescript +public getNumberAttribute(terraformAttribute: string): number +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberListAttribute` + +```typescript +public getNumberListAttribute(terraformAttribute: string): number[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberMapAttribute` + +```typescript +public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringAttribute` + +```typescript +public getStringAttribute(terraformAttribute: string): string +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringMapAttribute` + +```typescript +public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `interpolationForAttribute` + +```typescript +public interpolationForAttribute(property: string): IResolvable +``` + +###### `property`Required + +- *Type:* string + +--- + +##### `resolve` + +```typescript +public resolve(_context: IResolveContext): any +``` + +Produce the Token's value at resolution time. + +###### `_context`Required + +- *Type:* cdktf.IResolveContext + +--- + +##### `toString` + +```typescript +public toString(): string +``` + +Return a string representation of this resolvable object. + +Returns a reversible string representation. + + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| creationStack | string[] | The creation stack of this resolvable which will be appended to errors thrown during resolution. | +| fqn | string | *No description.* | +| default | string | *No description.* | +| description | string | *No description.* | +| key | string | *No description.* | +| level | string | *No description.* | +| type | string | *No description.* | +| value | string | *No description.* | +| internalValue | @cdktf/provider-snowflake.dataSnowflakeParameters.DataSnowflakeParametersParameters | *No description.* | + +--- + +##### `creationStack`Required + +```typescript +public readonly creationStack: string[]; +``` + +- *Type:* string[] + +The creation stack of this resolvable which will be appended to errors thrown during resolution. + +If this returns an empty array the stack will not be attached. + +--- + +##### `fqn`Required + +```typescript +public readonly fqn: string; +``` + +- *Type:* string + +--- + +##### `default`Required + +```typescript +public readonly default: string; +``` + +- *Type:* string + +--- + +##### `description`Required + +```typescript +public readonly description: string; +``` + +- *Type:* string + +--- + +##### `key`Required + +```typescript +public readonly key: string; +``` + +- *Type:* string + +--- + +##### `level`Required + +```typescript +public readonly level: string; +``` + +- *Type:* string + +--- + +##### `type`Required + +```typescript +public readonly type: string; +``` + +- *Type:* string + +--- + +##### `value`Required + +```typescript +public readonly value: string; +``` + +- *Type:* string + +--- + +##### `internalValue`Optional + +```typescript +public readonly internalValue: DataSnowflakeParametersParameters; +``` + +- *Type:* @cdktf/provider-snowflake.dataSnowflakeParameters.DataSnowflakeParametersParameters + +--- + + ### DataSnowflakePipesPipesList #### Initializers @@ -106622,6 +110832,496 @@ public readonly internalValue: MaterializedViewTag | IResolvable; --- +### ObjectParameterObjectIdentifierList + +#### Initializers + +```typescript +import { objectParameter } from '@cdktf/provider-snowflake' + +new objectParameter.ObjectParameterObjectIdentifierList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) +``` + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| terraformResource | cdktf.IInterpolatingParent | The parent resource. | +| terraformAttribute | string | The attribute on the parent resource this class is referencing. | +| wrapsSet | boolean | whether the list is wrapping a set (will add tolist() to be able to access an item via an index). | + +--- + +##### `terraformResource`Required + +- *Type:* cdktf.IInterpolatingParent + +The parent resource. + +--- + +##### `terraformAttribute`Required + +- *Type:* string + +The attribute on the parent resource this class is referencing. + +--- + +##### `wrapsSet`Required + +- *Type:* boolean + +whether the list is wrapping a set (will add tolist() to be able to access an item via an index). + +--- + +#### Methods + +| **Name** | **Description** | +| --- | --- | +| computeFqn | *No description.* | +| resolve | Produce the Token's value at resolution time. | +| toString | Return a string representation of this resolvable object. | +| get | *No description.* | + +--- + +##### `computeFqn` + +```typescript +public computeFqn(): string +``` + +##### `resolve` + +```typescript +public resolve(_context: IResolveContext): any +``` + +Produce the Token's value at resolution time. + +###### `_context`Required + +- *Type:* cdktf.IResolveContext + +--- + +##### `toString` + +```typescript +public toString(): string +``` + +Return a string representation of this resolvable object. + +Returns a reversible string representation. + +##### `get` + +```typescript +public get(index: number): ObjectParameterObjectIdentifierOutputReference +``` + +###### `index`Required + +- *Type:* number + +the index of the item to return. + +--- + + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| creationStack | string[] | The creation stack of this resolvable which will be appended to errors thrown during resolution. | +| fqn | string | *No description.* | +| internalValue | cdktf.IResolvable \| @cdktf/provider-snowflake.objectParameter.ObjectParameterObjectIdentifier[] | *No description.* | + +--- + +##### `creationStack`Required + +```typescript +public readonly creationStack: string[]; +``` + +- *Type:* string[] + +The creation stack of this resolvable which will be appended to errors thrown during resolution. + +If this returns an empty array the stack will not be attached. + +--- + +##### `fqn`Required + +```typescript +public readonly fqn: string; +``` + +- *Type:* string + +--- + +##### `internalValue`Optional + +```typescript +public readonly internalValue: IResolvable | ObjectParameterObjectIdentifier[]; +``` + +- *Type:* cdktf.IResolvable | @cdktf/provider-snowflake.objectParameter.ObjectParameterObjectIdentifier[] + +--- + + +### ObjectParameterObjectIdentifierOutputReference + +#### Initializers + +```typescript +import { objectParameter } from '@cdktf/provider-snowflake' + +new objectParameter.ObjectParameterObjectIdentifierOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean) +``` + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| terraformResource | cdktf.IInterpolatingParent | The parent resource. | +| terraformAttribute | string | The attribute on the parent resource this class is referencing. | +| complexObjectIndex | number | the index of this item in the list. | +| complexObjectIsFromSet | boolean | whether the list is wrapping a set (will add tolist() to be able to access an item via an index). | + +--- + +##### `terraformResource`Required + +- *Type:* cdktf.IInterpolatingParent + +The parent resource. + +--- + +##### `terraformAttribute`Required + +- *Type:* string + +The attribute on the parent resource this class is referencing. + +--- + +##### `complexObjectIndex`Required + +- *Type:* number + +the index of this item in the list. + +--- + +##### `complexObjectIsFromSet`Required + +- *Type:* boolean + +whether the list is wrapping a set (will add tolist() to be able to access an item via an index). + +--- + +#### Methods + +| **Name** | **Description** | +| --- | --- | +| computeFqn | *No description.* | +| getAnyMapAttribute | *No description.* | +| getBooleanAttribute | *No description.* | +| getBooleanMapAttribute | *No description.* | +| getListAttribute | *No description.* | +| getNumberAttribute | *No description.* | +| getNumberListAttribute | *No description.* | +| getNumberMapAttribute | *No description.* | +| getStringAttribute | *No description.* | +| getStringMapAttribute | *No description.* | +| interpolationForAttribute | *No description.* | +| resolve | Produce the Token's value at resolution time. | +| toString | Return a string representation of this resolvable object. | +| resetDatabase | *No description.* | +| resetSchema | *No description.* | + +--- + +##### `computeFqn` + +```typescript +public computeFqn(): string +``` + +##### `getAnyMapAttribute` + +```typescript +public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanAttribute` + +```typescript +public getBooleanAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanMapAttribute` + +```typescript +public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getListAttribute` + +```typescript +public getListAttribute(terraformAttribute: string): string[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberAttribute` + +```typescript +public getNumberAttribute(terraformAttribute: string): number +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberListAttribute` + +```typescript +public getNumberListAttribute(terraformAttribute: string): number[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberMapAttribute` + +```typescript +public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringAttribute` + +```typescript +public getStringAttribute(terraformAttribute: string): string +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringMapAttribute` + +```typescript +public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `interpolationForAttribute` + +```typescript +public interpolationForAttribute(property: string): IResolvable +``` + +###### `property`Required + +- *Type:* string + +--- + +##### `resolve` + +```typescript +public resolve(_context: IResolveContext): any +``` + +Produce the Token's value at resolution time. + +###### `_context`Required + +- *Type:* cdktf.IResolveContext + +--- + +##### `toString` + +```typescript +public toString(): string +``` + +Return a string representation of this resolvable object. + +Returns a reversible string representation. + +##### `resetDatabase` + +```typescript +public resetDatabase(): void +``` + +##### `resetSchema` + +```typescript +public resetSchema(): void +``` + + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| creationStack | string[] | The creation stack of this resolvable which will be appended to errors thrown during resolution. | +| fqn | string | *No description.* | +| databaseInput | string | *No description.* | +| nameInput | string | *No description.* | +| schemaInput | string | *No description.* | +| database | string | *No description.* | +| name | string | *No description.* | +| schema | string | *No description.* | +| internalValue | @cdktf/provider-snowflake.objectParameter.ObjectParameterObjectIdentifier \| cdktf.IResolvable | *No description.* | + +--- + +##### `creationStack`Required + +```typescript +public readonly creationStack: string[]; +``` + +- *Type:* string[] + +The creation stack of this resolvable which will be appended to errors thrown during resolution. + +If this returns an empty array the stack will not be attached. + +--- + +##### `fqn`Required + +```typescript +public readonly fqn: string; +``` + +- *Type:* string + +--- + +##### `databaseInput`Optional + +```typescript +public readonly databaseInput: string; +``` + +- *Type:* string + +--- + +##### `nameInput`Optional + +```typescript +public readonly nameInput: string; +``` + +- *Type:* string + +--- + +##### `schemaInput`Optional + +```typescript +public readonly schemaInput: string; +``` + +- *Type:* string + +--- + +##### `database`Required + +```typescript +public readonly database: string; +``` + +- *Type:* string + +--- + +##### `name`Required + +```typescript +public readonly name: string; +``` + +- *Type:* string + +--- + +##### `schema`Required + +```typescript +public readonly schema: string; +``` + +- *Type:* string + +--- + +##### `internalValue`Optional + +```typescript +public readonly internalValue: ObjectParameterObjectIdentifier | IResolvable; +``` + +- *Type:* @cdktf/provider-snowflake.objectParameter.ObjectParameterObjectIdentifier | cdktf.IResolvable + +--- + + ### ProcedureArgumentsList #### Initializers diff --git a/package.json b/package.json index dd851790a..c3ab9b615 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "jsii-pacmak": "^1.72.0", "node-fetch": "cjs", "npm-check-updates": "^16", - "projen": "^0.65.79", + "projen": "^0.65.80", "standard-version": "^9", "typescript": "^4.9.4" }, @@ -149,7 +149,7 @@ "cdktf": { "provider": { "name": "registry.terraform.io/snowflake-labs/snowflake", - "version": "0.53.0" + "version": "0.54.0" } }, "resolutions": { diff --git a/src/account-grant/index.ts b/src/account-grant/index.ts index 28cd647a8..18851de12 100644 --- a/src/account-grant/index.ts +++ b/src/account-grant/index.ts @@ -21,7 +21,7 @@ export interface AccountGrantConfig extends cdktf.TerraformMetaArguments { */ readonly id?: string; /** - * The privilege to grant on the account. + * The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html) * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/account_grant#privilege AccountGrant#privilege} */ @@ -66,7 +66,7 @@ export class AccountGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_account_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/account-parameter/README.md b/src/account-parameter/README.md new file mode 100644 index 000000000..eae092c14 --- /dev/null +++ b/src/account-parameter/README.md @@ -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). diff --git a/src/account-parameter/index.ts b/src/account-parameter/index.ts new file mode 100644 index 000000000..dde8f18e7 --- /dev/null +++ b/src/account-parameter/index.ts @@ -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), + }; + } +} diff --git a/src/api-integration/index.ts b/src/api-integration/index.ts index 204e7ccfb..dbc1b538f 100644 --- a/src/api-integration/index.ts +++ b/src/api-integration/index.ts @@ -96,7 +96,7 @@ export class ApiIntegration extends cdktf.TerraformResource { terraformResourceType: 'snowflake_api_integration', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-current-account/index.ts b/src/data-snowflake-current-account/index.ts index 60d513221..3cb78065a 100644 --- a/src/data-snowflake-current-account/index.ts +++ b/src/data-snowflake-current-account/index.ts @@ -42,7 +42,7 @@ export class DataSnowflakeCurrentAccount extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_current_account', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-current-role/README.md b/src/data-snowflake-current-role/README.md new file mode 100644 index 000000000..13387e9eb --- /dev/null +++ b/src/data-snowflake-current-role/README.md @@ -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). diff --git a/src/data-snowflake-current-role/index.ts b/src/data-snowflake-current-role/index.ts new file mode 100644 index 000000000..682cf26bd --- /dev/null +++ b/src/data-snowflake-current-role/index.ts @@ -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), + }; + } +} diff --git a/src/data-snowflake-database/index.ts b/src/data-snowflake-database/index.ts index ccd6c2e90..53a73badf 100644 --- a/src/data-snowflake-database/index.ts +++ b/src/data-snowflake-database/index.ts @@ -48,7 +48,7 @@ export class DataSnowflakeDatabase extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_database', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-databases/index.ts b/src/data-snowflake-databases/index.ts index 26c57dfa2..8068734a4 100644 --- a/src/data-snowflake-databases/index.ts +++ b/src/data-snowflake-databases/index.ts @@ -221,7 +221,7 @@ export class DataSnowflakeDatabases extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_databases', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-external-functions/index.ts b/src/data-snowflake-external-functions/index.ts index 18d0fdec4..a296e2b52 100644 --- a/src/data-snowflake-external-functions/index.ts +++ b/src/data-snowflake-external-functions/index.ts @@ -138,7 +138,7 @@ export class DataSnowflakeExternalFunctions extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_external_functions', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-external-tables/index.ts b/src/data-snowflake-external-tables/index.ts index edfdaa53a..0a4a421d8 100644 --- a/src/data-snowflake-external-tables/index.ts +++ b/src/data-snowflake-external-tables/index.ts @@ -133,7 +133,7 @@ export class DataSnowflakeExternalTables extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_external_tables', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-file-formats/index.ts b/src/data-snowflake-file-formats/index.ts index f0b0b4771..b421ac05d 100644 --- a/src/data-snowflake-file-formats/index.ts +++ b/src/data-snowflake-file-formats/index.ts @@ -138,7 +138,7 @@ export class DataSnowflakeFileFormats extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_file_formats', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-functions/index.ts b/src/data-snowflake-functions/index.ts index ea8dafc8f..b567183d3 100644 --- a/src/data-snowflake-functions/index.ts +++ b/src/data-snowflake-functions/index.ts @@ -143,7 +143,7 @@ export class DataSnowflakeFunctions extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_functions', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-grants/index.ts b/src/data-snowflake-grants/index.ts index d79b83e14..eca6d08d4 100644 --- a/src/data-snowflake-grants/index.ts +++ b/src/data-snowflake-grants/index.ts @@ -770,7 +770,7 @@ export class DataSnowflakeGrants extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_grants', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-masking-policies/index.ts b/src/data-snowflake-masking-policies/index.ts index 0eaf14d3c..e9c13427c 100644 --- a/src/data-snowflake-masking-policies/index.ts +++ b/src/data-snowflake-masking-policies/index.ts @@ -138,7 +138,7 @@ export class DataSnowflakeMaskingPolicies extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_masking_policies', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-materialized-views/index.ts b/src/data-snowflake-materialized-views/index.ts index 048556c08..f96c6b39d 100644 --- a/src/data-snowflake-materialized-views/index.ts +++ b/src/data-snowflake-materialized-views/index.ts @@ -133,7 +133,7 @@ export class DataSnowflakeMaterializedViews extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_materialized_views', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-parameters/README.md b/src/data-snowflake-parameters/README.md new file mode 100644 index 000000000..0dae71c0d --- /dev/null +++ b/src/data-snowflake-parameters/README.md @@ -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). diff --git a/src/data-snowflake-parameters/index.ts b/src/data-snowflake-parameters/index.ts new file mode 100644 index 000000000..ce302eace --- /dev/null +++ b/src/data-snowflake-parameters/index.ts @@ -0,0 +1,279 @@ +// https://www.terraform.io/docs/providers/snowflake/d/parameters +// generated from terraform resource schema + +import { Construct } from 'constructs'; +import * as cdktf from 'cdktf'; + +// Configuration + +export interface DataSnowflakeParametersConfig extends cdktf.TerraformMetaArguments { + /** + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/parameters#id DataSnowflakeParameters#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; + /** + * If parameter_type is set to "OBJECT" then object_name is the name of the object to display object parameters for. + * + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/parameters#object_name DataSnowflakeParameters#object_name} + */ + readonly objectName?: string; + /** + * If parameter_type is set to "OBJECT" then object_type is the type of object to display object parameters for. Valid values are any object supported by the IN clause of the [SHOW PARAMETERS](https://docs.snowflake.com/en/sql-reference/sql/show-parameters.html#parameters) statement, including: WAREHOUSE | DATABASE | SCHEMA | TASK | TABLE + * + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/parameters#object_type DataSnowflakeParameters#object_type} + */ + readonly objectType?: string; + /** + * The type of parameter to filter by. Valid values are: "ACCOUNT", "SESSION", "OBJECT". + * + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/parameters#parameter_type DataSnowflakeParameters#parameter_type} + */ + readonly parameterType?: string; + /** + * Allows limiting the list of parameters by name using LIKE clause. Refer to [Limiting the List of Parameters by Name](https://docs.snowflake.com/en/sql-reference/parameters.html#limiting-the-list-of-parameters-by-name) + * + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/parameters#pattern DataSnowflakeParameters#pattern} + */ + readonly pattern?: string; +} +export interface DataSnowflakeParametersParameters { +} + +export function dataSnowflakeParametersParametersToTerraform(struct?: DataSnowflakeParametersParameters): any { + if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } + if (cdktf.isComplexElement(struct)) { + throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); + } + return { + } +} + +export class DataSnowflakeParametersParametersOutputReference extends cdktf.ComplexObject { + private isEmptyObject = false; + + /** + * @param terraformResource The parent resource + * @param terraformAttribute The attribute on the parent resource this class is referencing + * @param complexObjectIndex the index of this item in the list + * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) + */ + public constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean) { + super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); + } + + public get internalValue(): DataSnowflakeParametersParameters | undefined { + let hasAnyValues = this.isEmptyObject; + const internalValueResult: any = {}; + return hasAnyValues ? internalValueResult : undefined; + } + + public set internalValue(value: DataSnowflakeParametersParameters | undefined) { + if (value === undefined) { + this.isEmptyObject = false; + } + else { + this.isEmptyObject = Object.keys(value).length === 0; + } + } + + // default - computed: true, optional: false, required: false + public get default() { + return this.getStringAttribute('default'); + } + + // description - computed: true, optional: false, required: false + public get description() { + return this.getStringAttribute('description'); + } + + // key - computed: true, optional: false, required: false + public get key() { + return this.getStringAttribute('key'); + } + + // level - computed: true, optional: false, required: false + public get level() { + return this.getStringAttribute('level'); + } + + // type - computed: true, optional: false, required: false + public get type() { + return this.getStringAttribute('type'); + } + + // value - computed: true, optional: false, required: false + public get value() { + return this.getStringAttribute('value'); + } +} + +export class DataSnowflakeParametersParametersList extends cdktf.ComplexList { + + /** + * @param terraformResource The parent resource + * @param terraformAttribute The attribute on the parent resource this class is referencing + * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) + */ + constructor(protected terraformResource: cdktf.IInterpolatingParent, protected terraformAttribute: string, protected wrapsSet: boolean) { + super(terraformResource, terraformAttribute, wrapsSet) + } + + /** + * @param index the index of the item to return + */ + public get(index: number): DataSnowflakeParametersParametersOutputReference { + return new DataSnowflakeParametersParametersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); + } +} + +/** +* Represents a {@link https://www.terraform.io/docs/providers/snowflake/d/parameters snowflake_parameters} +*/ +export class DataSnowflakeParameters extends cdktf.TerraformDataSource { + + // ================= + // STATIC PROPERTIES + // ================= + public static readonly tfResourceType = "snowflake_parameters"; + + // =========== + // INITIALIZER + // =========== + + /** + * Create a new {@link https://www.terraform.io/docs/providers/snowflake/d/parameters snowflake_parameters} 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 DataSnowflakeParametersConfig = {} + */ + public constructor(scope: Construct, id: string, config: DataSnowflakeParametersConfig = {}) { + super(scope, id, { + terraformResourceType: 'snowflake_parameters', + 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._objectName = config.objectName; + this._objectType = config.objectType; + this._parameterType = config.parameterType; + this._pattern = config.pattern; + } + + // ========== + // 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; + } + + // object_name - computed: false, optional: true, required: false + private _objectName?: string; + public get objectName() { + return this.getStringAttribute('object_name'); + } + public set objectName(value: string) { + this._objectName = value; + } + public resetObjectName() { + this._objectName = undefined; + } + // Temporarily expose input value. Use with caution. + public get objectNameInput() { + return this._objectName; + } + + // object_type - computed: false, optional: true, required: false + private _objectType?: string; + public get objectType() { + return this.getStringAttribute('object_type'); + } + public set objectType(value: string) { + this._objectType = value; + } + public resetObjectType() { + this._objectType = undefined; + } + // Temporarily expose input value. Use with caution. + public get objectTypeInput() { + return this._objectType; + } + + // parameter_type - computed: false, optional: true, required: false + private _parameterType?: string; + public get parameterType() { + return this.getStringAttribute('parameter_type'); + } + public set parameterType(value: string) { + this._parameterType = value; + } + public resetParameterType() { + this._parameterType = undefined; + } + // Temporarily expose input value. Use with caution. + public get parameterTypeInput() { + return this._parameterType; + } + + // parameters - computed: true, optional: false, required: false + private _parameters = new DataSnowflakeParametersParametersList(this, "parameters", false); + public get parameters() { + return this._parameters; + } + + // pattern - computed: false, optional: true, required: false + private _pattern?: string; + public get pattern() { + return this.getStringAttribute('pattern'); + } + public set pattern(value: string) { + this._pattern = value; + } + public resetPattern() { + this._pattern = undefined; + } + // Temporarily expose input value. Use with caution. + public get patternInput() { + return this._pattern; + } + + // ========= + // SYNTHESIS + // ========= + + protected synthesizeAttributes(): { [name: string]: any } { + return { + id: cdktf.stringToTerraform(this._id), + object_name: cdktf.stringToTerraform(this._objectName), + object_type: cdktf.stringToTerraform(this._objectType), + parameter_type: cdktf.stringToTerraform(this._parameterType), + pattern: cdktf.stringToTerraform(this._pattern), + }; + } +} diff --git a/src/data-snowflake-pipes/index.ts b/src/data-snowflake-pipes/index.ts index 608aeb7e8..8ab3384a6 100644 --- a/src/data-snowflake-pipes/index.ts +++ b/src/data-snowflake-pipes/index.ts @@ -138,7 +138,7 @@ export class DataSnowflakePipes extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_pipes', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-procedures/index.ts b/src/data-snowflake-procedures/index.ts index 98c8c3bb5..e47e3d830 100644 --- a/src/data-snowflake-procedures/index.ts +++ b/src/data-snowflake-procedures/index.ts @@ -143,7 +143,7 @@ export class DataSnowflakeProcedures extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_procedures', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-resource-monitors/index.ts b/src/data-snowflake-resource-monitors/index.ts index a3b7bc425..680812174 100644 --- a/src/data-snowflake-resource-monitors/index.ts +++ b/src/data-snowflake-resource-monitors/index.ts @@ -121,7 +121,7 @@ export class DataSnowflakeResourceMonitors extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_resource_monitors', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-role/index.ts b/src/data-snowflake-role/index.ts index 556eeac60..e21c462cb 100644 --- a/src/data-snowflake-role/index.ts +++ b/src/data-snowflake-role/index.ts @@ -48,7 +48,7 @@ export class DataSnowflakeRole extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_role', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-roles/index.ts b/src/data-snowflake-roles/index.ts index 9b8f0e71b..ca2ee9964 100644 --- a/src/data-snowflake-roles/index.ts +++ b/src/data-snowflake-roles/index.ts @@ -122,7 +122,7 @@ export class DataSnowflakeRoles extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_roles', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-row-access-policies/index.ts b/src/data-snowflake-row-access-policies/index.ts index 1b699966e..90a02e37f 100644 --- a/src/data-snowflake-row-access-policies/index.ts +++ b/src/data-snowflake-row-access-policies/index.ts @@ -133,7 +133,7 @@ export class DataSnowflakeRowAccessPolicies extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_row_access_policies', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-schemas/index.ts b/src/data-snowflake-schemas/index.ts index 249a0a225..c7ebc4518 100644 --- a/src/data-snowflake-schemas/index.ts +++ b/src/data-snowflake-schemas/index.ts @@ -122,7 +122,7 @@ export class DataSnowflakeSchemas extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_schemas', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-sequences/index.ts b/src/data-snowflake-sequences/index.ts index 35c7d55ad..53fcea85d 100644 --- a/src/data-snowflake-sequences/index.ts +++ b/src/data-snowflake-sequences/index.ts @@ -133,7 +133,7 @@ export class DataSnowflakeSequences extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_sequences', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-stages/index.ts b/src/data-snowflake-stages/index.ts index 457a97189..c503c6466 100644 --- a/src/data-snowflake-stages/index.ts +++ b/src/data-snowflake-stages/index.ts @@ -138,7 +138,7 @@ export class DataSnowflakeStages extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_stages', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-storage-integrations/index.ts b/src/data-snowflake-storage-integrations/index.ts index 0182cb2db..4fb62f8a9 100644 --- a/src/data-snowflake-storage-integrations/index.ts +++ b/src/data-snowflake-storage-integrations/index.ts @@ -121,7 +121,7 @@ export class DataSnowflakeStorageIntegrations extends cdktf.TerraformDataSource terraformResourceType: 'snowflake_storage_integrations', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-streams/index.ts b/src/data-snowflake-streams/index.ts index f20a7bf94..ad30b425a 100644 --- a/src/data-snowflake-streams/index.ts +++ b/src/data-snowflake-streams/index.ts @@ -138,7 +138,7 @@ export class DataSnowflakeStreams extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_streams', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-system-generate-scim-access-token/index.ts b/src/data-snowflake-system-generate-scim-access-token/index.ts index df162aba1..16a1cacd4 100644 --- a/src/data-snowflake-system-generate-scim-access-token/index.ts +++ b/src/data-snowflake-system-generate-scim-access-token/index.ts @@ -48,7 +48,7 @@ export class DataSnowflakeSystemGenerateScimAccessToken extends cdktf.TerraformD terraformResourceType: 'snowflake_system_generate_scim_access_token', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-system-get-aws-sns-iam-policy/index.ts b/src/data-snowflake-system-get-aws-sns-iam-policy/index.ts index b8ed2d2bf..5a289d87b 100644 --- a/src/data-snowflake-system-get-aws-sns-iam-policy/index.ts +++ b/src/data-snowflake-system-get-aws-sns-iam-policy/index.ts @@ -48,7 +48,7 @@ export class DataSnowflakeSystemGetAwsSnsIamPolicy extends cdktf.TerraformDataSo terraformResourceType: 'snowflake_system_get_aws_sns_iam_policy', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-system-get-privatelink-config/index.ts b/src/data-snowflake-system-get-privatelink-config/index.ts index 291cb6b1f..fe6281ce6 100644 --- a/src/data-snowflake-system-get-privatelink-config/index.ts +++ b/src/data-snowflake-system-get-privatelink-config/index.ts @@ -42,7 +42,7 @@ export class DataSnowflakeSystemGetPrivatelinkConfig extends cdktf.TerraformData terraformResourceType: 'snowflake_system_get_privatelink_config', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-system-get-snowflake-platform-info/index.ts b/src/data-snowflake-system-get-snowflake-platform-info/index.ts index 691ae7953..4ffa980e7 100644 --- a/src/data-snowflake-system-get-snowflake-platform-info/index.ts +++ b/src/data-snowflake-system-get-snowflake-platform-info/index.ts @@ -42,7 +42,7 @@ export class DataSnowflakeSystemGetSnowflakePlatformInfo extends cdktf.Terraform terraformResourceType: 'snowflake_system_get_snowflake_platform_info', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-tables/index.ts b/src/data-snowflake-tables/index.ts index 8bb7f073b..7802d9420 100644 --- a/src/data-snowflake-tables/index.ts +++ b/src/data-snowflake-tables/index.ts @@ -133,7 +133,7 @@ export class DataSnowflakeTables extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_tables', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-tasks/index.ts b/src/data-snowflake-tasks/index.ts index 23317cb0b..f81d19604 100644 --- a/src/data-snowflake-tasks/index.ts +++ b/src/data-snowflake-tasks/index.ts @@ -138,7 +138,7 @@ export class DataSnowflakeTasks extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_tasks', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-users/index.ts b/src/data-snowflake-users/index.ts index eb2af1479..00d404cbb 100644 --- a/src/data-snowflake-users/index.ts +++ b/src/data-snowflake-users/index.ts @@ -172,7 +172,7 @@ export class DataSnowflakeUsers extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_users', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-views/index.ts b/src/data-snowflake-views/index.ts index bba8473cc..5d20fe70d 100644 --- a/src/data-snowflake-views/index.ts +++ b/src/data-snowflake-views/index.ts @@ -133,7 +133,7 @@ export class DataSnowflakeViews extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_views', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/data-snowflake-warehouses/index.ts b/src/data-snowflake-warehouses/index.ts index c57da6fb1..749f9b528 100644 --- a/src/data-snowflake-warehouses/index.ts +++ b/src/data-snowflake-warehouses/index.ts @@ -131,7 +131,7 @@ export class DataSnowflakeWarehouses extends cdktf.TerraformDataSource { terraformResourceType: 'snowflake_warehouses', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/database-grant/index.ts b/src/database-grant/index.ts index ef208a12c..5162897f0 100644 --- a/src/database-grant/index.ts +++ b/src/database-grant/index.ts @@ -78,7 +78,7 @@ export class DatabaseGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_database_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/database/index.ts b/src/database/index.ts index 1f4463131..dcd5dfb1c 100644 --- a/src/database/index.ts +++ b/src/database/index.ts @@ -361,7 +361,7 @@ export class Database extends cdktf.TerraformResource { terraformResourceType: 'snowflake_database', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/external-function/index.ts b/src/external-function/index.ts index 08f079943..7d17bb407 100644 --- a/src/external-function/index.ts +++ b/src/external-function/index.ts @@ -376,7 +376,7 @@ export class ExternalFunction extends cdktf.TerraformResource { terraformResourceType: 'snowflake_external_function', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/external-oauth-integration/index.ts b/src/external-oauth-integration/index.ts index b754ba454..7f7b5dc2e 100644 --- a/src/external-oauth-integration/index.ts +++ b/src/external-oauth-integration/index.ts @@ -132,7 +132,7 @@ export class ExternalOauthIntegration extends cdktf.TerraformResource { terraformResourceType: 'snowflake_external_oauth_integration', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/external-table-grant/index.ts b/src/external-table-grant/index.ts index f92953d98..69cb564cc 100644 --- a/src/external-table-grant/index.ts +++ b/src/external-table-grant/index.ts @@ -96,7 +96,7 @@ export class ExternalTableGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_external_table_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/external-table/index.ts b/src/external-table/index.ts index 92449b843..e53078085 100644 --- a/src/external-table/index.ts +++ b/src/external-table/index.ts @@ -454,7 +454,7 @@ export class ExternalTable extends cdktf.TerraformResource { terraformResourceType: 'snowflake_external_table', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/failover-group/index.ts b/src/failover-group/index.ts index 480a6ea49..6f6305e2f 100644 --- a/src/failover-group/index.ts +++ b/src/failover-group/index.ts @@ -398,7 +398,7 @@ export class FailoverGroup extends cdktf.TerraformResource { terraformResourceType: 'snowflake_failover_group', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/file-format-grant/index.ts b/src/file-format-grant/index.ts index d72c4135b..8c04fe68e 100644 --- a/src/file-format-grant/index.ts +++ b/src/file-format-grant/index.ts @@ -90,7 +90,7 @@ export class FileFormatGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_file_format_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/file-format/index.ts b/src/file-format/index.ts index 71d2b346e..d8a9fefbb 100644 --- a/src/file-format/index.ts +++ b/src/file-format/index.ts @@ -252,7 +252,7 @@ export class FileFormat extends cdktf.TerraformResource { terraformResourceType: 'snowflake_file_format', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/function-grant/index.ts b/src/function-grant/index.ts index 6a40347bd..5280c6fc2 100644 --- a/src/function-grant/index.ts +++ b/src/function-grant/index.ts @@ -230,7 +230,7 @@ export class FunctionGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_function_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/function-resource/index.ts b/src/function-resource/index.ts index 647db39f7..51fde8f3f 100644 --- a/src/function-resource/index.ts +++ b/src/function-resource/index.ts @@ -254,7 +254,7 @@ export class FunctionResource extends cdktf.TerraformResource { terraformResourceType: 'snowflake_function', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/index.ts b/src/index.ts index 304c2bc1b..7bfe9078a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,6 @@ // generated by cdktf get export * as accountGrant from './account-grant'; +export * as accountParameter from './account-parameter'; export * as apiIntegration from './api-integration'; export * as database from './database'; export * as databaseGrant from './database-grant'; @@ -22,6 +23,7 @@ export * as networkPolicy from './network-policy'; export * as networkPolicyAttachment from './network-policy-attachment'; export * as notificationIntegration from './notification-integration'; export * as oauthIntegration from './oauth-integration'; +export * as objectParameter from './object-parameter'; export * as pipe from './pipe'; export * as pipeGrant from './pipe-grant'; export * as procedure from './procedure'; @@ -39,6 +41,7 @@ export * as schemaGrant from './schema-grant'; export * as scimIntegration from './scim-integration'; export * as sequence from './sequence'; export * as sequenceGrant from './sequence-grant'; +export * as sessionParameter from './session-parameter'; export * as share from './share'; export * as stage from './stage'; export * as stageGrant from './stage-grant'; @@ -63,6 +66,7 @@ export * as viewGrant from './view-grant'; export * as warehouse from './warehouse'; export * as warehouseGrant from './warehouse-grant'; export * as dataSnowflakeCurrentAccount from './data-snowflake-current-account'; +export * as dataSnowflakeCurrentRole from './data-snowflake-current-role'; export * as dataSnowflakeDatabase from './data-snowflake-database'; export * as dataSnowflakeDatabases from './data-snowflake-databases'; export * as dataSnowflakeExternalFunctions from './data-snowflake-external-functions'; @@ -72,6 +76,7 @@ export * as dataSnowflakeFunctions from './data-snowflake-functions'; export * as dataSnowflakeGrants from './data-snowflake-grants'; export * as dataSnowflakeMaskingPolicies from './data-snowflake-masking-policies'; export * as dataSnowflakeMaterializedViews from './data-snowflake-materialized-views'; +export * as dataSnowflakeParameters from './data-snowflake-parameters'; export * as dataSnowflakePipes from './data-snowflake-pipes'; export * as dataSnowflakeProcedures from './data-snowflake-procedures'; export * as dataSnowflakeResourceMonitors from './data-snowflake-resource-monitors'; diff --git a/src/integration-grant/index.ts b/src/integration-grant/index.ts index ce3b38475..748a216d2 100644 --- a/src/integration-grant/index.ts +++ b/src/integration-grant/index.ts @@ -72,7 +72,7 @@ export class IntegrationGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_integration_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/managed-account/index.ts b/src/managed-account/index.ts index b67551e0d..1d76c2967 100644 --- a/src/managed-account/index.ts +++ b/src/managed-account/index.ts @@ -72,7 +72,7 @@ export class ManagedAccount extends cdktf.TerraformResource { terraformResourceType: 'snowflake_managed_account', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/masking-policy-grant/index.ts b/src/masking-policy-grant/index.ts index 7f7344e25..fc4a46ef0 100644 --- a/src/masking-policy-grant/index.ts +++ b/src/masking-policy-grant/index.ts @@ -84,7 +84,7 @@ export class MaskingPolicyGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_masking_policy_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/masking-policy/index.ts b/src/masking-policy/index.ts index c94c0827f..e3d84cfea 100644 --- a/src/masking-policy/index.ts +++ b/src/masking-policy/index.ts @@ -84,7 +84,7 @@ export class MaskingPolicy extends cdktf.TerraformResource { terraformResourceType: 'snowflake_masking_policy', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/materialized-view-grant/index.ts b/src/materialized-view-grant/index.ts index daf70c2dc..5a65af4d9 100644 --- a/src/materialized-view-grant/index.ts +++ b/src/materialized-view-grant/index.ts @@ -96,7 +96,7 @@ export class MaterializedViewGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_materialized_view_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/materialized-view/index.ts b/src/materialized-view/index.ts index d586f3660..d923093d9 100644 --- a/src/materialized-view/index.ts +++ b/src/materialized-view/index.ts @@ -276,7 +276,7 @@ export class MaterializedView extends cdktf.TerraformResource { terraformResourceType: 'snowflake_materialized_view', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/network-policy-attachment/index.ts b/src/network-policy-attachment/index.ts index f2f808067..62731a2fc 100644 --- a/src/network-policy-attachment/index.ts +++ b/src/network-policy-attachment/index.ts @@ -60,7 +60,7 @@ export class NetworkPolicyAttachment extends cdktf.TerraformResource { terraformResourceType: 'snowflake_network_policy_attachment', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/network-policy/index.ts b/src/network-policy/index.ts index 721755e8f..736aa7acc 100644 --- a/src/network-policy/index.ts +++ b/src/network-policy/index.ts @@ -66,7 +66,7 @@ export class NetworkPolicy extends cdktf.TerraformResource { terraformResourceType: 'snowflake_network_policy', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/notification-integration/index.ts b/src/notification-integration/index.ts index 003463577..8506e507b 100644 --- a/src/notification-integration/index.ts +++ b/src/notification-integration/index.ts @@ -116,7 +116,7 @@ export class NotificationIntegration extends cdktf.TerraformResource { terraformResourceType: 'snowflake_notification_integration', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/oauth-integration/index.ts b/src/oauth-integration/index.ts index dc755335f..f2f208962 100644 --- a/src/oauth-integration/index.ts +++ b/src/oauth-integration/index.ts @@ -96,7 +96,7 @@ export class OauthIntegration extends cdktf.TerraformResource { terraformResourceType: 'snowflake_oauth_integration', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/object-parameter/README.md b/src/object-parameter/README.md new file mode 100644 index 000000000..9e705885d --- /dev/null +++ b/src/object-parameter/README.md @@ -0,0 +1,3 @@ +# `snowflake_object_parameter` + +Refer to the Terraform Registory for docs: [`snowflake_object_parameter`](https://www.terraform.io/docs/providers/snowflake/r/object_parameter). diff --git a/src/object-parameter/index.ts b/src/object-parameter/index.ts new file mode 100644 index 000000000..36e3d4505 --- /dev/null +++ b/src/object-parameter/index.ts @@ -0,0 +1,326 @@ +// https://www.terraform.io/docs/providers/snowflake/r/object_parameter +// generated from terraform resource schema + +import { Construct } from 'constructs'; +import * as cdktf from 'cdktf'; + +// Configuration + +export interface ObjectParameterConfig extends cdktf.TerraformMetaArguments { + /** + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#id ObjectParameter#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 object parameter. Valid values are those in [object parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#object-parameters). + * + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#key ObjectParameter#key} + */ + readonly key: string; + /** + * Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types). + * + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#object_type ObjectParameter#object_type} + */ + readonly objectType: string; + /** + * Value of object 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/object_parameter#value ObjectParameter#value} + */ + readonly value: string; + /** + * object_identifier block + * + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#object_identifier ObjectParameter#object_identifier} + */ + readonly objectIdentifier: ObjectParameterObjectIdentifier[] | cdktf.IResolvable; +} +export interface ObjectParameterObjectIdentifier { + /** + * Name of the database that the object was created in. + * + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#database ObjectParameter#database} + */ + readonly database?: string; + /** + * Name of the object to set the parameter for. + * + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#name ObjectParameter#name} + */ + readonly name: string; + /** + * Name of the schema that the object was created in. + * + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter#schema ObjectParameter#schema} + */ + readonly schema?: string; +} + +export function objectParameterObjectIdentifierToTerraform(struct?: ObjectParameterObjectIdentifier | cdktf.IResolvable): any { + if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } + if (cdktf.isComplexElement(struct)) { + throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); + } + return { + database: cdktf.stringToTerraform(struct!.database), + name: cdktf.stringToTerraform(struct!.name), + schema: cdktf.stringToTerraform(struct!.schema), + } +} + +export class ObjectParameterObjectIdentifierOutputReference extends cdktf.ComplexObject { + private isEmptyObject = false; + private resolvableValue?: cdktf.IResolvable; + + /** + * @param terraformResource The parent resource + * @param terraformAttribute The attribute on the parent resource this class is referencing + * @param complexObjectIndex the index of this item in the list + * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) + */ + public constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean) { + super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); + } + + public get internalValue(): ObjectParameterObjectIdentifier | cdktf.IResolvable | undefined { + if (this.resolvableValue) { + return this.resolvableValue; + } + let hasAnyValues = this.isEmptyObject; + const internalValueResult: any = {}; + if (this._database !== undefined) { + hasAnyValues = true; + internalValueResult.database = this._database; + } + if (this._name !== undefined) { + hasAnyValues = true; + internalValueResult.name = this._name; + } + if (this._schema !== undefined) { + hasAnyValues = true; + internalValueResult.schema = this._schema; + } + return hasAnyValues ? internalValueResult : undefined; + } + + public set internalValue(value: ObjectParameterObjectIdentifier | cdktf.IResolvable | undefined) { + if (value === undefined) { + this.isEmptyObject = false; + this.resolvableValue = undefined; + this._database = undefined; + this._name = undefined; + this._schema = undefined; + } + else if (cdktf.Tokenization.isResolvable(value)) { + this.isEmptyObject = false; + this.resolvableValue = value; + } + else { + this.isEmptyObject = Object.keys(value).length === 0; + this.resolvableValue = undefined; + this._database = value.database; + this._name = value.name; + this._schema = value.schema; + } + } + + // database - computed: false, optional: true, required: false + private _database?: string; + public get database() { + return this.getStringAttribute('database'); + } + public set database(value: string) { + this._database = value; + } + public resetDatabase() { + this._database = undefined; + } + // Temporarily expose input value. Use with caution. + public get databaseInput() { + return this._database; + } + + // name - computed: false, optional: false, required: true + private _name?: string; + public get name() { + return this.getStringAttribute('name'); + } + public set name(value: string) { + this._name = value; + } + // Temporarily expose input value. Use with caution. + public get nameInput() { + return this._name; + } + + // schema - computed: false, optional: true, required: false + private _schema?: string; + public get schema() { + return this.getStringAttribute('schema'); + } + public set schema(value: string) { + this._schema = value; + } + public resetSchema() { + this._schema = undefined; + } + // Temporarily expose input value. Use with caution. + public get schemaInput() { + return this._schema; + } +} + +export class ObjectParameterObjectIdentifierList extends cdktf.ComplexList { + public internalValue? : ObjectParameterObjectIdentifier[] | cdktf.IResolvable + + /** + * @param terraformResource The parent resource + * @param terraformAttribute The attribute on the parent resource this class is referencing + * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) + */ + constructor(protected terraformResource: cdktf.IInterpolatingParent, protected terraformAttribute: string, protected wrapsSet: boolean) { + super(terraformResource, terraformAttribute, wrapsSet) + } + + /** + * @param index the index of the item to return + */ + public get(index: number): ObjectParameterObjectIdentifierOutputReference { + return new ObjectParameterObjectIdentifierOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); + } +} + +/** +* Represents a {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter snowflake_object_parameter} +*/ +export class ObjectParameter extends cdktf.TerraformResource { + + // ================= + // STATIC PROPERTIES + // ================= + public static readonly tfResourceType = "snowflake_object_parameter"; + + // =========== + // INITIALIZER + // =========== + + /** + * Create a new {@link https://www.terraform.io/docs/providers/snowflake/r/object_parameter snowflake_object_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 ObjectParameterConfig + */ + public constructor(scope: Construct, id: string, config: ObjectParameterConfig) { + super(scope, id, { + terraformResourceType: 'snowflake_object_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._objectType = config.objectType; + this._value = config.value; + this._objectIdentifier.internalValue = config.objectIdentifier; + } + + // ========== + // 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; + } + + // object_type - computed: false, optional: false, required: true + private _objectType?: string; + public get objectType() { + return this.getStringAttribute('object_type'); + } + public set objectType(value: string) { + this._objectType = value; + } + // Temporarily expose input value. Use with caution. + public get objectTypeInput() { + return this._objectType; + } + + // 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; + } + + // object_identifier - computed: false, optional: false, required: true + private _objectIdentifier = new ObjectParameterObjectIdentifierList(this, "object_identifier", false); + public get objectIdentifier() { + return this._objectIdentifier; + } + public putObjectIdentifier(value: ObjectParameterObjectIdentifier[] | cdktf.IResolvable) { + this._objectIdentifier.internalValue = value; + } + // Temporarily expose input value. Use with caution. + public get objectIdentifierInput() { + return this._objectIdentifier.internalValue; + } + + // ========= + // SYNTHESIS + // ========= + + protected synthesizeAttributes(): { [name: string]: any } { + return { + id: cdktf.stringToTerraform(this._id), + key: cdktf.stringToTerraform(this._key), + object_type: cdktf.stringToTerraform(this._objectType), + value: cdktf.stringToTerraform(this._value), + object_identifier: cdktf.listMapper(objectParameterObjectIdentifierToTerraform, true)(this._objectIdentifier.internalValue), + }; + } +} diff --git a/src/pipe-grant/index.ts b/src/pipe-grant/index.ts index 82f8bce58..202f24b22 100644 --- a/src/pipe-grant/index.ts +++ b/src/pipe-grant/index.ts @@ -90,7 +90,7 @@ export class PipeGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_pipe_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/pipe/index.ts b/src/pipe/index.ts index 28bcb6577..d39115fc4 100644 --- a/src/pipe/index.ts +++ b/src/pipe/index.ts @@ -96,7 +96,7 @@ export class Pipe extends cdktf.TerraformResource { terraformResourceType: 'snowflake_pipe', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/procedure-grant/index.ts b/src/procedure-grant/index.ts index fa8109427..a178a37f1 100644 --- a/src/procedure-grant/index.ts +++ b/src/procedure-grant/index.ts @@ -230,7 +230,7 @@ export class ProcedureGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_procedure_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/procedure/index.ts b/src/procedure/index.ts index 0d5e4df95..02721982b 100644 --- a/src/procedure/index.ts +++ b/src/procedure/index.ts @@ -230,7 +230,7 @@ export class Procedure extends cdktf.TerraformResource { terraformResourceType: 'snowflake_procedure', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/provider/index.ts b/src/provider/index.ts index 2e5feb4ff..9db9f9e6e 100644 --- a/src/provider/index.ts +++ b/src/provider/index.ts @@ -62,7 +62,7 @@ export interface SnowflakeProviderConfig { */ readonly oauthRefreshToken?: string; /** - * Password for username+password auth. Cannot be used with `browser_auth` or `private_key_path`. Can be source from `SNOWFLAKE_PASSWORD` environment variable. + * Password for username+password auth. Cannot be used with `browser_auth` or `private_key_path`. Can be sourced from `SNOWFLAKE_PASSWORD` environment variable. * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake#password SnowflakeProvider#password} */ @@ -74,7 +74,7 @@ export interface SnowflakeProviderConfig { */ readonly port?: number; /** - * Private Key for username+private-key auth. Cannot be used with `browser_auth` or `password`. Can be source from `SNOWFLAKE_PRIVATE_KEY` environment variable. + * Private Key for username+private-key auth. Cannot be used with `browser_auth` or `password`. Can be sourced from `SNOWFLAKE_PRIVATE_KEY` environment variable. * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake#private_key SnowflakeProvider#private_key} */ @@ -86,7 +86,7 @@ export interface SnowflakeProviderConfig { */ readonly privateKeyPassphrase?: string; /** - * Path to a private key for using keypair authentication. Cannot be used with `browser_auth`, `oauth_access_token` or `password`. Can be source from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable. + * Path to a private key for using keypair authentication. Cannot be used with `browser_auth`, `oauth_access_token` or `password`. Can be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable. * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake#private_key_path SnowflakeProvider#private_key_path} */ @@ -98,13 +98,13 @@ export interface SnowflakeProviderConfig { */ readonly protocol?: string; /** - * [Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Can be source from the `SNOWFLAKE_REGION` environment variable. + * [Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy format for the `account` identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region) in the form of `.`. Can be sourced from the `SNOWFLAKE_REGION` environment variable. * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake#region SnowflakeProvider#region} */ readonly region?: string; /** - * Snowflake role to use for operations. If left unset, default role for user will be used. Can come from the `SNOWFLAKE_ROLE` environment variable. + * Snowflake role to use for operations. If left unset, default role for user will be used. Can be sourced from the `SNOWFLAKE_ROLE` environment variable. * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake#role SnowflakeProvider#role} */ @@ -155,7 +155,7 @@ export class SnowflakeProvider extends cdktf.TerraformProvider { terraformResourceType: 'snowflake', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, terraformProviderSource: 'Snowflake-Labs/snowflake' diff --git a/src/resource-monitor-grant/index.ts b/src/resource-monitor-grant/index.ts index 5bdedd884..7a63c0b17 100644 --- a/src/resource-monitor-grant/index.ts +++ b/src/resource-monitor-grant/index.ts @@ -72,7 +72,7 @@ export class ResourceMonitorGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_resource_monitor_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/resource-monitor/index.ts b/src/resource-monitor/index.ts index 64202f890..2b8905139 100644 --- a/src/resource-monitor/index.ts +++ b/src/resource-monitor/index.ts @@ -108,7 +108,7 @@ export class ResourceMonitor extends cdktf.TerraformResource { terraformResourceType: 'snowflake_resource_monitor', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/role-grants/index.ts b/src/role-grants/index.ts index 2e7494588..6046a1bd9 100644 --- a/src/role-grants/index.ts +++ b/src/role-grants/index.ts @@ -66,7 +66,7 @@ export class RoleGrants extends cdktf.TerraformResource { terraformResourceType: 'snowflake_role_grants', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/role-ownership-grant/index.ts b/src/role-ownership-grant/index.ts index 032a36fd3..ee7c27245 100644 --- a/src/role-ownership-grant/index.ts +++ b/src/role-ownership-grant/index.ts @@ -66,7 +66,7 @@ export class RoleOwnershipGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_role_ownership_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/role/index.ts b/src/role/index.ts index 5cb55c3fd..2273a8aed 100644 --- a/src/role/index.ts +++ b/src/role/index.ts @@ -236,7 +236,7 @@ export class Role extends cdktf.TerraformResource { terraformResourceType: 'snowflake_role', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/row-access-policy-grant/index.ts b/src/row-access-policy-grant/index.ts index b923416b0..a3ae3dc09 100644 --- a/src/row-access-policy-grant/index.ts +++ b/src/row-access-policy-grant/index.ts @@ -84,7 +84,7 @@ export class RowAccessPolicyGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_row_access_policy_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/row-access-policy/index.ts b/src/row-access-policy/index.ts index 81f9b9a5d..eb591afd1 100644 --- a/src/row-access-policy/index.ts +++ b/src/row-access-policy/index.ts @@ -78,7 +78,7 @@ export class RowAccessPolicy extends cdktf.TerraformResource { terraformResourceType: 'snowflake_row_access_policy', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/saml-integration/index.ts b/src/saml-integration/index.ts index 974e317f3..99e554087 100644 --- a/src/saml-integration/index.ts +++ b/src/saml-integration/index.ts @@ -132,7 +132,7 @@ export class SamlIntegration extends cdktf.TerraformResource { terraformResourceType: 'snowflake_saml_integration', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/schema-grant/index.ts b/src/schema-grant/index.ts index fcede6c4b..1982992a1 100644 --- a/src/schema-grant/index.ts +++ b/src/schema-grant/index.ts @@ -90,7 +90,7 @@ export class SchemaGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_schema_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/schema/index.ts b/src/schema/index.ts index f81380c5e..00c8c4dd2 100644 --- a/src/schema/index.ts +++ b/src/schema/index.ts @@ -264,7 +264,7 @@ export class Schema extends cdktf.TerraformResource { terraformResourceType: 'snowflake_schema', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/scim-integration/index.ts b/src/scim-integration/index.ts index ccf410e10..8bb12eaa7 100644 --- a/src/scim-integration/index.ts +++ b/src/scim-integration/index.ts @@ -66,7 +66,7 @@ export class ScimIntegration extends cdktf.TerraformResource { terraformResourceType: 'snowflake_scim_integration', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/sequence-grant/index.ts b/src/sequence-grant/index.ts index 5693aaa97..98b446689 100644 --- a/src/sequence-grant/index.ts +++ b/src/sequence-grant/index.ts @@ -90,7 +90,7 @@ export class SequenceGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_sequence_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/sequence/index.ts b/src/sequence/index.ts index 8952d72ef..e1f8c18af 100644 --- a/src/sequence/index.ts +++ b/src/sequence/index.ts @@ -72,7 +72,7 @@ export class Sequence extends cdktf.TerraformResource { terraformResourceType: 'snowflake_sequence', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/session-parameter/README.md b/src/session-parameter/README.md new file mode 100644 index 000000000..a08e9cd5b --- /dev/null +++ b/src/session-parameter/README.md @@ -0,0 +1,3 @@ +# `snowflake_session_parameter` + +Refer to the Terraform Registory for docs: [`snowflake_session_parameter`](https://www.terraform.io/docs/providers/snowflake/r/session_parameter). diff --git a/src/session-parameter/index.ts b/src/session-parameter/index.ts new file mode 100644 index 000000000..b6f6a420e --- /dev/null +++ b/src/session-parameter/index.ts @@ -0,0 +1,130 @@ +// https://www.terraform.io/docs/providers/snowflake/r/session_parameter +// generated from terraform resource schema + +import { Construct } from 'constructs'; +import * as cdktf from 'cdktf'; + +// Configuration + +export interface SessionParameterConfig extends cdktf.TerraformMetaArguments { + /** + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/session_parameter#id SessionParameter#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 session parameter. Valid values are those in [session parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#session-parameters). + * + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/session_parameter#key SessionParameter#key} + */ + readonly key: string; + /** + * Value of session 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/session_parameter#value SessionParameter#value} + */ + readonly value: string; +} + +/** +* Represents a {@link https://www.terraform.io/docs/providers/snowflake/r/session_parameter snowflake_session_parameter} +*/ +export class SessionParameter extends cdktf.TerraformResource { + + // ================= + // STATIC PROPERTIES + // ================= + public static readonly tfResourceType = "snowflake_session_parameter"; + + // =========== + // INITIALIZER + // =========== + + /** + * Create a new {@link https://www.terraform.io/docs/providers/snowflake/r/session_parameter snowflake_session_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 SessionParameterConfig + */ + public constructor(scope: Construct, id: string, config: SessionParameterConfig) { + super(scope, id, { + terraformResourceType: 'snowflake_session_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), + }; + } +} diff --git a/src/share/index.ts b/src/share/index.ts index 690784495..99bf31b30 100644 --- a/src/share/index.ts +++ b/src/share/index.ts @@ -60,7 +60,7 @@ export class Share extends cdktf.TerraformResource { terraformResourceType: 'snowflake_share', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/stage-grant/index.ts b/src/stage-grant/index.ts index 5bb771b40..0edccfc84 100644 --- a/src/stage-grant/index.ts +++ b/src/stage-grant/index.ts @@ -90,7 +90,7 @@ export class StageGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_stage_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/stage/index.ts b/src/stage/index.ts index e11ce6ea4..4bd69807b 100644 --- a/src/stage/index.ts +++ b/src/stage/index.ts @@ -302,7 +302,7 @@ export class Stage extends cdktf.TerraformResource { terraformResourceType: 'snowflake_stage', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/storage-integration/index.ts b/src/storage-integration/index.ts index 0f0ed61b6..7dbab396f 100644 --- a/src/storage-integration/index.ts +++ b/src/storage-integration/index.ts @@ -88,7 +88,7 @@ export class StorageIntegration extends cdktf.TerraformResource { terraformResourceType: 'snowflake_storage_integration', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/stream-grant/index.ts b/src/stream-grant/index.ts index 9ddc32d48..1b1254ccb 100644 --- a/src/stream-grant/index.ts +++ b/src/stream-grant/index.ts @@ -90,7 +90,7 @@ export class StreamGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_stream_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/stream/index.ts b/src/stream/index.ts index 804536d45..6cb4ef6e8 100644 --- a/src/stream/index.ts +++ b/src/stream/index.ts @@ -96,7 +96,7 @@ export class Stream extends cdktf.TerraformResource { terraformResourceType: 'snowflake_stream', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/table-constraint/index.ts b/src/table-constraint/index.ts index cf9822ee5..958d72181 100644 --- a/src/table-constraint/index.ts +++ b/src/table-constraint/index.ts @@ -358,7 +358,7 @@ export class TableConstraint extends cdktf.TerraformResource { terraformResourceType: 'snowflake_table_constraint', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/table-grant/index.ts b/src/table-grant/index.ts index 99ce1f849..d2920eeb6 100644 --- a/src/table-grant/index.ts +++ b/src/table-grant/index.ts @@ -96,7 +96,7 @@ export class TableGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_table_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/table/index.ts b/src/table/index.ts index ad410a7ca..b7b0a71e2 100644 --- a/src/table/index.ts +++ b/src/table/index.ts @@ -863,7 +863,7 @@ export class Table extends cdktf.TerraformResource { terraformResourceType: 'snowflake_table', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/tag-association/index.ts b/src/tag-association/index.ts index 368b58695..74c89621d 100644 --- a/src/tag-association/index.ts +++ b/src/tag-association/index.ts @@ -313,7 +313,7 @@ export class TagAssociation extends cdktf.TerraformResource { terraformResourceType: 'snowflake_tag_association', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/tag-grant/index.ts b/src/tag-grant/index.ts index 4cb25eea4..d3441b9bf 100644 --- a/src/tag-grant/index.ts +++ b/src/tag-grant/index.ts @@ -84,7 +84,7 @@ export class TagGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_tag_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/tag-masking-policy-association/index.ts b/src/tag-masking-policy-association/index.ts index d702b256b..1dbcbeacf 100644 --- a/src/tag-masking-policy-association/index.ts +++ b/src/tag-masking-policy-association/index.ts @@ -54,7 +54,7 @@ export class TagMaskingPolicyAssociation extends cdktf.TerraformResource { terraformResourceType: 'snowflake_tag_masking_policy_association', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/tag/index.ts b/src/tag/index.ts index 0d9d23676..81e301b83 100644 --- a/src/tag/index.ts +++ b/src/tag/index.ts @@ -72,7 +72,7 @@ export class Tag extends cdktf.TerraformResource { terraformResourceType: 'snowflake_tag', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/task-grant/index.ts b/src/task-grant/index.ts index 385edbe97..8904f5d1a 100644 --- a/src/task-grant/index.ts +++ b/src/task-grant/index.ts @@ -90,7 +90,7 @@ export class TaskGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_task_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/task/index.ts b/src/task/index.ts index bfed18503..7ed42c3d1 100644 --- a/src/task/index.ts +++ b/src/task/index.ts @@ -132,7 +132,7 @@ export class Task extends cdktf.TerraformResource { terraformResourceType: 'snowflake_task', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/user-grant/index.ts b/src/user-grant/index.ts index fb5c71942..84a56696c 100644 --- a/src/user-grant/index.ts +++ b/src/user-grant/index.ts @@ -72,7 +72,7 @@ export class UserGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_user_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/user-ownership-grant/index.ts b/src/user-ownership-grant/index.ts index 71709fe9e..aca5c4793 100644 --- a/src/user-ownership-grant/index.ts +++ b/src/user-ownership-grant/index.ts @@ -66,7 +66,7 @@ export class UserOwnershipGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_user_ownership_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/user-public-keys/index.ts b/src/user-public-keys/index.ts index 4799c131b..09956d878 100644 --- a/src/user-public-keys/index.ts +++ b/src/user-public-keys/index.ts @@ -60,7 +60,7 @@ export class UserPublicKeys extends cdktf.TerraformResource { terraformResourceType: 'snowflake_user_public_keys', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/user/index.ts b/src/user/index.ts index 4e2aeca86..c13c38046 100644 --- a/src/user/index.ts +++ b/src/user/index.ts @@ -320,7 +320,7 @@ export class User extends cdktf.TerraformResource { terraformResourceType: 'snowflake_user', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/version.json b/src/version.json index a041e82cb..06695865e 100644 --- a/src/version.json +++ b/src/version.json @@ -1,3 +1,3 @@ { - "registry.terraform.io/snowflake-labs/snowflake": "0.53.0" + "registry.terraform.io/snowflake-labs/snowflake": "0.54.0" } diff --git a/src/view-grant/index.ts b/src/view-grant/index.ts index cf9d06f21..a99d9096d 100644 --- a/src/view-grant/index.ts +++ b/src/view-grant/index.ts @@ -96,7 +96,7 @@ export class ViewGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_view_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/view/index.ts b/src/view/index.ts index 4113b2867..dde3fb274 100644 --- a/src/view/index.ts +++ b/src/view/index.ts @@ -270,7 +270,7 @@ export class View extends cdktf.TerraformResource { terraformResourceType: 'snowflake_view', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/warehouse-grant/index.ts b/src/warehouse-grant/index.ts index ac9335a5f..a55514ef2 100644 --- a/src/warehouse-grant/index.ts +++ b/src/warehouse-grant/index.ts @@ -72,7 +72,7 @@ export class WarehouseGrant extends cdktf.TerraformResource { terraformResourceType: 'snowflake_warehouse_grant', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/src/warehouse/index.ts b/src/warehouse/index.ts index 8e2c33678..6c8832e12 100644 --- a/src/warehouse/index.ts +++ b/src/warehouse/index.ts @@ -328,7 +328,7 @@ export class Warehouse extends cdktf.TerraformResource { terraformResourceType: 'snowflake_warehouse', terraformGeneratorMetadata: { providerName: 'snowflake', - providerVersion: '0.53.0', + providerVersion: '0.54.0', providerVersionConstraint: ' ~> 0.40' }, provider: config.provider, diff --git a/yarn.lock b/yarn.lock index e988817a4..7aa3897be 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3286,10 +3286,10 @@ progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -projen@^0.65.79: - version "0.65.79" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.65.79.tgz#597b3570e16ae9d33c2dbc144688cc1341043fca" - integrity sha512-MSnSYmDWP+A4SfRb4j5+ssTnfsrwzXOCKaR6XvsutF8NyilQgmDPZ/0YA5UT594hU4Ei1O3vNy+/yXRWX7h6qg== +projen@^0.65.80: + version "0.65.80" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.65.80.tgz#15c2ca008fd46037d4da523d6f4ecf1828071579" + integrity sha512-534GFoOrBoJT5PoQ9hZO803bpW1MhpkqrDZ+vLc5cgEXeuL8NeVRhVfaF2q21qGKQSAxHLR3J5oUQdpk3guHGw== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3"