@pulumi/snowflake 0.63.0-alpha.1734439451 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/account.d.ts +40 -86
- package/account.js +12 -5
- package/account.js.map +1 -1
- package/accountParameter.d.ts +7 -7
- package/accountParameter.js +1 -1
- package/accountRole.d.ts +4 -4
- package/accountRole.js +1 -1
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +4 -13
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +1 -1
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -1
- package/apiAuthenticationIntegrationWithClientCredentials.d.ts +4 -13
- package/apiAuthenticationIntegrationWithClientCredentials.js +1 -1
- package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -1
- package/apiAuthenticationIntegrationWithJwtBearer.d.ts +4 -13
- package/apiAuthenticationIntegrationWithJwtBearer.js +1 -1
- package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -1
- package/authenticationPolicy.d.ts +9 -9
- package/config/vars.d.ts +6 -74
- package/config/vars.js +6 -83
- package/config/vars.js.map +1 -1
- package/database.d.ts +4 -4
- package/database.js +1 -1
- package/databaseRole.d.ts +6 -6
- package/{unsafeExecute.d.ts → execute.d.ts} +21 -14
- package/{unsafeExecute.js → execute.js} +17 -10
- package/execute.js.map +1 -0
- package/externalOauthIntegration.d.ts +12 -12
- package/externalOauthIntegration.js +1 -1
- package/externalVolume.d.ts +5 -3
- package/externalVolume.js +2 -0
- package/externalVolume.js.map +1 -1
- package/functionJava.d.ts +324 -0
- package/{function.js → functionJava.js} +40 -22
- package/functionJava.js.map +1 -0
- package/functionJavascript.d.ts +240 -0
- package/functionJavascript.js +106 -0
- package/functionJavascript.js.map +1 -0
- package/functionPython.d.ts +324 -0
- package/functionPython.js +123 -0
- package/functionPython.js.map +1 -0
- package/functionScala.d.ts +324 -0
- package/functionScala.js +123 -0
- package/functionScala.js.map +1 -0
- package/functionSql.d.ts +228 -0
- package/functionSql.js +104 -0
- package/functionSql.js.map +1 -0
- package/getAccountRoles.d.ts +57 -0
- package/getAccountRoles.js +32 -0
- package/getAccountRoles.js.map +1 -0
- package/getAccounts.d.ts +25 -7
- package/getAccounts.js +10 -2
- package/getAccounts.js.map +1 -1
- package/getAlerts.d.ts +4 -0
- package/getAlerts.js +4 -0
- package/getAlerts.js.map +1 -1
- package/getConnections.d.ts +2 -48
- package/getConnections.js +2 -48
- package/getConnections.js.map +1 -1
- package/getCortexSearchServices.d.ts +4 -0
- package/getCortexSearchServices.js +4 -0
- package/getCortexSearchServices.js.map +1 -1
- package/getCurrentAccount.d.ts +4 -0
- package/getCurrentAccount.js +4 -0
- package/getCurrentAccount.js.map +1 -1
- package/getCurrentRole.d.ts +6 -0
- package/getCurrentRole.js +6 -0
- package/getCurrentRole.js.map +1 -1
- package/getDatabase.d.ts +4 -0
- package/getDatabase.js +4 -0
- package/getDatabase.js.map +1 -1
- package/getDatabaseRole.d.ts +4 -0
- package/getDatabaseRole.js +4 -0
- package/getDatabaseRole.js.map +1 -1
- package/getDatabaseRoles.d.ts +2 -6
- package/getDatabaseRoles.js +2 -6
- package/getDatabaseRoles.js.map +1 -1
- package/getDatabases.d.ts +2 -6
- package/getDatabases.js +2 -6
- package/getDatabases.js.map +1 -1
- package/getDynamicTables.d.ts +6 -0
- package/getDynamicTables.js +6 -0
- package/getDynamicTables.js.map +1 -1
- package/getExternalFunctions.d.ts +4 -0
- package/getExternalFunctions.js +4 -0
- package/getExternalFunctions.js.map +1 -1
- package/getExternalTables.d.ts +4 -0
- package/getExternalTables.js +4 -0
- package/getExternalTables.js.map +1 -1
- package/getFailoverGroups.d.ts +6 -0
- package/getFailoverGroups.js +6 -0
- package/getFailoverGroups.js.map +1 -1
- package/getFileFormats.d.ts +4 -0
- package/getFileFormats.js +4 -0
- package/getFileFormats.js.map +1 -1
- package/getFunctions.d.ts +4 -0
- package/getFunctions.js +4 -0
- package/getFunctions.js.map +1 -1
- package/getGrants.d.ts +0 -4
- package/getGrants.js +0 -4
- package/getGrants.js.map +1 -1
- package/getMaskingPolicies.d.ts +2 -6
- package/getMaskingPolicies.js +2 -6
- package/getMaskingPolicies.js.map +1 -1
- package/getMaterializedViews.d.ts +4 -0
- package/getMaterializedViews.js +4 -0
- package/getMaterializedViews.js.map +1 -1
- package/getNetworkPolicies.d.ts +2 -6
- package/getNetworkPolicies.js +2 -6
- package/getNetworkPolicies.js.map +1 -1
- package/getParameters.d.ts +4 -0
- package/getParameters.js +4 -0
- package/getParameters.js.map +1 -1
- package/getPipes.d.ts +4 -0
- package/getPipes.js +4 -0
- package/getPipes.js.map +1 -1
- package/getProcedures.d.ts +4 -0
- package/getProcedures.js +4 -0
- package/getProcedures.js.map +1 -1
- package/getResourceMonitors.d.ts +2 -6
- package/getResourceMonitors.js +2 -6
- package/getResourceMonitors.js.map +1 -1
- package/getRowAccessPolicies.d.ts +2 -6
- package/getRowAccessPolicies.js +2 -6
- package/getRowAccessPolicies.js.map +1 -1
- package/getSchemas.d.ts +6 -4
- package/getSchemas.js +6 -4
- package/getSchemas.js.map +1 -1
- package/getSecrets.d.ts +2 -6
- package/getSecrets.js +2 -6
- package/getSecrets.js.map +1 -1
- package/getSecurityIntegrations.d.ts +2 -6
- package/getSecurityIntegrations.js +2 -6
- package/getSecurityIntegrations.js.map +1 -1
- package/getSequences.d.ts +4 -0
- package/getSequences.js +4 -0
- package/getSequences.js.map +1 -1
- package/getShares.d.ts +4 -0
- package/getShares.js +4 -0
- package/getShares.js.map +1 -1
- package/getStages.d.ts +4 -0
- package/getStages.js +4 -0
- package/getStages.js.map +1 -1
- package/getStorageIntegrations.d.ts +4 -0
- package/getStorageIntegrations.js +4 -0
- package/getStorageIntegrations.js.map +1 -1
- package/getStreamlits.d.ts +2 -6
- package/getStreamlits.js +2 -6
- package/getStreamlits.js.map +1 -1
- package/getStreams.d.ts +2 -6
- package/getStreams.js +2 -6
- package/getStreams.js.map +1 -1
- package/getSystemGenerateScimAccessToken.d.ts +4 -0
- package/getSystemGenerateScimAccessToken.js +4 -0
- package/getSystemGenerateScimAccessToken.js.map +1 -1
- package/getSystemGetPrivateLinkConfig.d.ts +4 -0
- package/getSystemGetPrivateLinkConfig.js +4 -0
- package/getSystemGetPrivateLinkConfig.js.map +1 -1
- package/getSystemGetSnowflakePlatformInfo.d.ts +6 -0
- package/getSystemGetSnowflakePlatformInfo.js +6 -0
- package/getSystemGetSnowflakePlatformInfo.js.map +1 -1
- package/getTables.d.ts +4 -0
- package/getTables.js +4 -0
- package/getTables.js.map +1 -1
- package/getTags.d.ts +2 -6
- package/getTags.js +2 -6
- package/getTags.js.map +1 -1
- package/getTasks.d.ts +0 -4
- package/getTasks.js +0 -4
- package/getTasks.js.map +1 -1
- package/getUsers.d.ts +2 -6
- package/getUsers.js +2 -6
- package/getUsers.js.map +1 -1
- package/getViews.d.ts +2 -6
- package/getViews.js +2 -6
- package/getViews.js.map +1 -1
- package/getWarehouses.d.ts +2 -6
- package/getWarehouses.js +2 -6
- package/getWarehouses.js.map +1 -1
- package/grantAccountRole.d.ts +9 -9
- package/grantApplicationRole.d.ts +3 -3
- package/grantDatabaseRole.d.ts +12 -12
- package/grantOwnership.d.ts +6 -6
- package/grantPrivilegesToAccountRole.d.ts +6 -6
- package/grantPrivilegesToDatabaseRole.d.ts +6 -6
- package/grantPrivilegesToShare.d.ts +18 -18
- package/index.d.ts +36 -36
- package/index.js +62 -60
- package/index.js.map +1 -1
- package/legacyServiceUser.d.ts +9 -9
- package/maskingPolicy.d.ts +9 -9
- package/networkPolicy.d.ts +10 -10
- package/networkPolicy.js +1 -1
- package/oauthIntegrationForCustomClients.d.ts +23 -15
- package/oauthIntegrationForCustomClients.js +3 -4
- package/oauthIntegrationForCustomClients.js.map +1 -1
- package/oauthIntegrationForPartnerApplications.d.ts +16 -8
- package/oauthIntegrationForPartnerApplications.js +2 -3
- package/oauthIntegrationForPartnerApplications.js.map +1 -1
- package/package.json +2 -2
- package/passwordPolicy.d.ts +7 -0
- package/passwordPolicy.js +7 -0
- package/passwordPolicy.js.map +1 -1
- package/primaryConnection.d.ts +7 -7
- package/primaryConnection.js +1 -1
- package/procedureJava.d.ts +345 -0
- package/procedureJava.js +128 -0
- package/procedureJava.js.map +1 -0
- package/procedureJavascript.d.ts +249 -0
- package/procedureJavascript.js +106 -0
- package/procedureJavascript.js.map +1 -0
- package/procedurePython.d.ts +333 -0
- package/procedurePython.js +126 -0
- package/procedurePython.js.map +1 -0
- package/procedureScala.d.ts +345 -0
- package/procedureScala.js +128 -0
- package/procedureScala.js.map +1 -0
- package/procedureSql.d.ts +249 -0
- package/{procedure.js → procedureSql.js} +36 -32
- package/procedureSql.js.map +1 -0
- package/provider.d.ts +11 -182
- package/provider.js +10 -21
- package/provider.js.map +1 -1
- package/resourceMonitor.d.ts +7 -9
- package/resourceMonitor.js +1 -3
- package/resourceMonitor.js.map +1 -1
- package/rowAccessPolicy.d.ts +9 -9
- package/saml2Integration.d.ts +4 -4
- package/saml2Integration.js +1 -1
- package/schema.d.ts +6 -8
- package/schema.js +0 -2
- package/schema.js.map +1 -1
- package/scimIntegration.d.ts +7 -7
- package/scimIntegration.js +1 -1
- package/secondaryConnection.d.ts +7 -7
- package/secondaryConnection.js +1 -1
- package/secondaryDatabase.d.ts +7 -7
- package/secondaryDatabase.js +1 -1
- package/secretWithAuthorizationCodeGrant.d.ts +12 -12
- package/secretWithBasicAuthentication.d.ts +9 -9
- package/secretWithClientCredentials.d.ts +12 -12
- package/secretWithGenericString.d.ts +9 -9
- package/serviceUser.d.ts +9 -9
- package/sharedDatabase.d.ts +7 -7
- package/sharedDatabase.js +1 -1
- package/streamOnDirectoryTable.d.ts +12 -21
- package/streamOnDirectoryTable.js.map +1 -1
- package/streamOnExternalTable.d.ts +12 -21
- package/streamOnExternalTable.js.map +1 -1
- package/streamOnTable.d.ts +12 -21
- package/streamOnTable.js.map +1 -1
- package/streamOnView.d.ts +12 -21
- package/streamOnView.js.map +1 -1
- package/streamlit.d.ts +18 -20
- package/streamlit.js +0 -2
- package/streamlit.js.map +1 -1
- package/tag.d.ts +12 -12
- package/tagAssociation.d.ts +11 -31
- package/tagAssociation.js +2 -4
- package/tagAssociation.js.map +1 -1
- package/task.d.ts +25 -27
- package/task.js +1 -3
- package/task.js.map +1 -1
- package/types/input.d.ts +828 -47
- package/types/output.d.ts +846 -94
- package/user.d.ts +9 -9
- package/view.d.ts +12 -21
- package/view.js.map +1 -1
- package/warehouse.d.ts +7 -7
- package/warehouse.js +1 -1
- package/databaseOld.d.ts +0 -147
- package/databaseOld.js +0 -70
- package/databaseOld.js.map +0 -1
- package/function.d.ts +0 -247
- package/function.js.map +0 -1
- package/getRole.d.ts +0 -66
- package/getRole.js +0 -50
- package/getRole.js.map +0 -1
- package/getRoles.d.ts +0 -61
- package/getRoles.js +0 -36
- package/getRoles.js.map +0 -1
- package/oauthIntegration.d.ts +0 -171
- package/oauthIntegration.js +0 -79
- package/oauthIntegration.js.map +0 -1
- package/procedure.d.ts +0 -253
- package/procedure.js.map +0 -1
- package/role.d.ts +0 -76
- package/role.js +0 -62
- package/role.js.map +0 -1
- package/samlIntegration.d.ts +0 -243
- package/samlIntegration.js +0 -104
- package/samlIntegration.js.map +0 -1
- package/sessionParameter.d.ts +0 -91
- package/sessionParameter.js +0 -68
- package/sessionParameter.js.map +0 -1
- package/stream.d.ts +0 -181
- package/stream.js +0 -86
- package/stream.js.map +0 -1
- package/tagMaskingPolicyAssociation.d.ts +0 -69
- package/tagMaskingPolicyAssociation.js +0 -66
- package/tagMaskingPolicyAssociation.js.map +0 -1
- package/unsafeExecute.js.map +0 -1
package/samlIntegration.d.ts
DELETED
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* ## Import
|
|
4
|
-
*
|
|
5
|
-
* ```sh
|
|
6
|
-
* $ pulumi import snowflake:index/samlIntegration:SamlIntegration example name
|
|
7
|
-
* ```
|
|
8
|
-
*/
|
|
9
|
-
export declare class SamlIntegration extends pulumi.CustomResource {
|
|
10
|
-
/**
|
|
11
|
-
* Get an existing SamlIntegration resource's state with the given name, ID, and optional extra
|
|
12
|
-
* properties used to qualify the lookup.
|
|
13
|
-
*
|
|
14
|
-
* @param name The _unique_ name of the resulting resource.
|
|
15
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
-
* @param state Any extra arguments used during the lookup.
|
|
17
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
|
-
*/
|
|
19
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SamlIntegrationState, opts?: pulumi.CustomResourceOptions): SamlIntegration;
|
|
20
|
-
/**
|
|
21
|
-
* Returns true if the given object is an instance of SamlIntegration. This is designed to work even
|
|
22
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
-
*/
|
|
24
|
-
static isInstance(obj: any): obj is SamlIntegration;
|
|
25
|
-
/**
|
|
26
|
-
* Date and time when the SAML integration was created.
|
|
27
|
-
*/
|
|
28
|
-
readonly createdOn: pulumi.Output<string>;
|
|
29
|
-
/**
|
|
30
|
-
* Specifies whether this security integration is enabled or disabled.
|
|
31
|
-
*/
|
|
32
|
-
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
33
|
-
/**
|
|
34
|
-
* Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
35
|
-
*/
|
|
36
|
-
readonly name: pulumi.Output<string>;
|
|
37
|
-
readonly saml2DigestMethodsUsed: pulumi.Output<string>;
|
|
38
|
-
/**
|
|
39
|
-
* The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in WIth button on the login page. FALSE: does not display the Log in With button on the login page.
|
|
40
|
-
*/
|
|
41
|
-
readonly saml2EnableSpInitiated: pulumi.Output<boolean | undefined>;
|
|
42
|
-
/**
|
|
43
|
-
* The Boolean indicating whether users, during the initial authentication flow, are forced to authenticate again to access Snowflake. When set to TRUE, Snowflake sets the ForceAuthn SAML parameter to TRUE in the outgoing request from Snowflake to the identity provider. TRUE: forces users to authenticate again to access Snowflake, even if a valid session with the identity provider exists. FALSE: does not force users to authenticate again to access Snowflake.
|
|
44
|
-
*/
|
|
45
|
-
readonly saml2ForceAuthn: pulumi.Output<boolean | undefined>;
|
|
46
|
-
/**
|
|
47
|
-
* The string containing the IdP EntityID / Issuer.
|
|
48
|
-
*/
|
|
49
|
-
readonly saml2Issuer: pulumi.Output<string>;
|
|
50
|
-
/**
|
|
51
|
-
* The endpoint to which Snowflake redirects users after clicking the Log Out button in the classic Snowflake web interface. Snowflake terminates the Snowflake session upon redirecting to the specified endpoint.
|
|
52
|
-
*/
|
|
53
|
-
readonly saml2PostLogoutRedirectUrl: pulumi.Output<string | undefined>;
|
|
54
|
-
/**
|
|
55
|
-
* The string describing the IdP. One of the following: OKTA, ADFS, Custom.
|
|
56
|
-
*/
|
|
57
|
-
readonly saml2Provider: pulumi.Output<string>;
|
|
58
|
-
/**
|
|
59
|
-
* The SAML NameID format allows Snowflake to set an expectation of the identifying attribute of the user (i.e. SAML Subject) in the SAML assertion from the IdP to ensure a valid authentication to Snowflake. If a value is not specified, Snowflake sends the urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress value in the authentication request to the IdP. NameID must be one of the following values: urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified, urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress, urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName, urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName, urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos, urn:oasis:names:tc:SAML:2.0:nameid-format:persistent, urn:oasis:names:tc:SAML:2.0:nameid-format:transient .
|
|
60
|
-
*/
|
|
61
|
-
readonly saml2RequestedNameidFormat: pulumi.Output<string | undefined>;
|
|
62
|
-
/**
|
|
63
|
-
* The Boolean indicating whether SAML requests are signed. TRUE: allows SAML requests to be signed. FALSE: does not allow SAML requests to be signed.
|
|
64
|
-
*/
|
|
65
|
-
readonly saml2SignRequest: pulumi.Output<boolean | undefined>;
|
|
66
|
-
readonly saml2SignatureMethodsUsed: pulumi.Output<string>;
|
|
67
|
-
/**
|
|
68
|
-
* The string containing the Snowflake Assertion Consumer Service URL to which the IdP will send its SAML authentication response back to Snowflake. This property will be set in the SAML authentication request generated by Snowflake when initiating a SAML SSO operation with the IdP. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use. Default: https://\n\n.\n\n.snowflakecomputing.com/fed/login
|
|
69
|
-
*/
|
|
70
|
-
readonly saml2SnowflakeAcsUrl: pulumi.Output<string>;
|
|
71
|
-
/**
|
|
72
|
-
* The string containing the EntityID / Issuer for the Snowflake service provider. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use.
|
|
73
|
-
*/
|
|
74
|
-
readonly saml2SnowflakeIssuerUrl: pulumi.Output<string>;
|
|
75
|
-
/**
|
|
76
|
-
* Metadata created by Snowflake to provide to SAML2 provider.
|
|
77
|
-
*/
|
|
78
|
-
readonly saml2SnowflakeMetadata: pulumi.Output<string>;
|
|
79
|
-
/**
|
|
80
|
-
* The Base64 encoded self-signed certificate generated by Snowflake for use with Encrypting SAML Assertions and Signed SAML Requests. You must have at least one of these features (encrypted SAML assertions or signed SAML responses) enabled in your Snowflake account to access the certificate value.
|
|
81
|
-
*/
|
|
82
|
-
readonly saml2SnowflakeX509Cert: pulumi.Output<string>;
|
|
83
|
-
/**
|
|
84
|
-
* The string containing the label to display after the Log In With button on the login page.
|
|
85
|
-
*/
|
|
86
|
-
readonly saml2SpInitiatedLoginPageLabel: pulumi.Output<string | undefined>;
|
|
87
|
-
/**
|
|
88
|
-
* The string containing the IdP SSO URL, where the user should be redirected by Snowflake (the Service Provider) with a SAML AuthnRequest message.
|
|
89
|
-
*/
|
|
90
|
-
readonly saml2SsoUrl: pulumi.Output<string>;
|
|
91
|
-
/**
|
|
92
|
-
* The Base64 encoded IdP signing certificate on a single line without the leading -----BEGIN CERTIFICATE----- and ending -----END CERTIFICATE----- markers.
|
|
93
|
-
*/
|
|
94
|
-
readonly saml2X509Cert: pulumi.Output<string>;
|
|
95
|
-
/**
|
|
96
|
-
* Create a SamlIntegration resource with the given unique name, arguments, and options.
|
|
97
|
-
*
|
|
98
|
-
* @param name The _unique_ name of the resource.
|
|
99
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
100
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
101
|
-
*/
|
|
102
|
-
constructor(name: string, args: SamlIntegrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Input properties used for looking up and filtering SamlIntegration resources.
|
|
106
|
-
*/
|
|
107
|
-
export interface SamlIntegrationState {
|
|
108
|
-
/**
|
|
109
|
-
* Date and time when the SAML integration was created.
|
|
110
|
-
*/
|
|
111
|
-
createdOn?: pulumi.Input<string>;
|
|
112
|
-
/**
|
|
113
|
-
* Specifies whether this security integration is enabled or disabled.
|
|
114
|
-
*/
|
|
115
|
-
enabled?: pulumi.Input<boolean>;
|
|
116
|
-
/**
|
|
117
|
-
* Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
118
|
-
*/
|
|
119
|
-
name?: pulumi.Input<string>;
|
|
120
|
-
saml2DigestMethodsUsed?: pulumi.Input<string>;
|
|
121
|
-
/**
|
|
122
|
-
* The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in WIth button on the login page. FALSE: does not display the Log in With button on the login page.
|
|
123
|
-
*/
|
|
124
|
-
saml2EnableSpInitiated?: pulumi.Input<boolean>;
|
|
125
|
-
/**
|
|
126
|
-
* The Boolean indicating whether users, during the initial authentication flow, are forced to authenticate again to access Snowflake. When set to TRUE, Snowflake sets the ForceAuthn SAML parameter to TRUE in the outgoing request from Snowflake to the identity provider. TRUE: forces users to authenticate again to access Snowflake, even if a valid session with the identity provider exists. FALSE: does not force users to authenticate again to access Snowflake.
|
|
127
|
-
*/
|
|
128
|
-
saml2ForceAuthn?: pulumi.Input<boolean>;
|
|
129
|
-
/**
|
|
130
|
-
* The string containing the IdP EntityID / Issuer.
|
|
131
|
-
*/
|
|
132
|
-
saml2Issuer?: pulumi.Input<string>;
|
|
133
|
-
/**
|
|
134
|
-
* The endpoint to which Snowflake redirects users after clicking the Log Out button in the classic Snowflake web interface. Snowflake terminates the Snowflake session upon redirecting to the specified endpoint.
|
|
135
|
-
*/
|
|
136
|
-
saml2PostLogoutRedirectUrl?: pulumi.Input<string>;
|
|
137
|
-
/**
|
|
138
|
-
* The string describing the IdP. One of the following: OKTA, ADFS, Custom.
|
|
139
|
-
*/
|
|
140
|
-
saml2Provider?: pulumi.Input<string>;
|
|
141
|
-
/**
|
|
142
|
-
* The SAML NameID format allows Snowflake to set an expectation of the identifying attribute of the user (i.e. SAML Subject) in the SAML assertion from the IdP to ensure a valid authentication to Snowflake. If a value is not specified, Snowflake sends the urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress value in the authentication request to the IdP. NameID must be one of the following values: urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified, urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress, urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName, urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName, urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos, urn:oasis:names:tc:SAML:2.0:nameid-format:persistent, urn:oasis:names:tc:SAML:2.0:nameid-format:transient .
|
|
143
|
-
*/
|
|
144
|
-
saml2RequestedNameidFormat?: pulumi.Input<string>;
|
|
145
|
-
/**
|
|
146
|
-
* The Boolean indicating whether SAML requests are signed. TRUE: allows SAML requests to be signed. FALSE: does not allow SAML requests to be signed.
|
|
147
|
-
*/
|
|
148
|
-
saml2SignRequest?: pulumi.Input<boolean>;
|
|
149
|
-
saml2SignatureMethodsUsed?: pulumi.Input<string>;
|
|
150
|
-
/**
|
|
151
|
-
* The string containing the Snowflake Assertion Consumer Service URL to which the IdP will send its SAML authentication response back to Snowflake. This property will be set in the SAML authentication request generated by Snowflake when initiating a SAML SSO operation with the IdP. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use. Default: https://\n\n.\n\n.snowflakecomputing.com/fed/login
|
|
152
|
-
*/
|
|
153
|
-
saml2SnowflakeAcsUrl?: pulumi.Input<string>;
|
|
154
|
-
/**
|
|
155
|
-
* The string containing the EntityID / Issuer for the Snowflake service provider. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use.
|
|
156
|
-
*/
|
|
157
|
-
saml2SnowflakeIssuerUrl?: pulumi.Input<string>;
|
|
158
|
-
/**
|
|
159
|
-
* Metadata created by Snowflake to provide to SAML2 provider.
|
|
160
|
-
*/
|
|
161
|
-
saml2SnowflakeMetadata?: pulumi.Input<string>;
|
|
162
|
-
/**
|
|
163
|
-
* The Base64 encoded self-signed certificate generated by Snowflake for use with Encrypting SAML Assertions and Signed SAML Requests. You must have at least one of these features (encrypted SAML assertions or signed SAML responses) enabled in your Snowflake account to access the certificate value.
|
|
164
|
-
*/
|
|
165
|
-
saml2SnowflakeX509Cert?: pulumi.Input<string>;
|
|
166
|
-
/**
|
|
167
|
-
* The string containing the label to display after the Log In With button on the login page.
|
|
168
|
-
*/
|
|
169
|
-
saml2SpInitiatedLoginPageLabel?: pulumi.Input<string>;
|
|
170
|
-
/**
|
|
171
|
-
* The string containing the IdP SSO URL, where the user should be redirected by Snowflake (the Service Provider) with a SAML AuthnRequest message.
|
|
172
|
-
*/
|
|
173
|
-
saml2SsoUrl?: pulumi.Input<string>;
|
|
174
|
-
/**
|
|
175
|
-
* The Base64 encoded IdP signing certificate on a single line without the leading -----BEGIN CERTIFICATE----- and ending -----END CERTIFICATE----- markers.
|
|
176
|
-
*/
|
|
177
|
-
saml2X509Cert?: pulumi.Input<string>;
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* The set of arguments for constructing a SamlIntegration resource.
|
|
181
|
-
*/
|
|
182
|
-
export interface SamlIntegrationArgs {
|
|
183
|
-
/**
|
|
184
|
-
* Specifies whether this security integration is enabled or disabled.
|
|
185
|
-
*/
|
|
186
|
-
enabled?: pulumi.Input<boolean>;
|
|
187
|
-
/**
|
|
188
|
-
* Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
189
|
-
*/
|
|
190
|
-
name?: pulumi.Input<string>;
|
|
191
|
-
/**
|
|
192
|
-
* The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in WIth button on the login page. FALSE: does not display the Log in With button on the login page.
|
|
193
|
-
*/
|
|
194
|
-
saml2EnableSpInitiated?: pulumi.Input<boolean>;
|
|
195
|
-
/**
|
|
196
|
-
* The Boolean indicating whether users, during the initial authentication flow, are forced to authenticate again to access Snowflake. When set to TRUE, Snowflake sets the ForceAuthn SAML parameter to TRUE in the outgoing request from Snowflake to the identity provider. TRUE: forces users to authenticate again to access Snowflake, even if a valid session with the identity provider exists. FALSE: does not force users to authenticate again to access Snowflake.
|
|
197
|
-
*/
|
|
198
|
-
saml2ForceAuthn?: pulumi.Input<boolean>;
|
|
199
|
-
/**
|
|
200
|
-
* The string containing the IdP EntityID / Issuer.
|
|
201
|
-
*/
|
|
202
|
-
saml2Issuer: pulumi.Input<string>;
|
|
203
|
-
/**
|
|
204
|
-
* The endpoint to which Snowflake redirects users after clicking the Log Out button in the classic Snowflake web interface. Snowflake terminates the Snowflake session upon redirecting to the specified endpoint.
|
|
205
|
-
*/
|
|
206
|
-
saml2PostLogoutRedirectUrl?: pulumi.Input<string>;
|
|
207
|
-
/**
|
|
208
|
-
* The string describing the IdP. One of the following: OKTA, ADFS, Custom.
|
|
209
|
-
*/
|
|
210
|
-
saml2Provider: pulumi.Input<string>;
|
|
211
|
-
/**
|
|
212
|
-
* The SAML NameID format allows Snowflake to set an expectation of the identifying attribute of the user (i.e. SAML Subject) in the SAML assertion from the IdP to ensure a valid authentication to Snowflake. If a value is not specified, Snowflake sends the urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress value in the authentication request to the IdP. NameID must be one of the following values: urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified, urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress, urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName, urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName, urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos, urn:oasis:names:tc:SAML:2.0:nameid-format:persistent, urn:oasis:names:tc:SAML:2.0:nameid-format:transient .
|
|
213
|
-
*/
|
|
214
|
-
saml2RequestedNameidFormat?: pulumi.Input<string>;
|
|
215
|
-
/**
|
|
216
|
-
* The Boolean indicating whether SAML requests are signed. TRUE: allows SAML requests to be signed. FALSE: does not allow SAML requests to be signed.
|
|
217
|
-
*/
|
|
218
|
-
saml2SignRequest?: pulumi.Input<boolean>;
|
|
219
|
-
/**
|
|
220
|
-
* The string containing the Snowflake Assertion Consumer Service URL to which the IdP will send its SAML authentication response back to Snowflake. This property will be set in the SAML authentication request generated by Snowflake when initiating a SAML SSO operation with the IdP. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use. Default: https://\n\n.\n\n.snowflakecomputing.com/fed/login
|
|
221
|
-
*/
|
|
222
|
-
saml2SnowflakeAcsUrl?: pulumi.Input<string>;
|
|
223
|
-
/**
|
|
224
|
-
* The string containing the EntityID / Issuer for the Snowflake service provider. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use.
|
|
225
|
-
*/
|
|
226
|
-
saml2SnowflakeIssuerUrl?: pulumi.Input<string>;
|
|
227
|
-
/**
|
|
228
|
-
* The Base64 encoded self-signed certificate generated by Snowflake for use with Encrypting SAML Assertions and Signed SAML Requests. You must have at least one of these features (encrypted SAML assertions or signed SAML responses) enabled in your Snowflake account to access the certificate value.
|
|
229
|
-
*/
|
|
230
|
-
saml2SnowflakeX509Cert?: pulumi.Input<string>;
|
|
231
|
-
/**
|
|
232
|
-
* The string containing the label to display after the Log In With button on the login page.
|
|
233
|
-
*/
|
|
234
|
-
saml2SpInitiatedLoginPageLabel?: pulumi.Input<string>;
|
|
235
|
-
/**
|
|
236
|
-
* The string containing the IdP SSO URL, where the user should be redirected by Snowflake (the Service Provider) with a SAML AuthnRequest message.
|
|
237
|
-
*/
|
|
238
|
-
saml2SsoUrl: pulumi.Input<string>;
|
|
239
|
-
/**
|
|
240
|
-
* The Base64 encoded IdP signing certificate on a single line without the leading -----BEGIN CERTIFICATE----- and ending -----END CERTIFICATE----- markers.
|
|
241
|
-
*/
|
|
242
|
-
saml2X509Cert: pulumi.Input<string>;
|
|
243
|
-
}
|
package/samlIntegration.js
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.SamlIntegration = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Import
|
|
10
|
-
*
|
|
11
|
-
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/samlIntegration:SamlIntegration example name
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
class SamlIntegration extends pulumi.CustomResource {
|
|
16
|
-
/**
|
|
17
|
-
* Get an existing SamlIntegration resource's state with the given name, ID, and optional extra
|
|
18
|
-
* properties used to qualify the lookup.
|
|
19
|
-
*
|
|
20
|
-
* @param name The _unique_ name of the resulting resource.
|
|
21
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
-
* @param state Any extra arguments used during the lookup.
|
|
23
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
-
*/
|
|
25
|
-
static get(name, id, state, opts) {
|
|
26
|
-
return new SamlIntegration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Returns true if the given object is an instance of SamlIntegration. This is designed to work even
|
|
30
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
-
*/
|
|
32
|
-
static isInstance(obj) {
|
|
33
|
-
if (obj === undefined || obj === null) {
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
return obj['__pulumiType'] === SamlIntegration.__pulumiType;
|
|
37
|
-
}
|
|
38
|
-
constructor(name, argsOrState, opts) {
|
|
39
|
-
let resourceInputs = {};
|
|
40
|
-
opts = opts || {};
|
|
41
|
-
if (opts.id) {
|
|
42
|
-
const state = argsOrState;
|
|
43
|
-
resourceInputs["createdOn"] = state ? state.createdOn : undefined;
|
|
44
|
-
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
45
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
46
|
-
resourceInputs["saml2DigestMethodsUsed"] = state ? state.saml2DigestMethodsUsed : undefined;
|
|
47
|
-
resourceInputs["saml2EnableSpInitiated"] = state ? state.saml2EnableSpInitiated : undefined;
|
|
48
|
-
resourceInputs["saml2ForceAuthn"] = state ? state.saml2ForceAuthn : undefined;
|
|
49
|
-
resourceInputs["saml2Issuer"] = state ? state.saml2Issuer : undefined;
|
|
50
|
-
resourceInputs["saml2PostLogoutRedirectUrl"] = state ? state.saml2PostLogoutRedirectUrl : undefined;
|
|
51
|
-
resourceInputs["saml2Provider"] = state ? state.saml2Provider : undefined;
|
|
52
|
-
resourceInputs["saml2RequestedNameidFormat"] = state ? state.saml2RequestedNameidFormat : undefined;
|
|
53
|
-
resourceInputs["saml2SignRequest"] = state ? state.saml2SignRequest : undefined;
|
|
54
|
-
resourceInputs["saml2SignatureMethodsUsed"] = state ? state.saml2SignatureMethodsUsed : undefined;
|
|
55
|
-
resourceInputs["saml2SnowflakeAcsUrl"] = state ? state.saml2SnowflakeAcsUrl : undefined;
|
|
56
|
-
resourceInputs["saml2SnowflakeIssuerUrl"] = state ? state.saml2SnowflakeIssuerUrl : undefined;
|
|
57
|
-
resourceInputs["saml2SnowflakeMetadata"] = state ? state.saml2SnowflakeMetadata : undefined;
|
|
58
|
-
resourceInputs["saml2SnowflakeX509Cert"] = state ? state.saml2SnowflakeX509Cert : undefined;
|
|
59
|
-
resourceInputs["saml2SpInitiatedLoginPageLabel"] = state ? state.saml2SpInitiatedLoginPageLabel : undefined;
|
|
60
|
-
resourceInputs["saml2SsoUrl"] = state ? state.saml2SsoUrl : undefined;
|
|
61
|
-
resourceInputs["saml2X509Cert"] = state ? state.saml2X509Cert : undefined;
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
const args = argsOrState;
|
|
65
|
-
if ((!args || args.saml2Issuer === undefined) && !opts.urn) {
|
|
66
|
-
throw new Error("Missing required property 'saml2Issuer'");
|
|
67
|
-
}
|
|
68
|
-
if ((!args || args.saml2Provider === undefined) && !opts.urn) {
|
|
69
|
-
throw new Error("Missing required property 'saml2Provider'");
|
|
70
|
-
}
|
|
71
|
-
if ((!args || args.saml2SsoUrl === undefined) && !opts.urn) {
|
|
72
|
-
throw new Error("Missing required property 'saml2SsoUrl'");
|
|
73
|
-
}
|
|
74
|
-
if ((!args || args.saml2X509Cert === undefined) && !opts.urn) {
|
|
75
|
-
throw new Error("Missing required property 'saml2X509Cert'");
|
|
76
|
-
}
|
|
77
|
-
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
78
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
79
|
-
resourceInputs["saml2EnableSpInitiated"] = args ? args.saml2EnableSpInitiated : undefined;
|
|
80
|
-
resourceInputs["saml2ForceAuthn"] = args ? args.saml2ForceAuthn : undefined;
|
|
81
|
-
resourceInputs["saml2Issuer"] = args ? args.saml2Issuer : undefined;
|
|
82
|
-
resourceInputs["saml2PostLogoutRedirectUrl"] = args ? args.saml2PostLogoutRedirectUrl : undefined;
|
|
83
|
-
resourceInputs["saml2Provider"] = args ? args.saml2Provider : undefined;
|
|
84
|
-
resourceInputs["saml2RequestedNameidFormat"] = args ? args.saml2RequestedNameidFormat : undefined;
|
|
85
|
-
resourceInputs["saml2SignRequest"] = args ? args.saml2SignRequest : undefined;
|
|
86
|
-
resourceInputs["saml2SnowflakeAcsUrl"] = args ? args.saml2SnowflakeAcsUrl : undefined;
|
|
87
|
-
resourceInputs["saml2SnowflakeIssuerUrl"] = args ? args.saml2SnowflakeIssuerUrl : undefined;
|
|
88
|
-
resourceInputs["saml2SnowflakeX509Cert"] = args ? args.saml2SnowflakeX509Cert : undefined;
|
|
89
|
-
resourceInputs["saml2SpInitiatedLoginPageLabel"] = args ? args.saml2SpInitiatedLoginPageLabel : undefined;
|
|
90
|
-
resourceInputs["saml2SsoUrl"] = args ? args.saml2SsoUrl : undefined;
|
|
91
|
-
resourceInputs["saml2X509Cert"] = args ? args.saml2X509Cert : undefined;
|
|
92
|
-
resourceInputs["createdOn"] = undefined /*out*/;
|
|
93
|
-
resourceInputs["saml2DigestMethodsUsed"] = undefined /*out*/;
|
|
94
|
-
resourceInputs["saml2SignatureMethodsUsed"] = undefined /*out*/;
|
|
95
|
-
resourceInputs["saml2SnowflakeMetadata"] = undefined /*out*/;
|
|
96
|
-
}
|
|
97
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
|
-
super(SamlIntegration.__pulumiType, name, resourceInputs, opts);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
exports.SamlIntegration = SamlIntegration;
|
|
102
|
-
/** @internal */
|
|
103
|
-
SamlIntegration.__pulumiType = 'snowflake:index/samlIntegration:SamlIntegration';
|
|
104
|
-
//# sourceMappingURL=samlIntegration.js.map
|
package/samlIntegration.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"samlIntegration.js","sourceRoot":"","sources":["../samlIntegration.ts"],"names":[],"mappings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;YAC1F,cAAc,CAAC,gCAAgC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1G,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAvKL,0CAwKC;AA1JG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
package/sessionParameter.d.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* ## Import
|
|
4
|
-
*
|
|
5
|
-
* ```sh
|
|
6
|
-
* $ pulumi import snowflake:index/sessionParameter:SessionParameter s <parameter_name>
|
|
7
|
-
* ```
|
|
8
|
-
*/
|
|
9
|
-
export declare class SessionParameter extends pulumi.CustomResource {
|
|
10
|
-
/**
|
|
11
|
-
* Get an existing SessionParameter resource's state with the given name, ID, and optional extra
|
|
12
|
-
* properties used to qualify the lookup.
|
|
13
|
-
*
|
|
14
|
-
* @param name The _unique_ name of the resulting resource.
|
|
15
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
-
* @param state Any extra arguments used during the lookup.
|
|
17
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
|
-
*/
|
|
19
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SessionParameterState, opts?: pulumi.CustomResourceOptions): SessionParameter;
|
|
20
|
-
/**
|
|
21
|
-
* Returns true if the given object is an instance of SessionParameter. This is designed to work even
|
|
22
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
-
*/
|
|
24
|
-
static isInstance(obj: any): obj is SessionParameter;
|
|
25
|
-
/**
|
|
26
|
-
* Name of session parameter. Valid values are those in [session parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#session-parameters).
|
|
27
|
-
*/
|
|
28
|
-
readonly key: pulumi.Output<string>;
|
|
29
|
-
/**
|
|
30
|
-
* If true, the session parameter will be set on the account level.
|
|
31
|
-
*/
|
|
32
|
-
readonly onAccount: pulumi.Output<boolean | undefined>;
|
|
33
|
-
/**
|
|
34
|
-
* The user to set the session parameter for. Required if onAccount is false
|
|
35
|
-
*/
|
|
36
|
-
readonly user: pulumi.Output<string | undefined>;
|
|
37
|
-
/**
|
|
38
|
-
* Value of session parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
|
|
39
|
-
*/
|
|
40
|
-
readonly value: pulumi.Output<string>;
|
|
41
|
-
/**
|
|
42
|
-
* Create a SessionParameter resource with the given unique name, arguments, and options.
|
|
43
|
-
*
|
|
44
|
-
* @param name The _unique_ name of the resource.
|
|
45
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
-
*/
|
|
48
|
-
constructor(name: string, args: SessionParameterArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Input properties used for looking up and filtering SessionParameter resources.
|
|
52
|
-
*/
|
|
53
|
-
export interface SessionParameterState {
|
|
54
|
-
/**
|
|
55
|
-
* Name of session parameter. Valid values are those in [session parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#session-parameters).
|
|
56
|
-
*/
|
|
57
|
-
key?: pulumi.Input<string>;
|
|
58
|
-
/**
|
|
59
|
-
* If true, the session parameter will be set on the account level.
|
|
60
|
-
*/
|
|
61
|
-
onAccount?: pulumi.Input<boolean>;
|
|
62
|
-
/**
|
|
63
|
-
* The user to set the session parameter for. Required if onAccount is false
|
|
64
|
-
*/
|
|
65
|
-
user?: pulumi.Input<string>;
|
|
66
|
-
/**
|
|
67
|
-
* Value of session parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
|
|
68
|
-
*/
|
|
69
|
-
value?: pulumi.Input<string>;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* The set of arguments for constructing a SessionParameter resource.
|
|
73
|
-
*/
|
|
74
|
-
export interface SessionParameterArgs {
|
|
75
|
-
/**
|
|
76
|
-
* Name of session parameter. Valid values are those in [session parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#session-parameters).
|
|
77
|
-
*/
|
|
78
|
-
key: pulumi.Input<string>;
|
|
79
|
-
/**
|
|
80
|
-
* If true, the session parameter will be set on the account level.
|
|
81
|
-
*/
|
|
82
|
-
onAccount?: pulumi.Input<boolean>;
|
|
83
|
-
/**
|
|
84
|
-
* The user to set the session parameter for. Required if onAccount is false
|
|
85
|
-
*/
|
|
86
|
-
user?: pulumi.Input<string>;
|
|
87
|
-
/**
|
|
88
|
-
* Value of session parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
|
|
89
|
-
*/
|
|
90
|
-
value: pulumi.Input<string>;
|
|
91
|
-
}
|
package/sessionParameter.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.SessionParameter = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Import
|
|
10
|
-
*
|
|
11
|
-
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/sessionParameter:SessionParameter s <parameter_name>
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
class SessionParameter extends pulumi.CustomResource {
|
|
16
|
-
/**
|
|
17
|
-
* Get an existing SessionParameter resource's state with the given name, ID, and optional extra
|
|
18
|
-
* properties used to qualify the lookup.
|
|
19
|
-
*
|
|
20
|
-
* @param name The _unique_ name of the resulting resource.
|
|
21
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
-
* @param state Any extra arguments used during the lookup.
|
|
23
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
-
*/
|
|
25
|
-
static get(name, id, state, opts) {
|
|
26
|
-
return new SessionParameter(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Returns true if the given object is an instance of SessionParameter. This is designed to work even
|
|
30
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
-
*/
|
|
32
|
-
static isInstance(obj) {
|
|
33
|
-
if (obj === undefined || obj === null) {
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
return obj['__pulumiType'] === SessionParameter.__pulumiType;
|
|
37
|
-
}
|
|
38
|
-
constructor(name, argsOrState, opts) {
|
|
39
|
-
let resourceInputs = {};
|
|
40
|
-
opts = opts || {};
|
|
41
|
-
if (opts.id) {
|
|
42
|
-
const state = argsOrState;
|
|
43
|
-
resourceInputs["key"] = state ? state.key : undefined;
|
|
44
|
-
resourceInputs["onAccount"] = state ? state.onAccount : undefined;
|
|
45
|
-
resourceInputs["user"] = state ? state.user : undefined;
|
|
46
|
-
resourceInputs["value"] = state ? state.value : undefined;
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
const args = argsOrState;
|
|
50
|
-
if ((!args || args.key === undefined) && !opts.urn) {
|
|
51
|
-
throw new Error("Missing required property 'key'");
|
|
52
|
-
}
|
|
53
|
-
if ((!args || args.value === undefined) && !opts.urn) {
|
|
54
|
-
throw new Error("Missing required property 'value'");
|
|
55
|
-
}
|
|
56
|
-
resourceInputs["key"] = args ? args.key : undefined;
|
|
57
|
-
resourceInputs["onAccount"] = args ? args.onAccount : undefined;
|
|
58
|
-
resourceInputs["user"] = args ? args.user : undefined;
|
|
59
|
-
resourceInputs["value"] = args ? args.value : undefined;
|
|
60
|
-
}
|
|
61
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
62
|
-
super(SessionParameter.__pulumiType, name, resourceInputs, opts);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
exports.SessionParameter = SessionParameter;
|
|
66
|
-
/** @internal */
|
|
67
|
-
SessionParameter.__pulumiType = 'snowflake:index/sessionParameter:SessionParameter';
|
|
68
|
-
//# sourceMappingURL=sessionParameter.js.map
|
package/sessionParameter.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sessionParameter.js","sourceRoot":"","sources":["../sessionParameter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI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