Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Snowflake

v0.2.1 published on Monday, Sep 27, 2021 by Pulumi

StorageIntegration

Import

 $ pulumi import snowflake:index/storageIntegration:StorageIntegration example name

Example Usage

Coming soon!

Coming soon!

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as snowflake from "@pulumi/snowflake";

const integration = new snowflake.StorageIntegration("integration", {
    comment: "A storage integration.",
    enabled: true,
    storageAwsExternalId: "...",
    storageAwsIamUserArn: "...",
    storageAwsRoleArn: "...",
    storageProvider: "S3",
    type: "EXTERNAL_STAGE",
});

Create a StorageIntegration Resource

new StorageIntegration(name: string, args: StorageIntegrationArgs, opts?: CustomResourceOptions);
@overload
def StorageIntegration(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       azure_tenant_id: Optional[str] = None,
                       comment: Optional[str] = None,
                       enabled: Optional[bool] = None,
                       name: Optional[str] = None,
                       storage_allowed_locations: Optional[Sequence[str]] = None,
                       storage_aws_role_arn: Optional[str] = None,
                       storage_blocked_locations: Optional[Sequence[str]] = None,
                       storage_provider: Optional[str] = None,
                       type: Optional[str] = None)
@overload
def StorageIntegration(resource_name: str,
                       args: StorageIntegrationArgs,
                       opts: Optional[ResourceOptions] = None)
func NewStorageIntegration(ctx *Context, name string, args StorageIntegrationArgs, opts ...ResourceOption) (*StorageIntegration, error)
public StorageIntegration(string name, StorageIntegrationArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args StorageIntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args StorageIntegrationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args StorageIntegrationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args StorageIntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

StorageIntegration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The StorageIntegration resource accepts the following input properties:

StorageAllowedLocations List<string>
Explicitly limits external stages that use the integration to reference one or more storage locations.
StorageProvider string
AzureTenantId string
Comment string
Enabled bool
Name string
StorageAwsRoleArn string
StorageBlockedLocations List<string>
Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
Type string
StorageAllowedLocations []string
Explicitly limits external stages that use the integration to reference one or more storage locations.
StorageProvider string
AzureTenantId string
Comment string
Enabled bool
Name string
StorageAwsRoleArn string
StorageBlockedLocations []string
Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
Type string
storageAllowedLocations string[]
Explicitly limits external stages that use the integration to reference one or more storage locations.
storageProvider string
azureTenantId string
comment string
enabled boolean
name string
storageAwsRoleArn string
storageBlockedLocations string[]
Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
type string
storage_allowed_locations Sequence[str]
Explicitly limits external stages that use the integration to reference one or more storage locations.
storage_provider str
azure_tenant_id str
comment str
enabled bool
name str
storage_aws_role_arn str
storage_blocked_locations Sequence[str]
Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
type str

Outputs

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

AzureConsentUrl string
The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
AzureMultiTenantAppName string
This is the name of the Snowflake client application created for your account.
CreatedOn string
Date and time when the storage integration was created.
Id string
The provider-assigned unique ID for this managed resource.
StorageAwsExternalId string
The external ID that Snowflake will use when assuming the AWS role.
StorageAwsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
StorageGcpServiceAccount string
This is the name of the Snowflake Google Service Account created for your account.
AzureConsentUrl string
The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
AzureMultiTenantAppName string
This is the name of the Snowflake client application created for your account.
CreatedOn string
Date and time when the storage integration was created.
Id string
The provider-assigned unique ID for this managed resource.
StorageAwsExternalId string
The external ID that Snowflake will use when assuming the AWS role.
StorageAwsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
StorageGcpServiceAccount string
This is the name of the Snowflake Google Service Account created for your account.
azureConsentUrl string
The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
azureMultiTenantAppName string
This is the name of the Snowflake client application created for your account.
createdOn string
Date and time when the storage integration was created.
id string
The provider-assigned unique ID for this managed resource.
storageAwsExternalId string
The external ID that Snowflake will use when assuming the AWS role.
storageAwsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
storageGcpServiceAccount string
This is the name of the Snowflake Google Service Account created for your account.
azure_consent_url str
The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
azure_multi_tenant_app_name str
This is the name of the Snowflake client application created for your account.
created_on str
Date and time when the storage integration was created.
id str
The provider-assigned unique ID for this managed resource.
storage_aws_external_id str
The external ID that Snowflake will use when assuming the AWS role.
storage_aws_iam_user_arn str
The Snowflake user that will attempt to assume the AWS role.
storage_gcp_service_account str
This is the name of the Snowflake Google Service Account created for your account.

Look up an Existing StorageIntegration Resource

Get an existing StorageIntegration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: StorageIntegrationState, opts?: CustomResourceOptions): StorageIntegration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        azure_consent_url: Optional[str] = None,
        azure_multi_tenant_app_name: Optional[str] = None,
        azure_tenant_id: Optional[str] = None,
        comment: Optional[str] = None,
        created_on: Optional[str] = None,
        enabled: Optional[bool] = None,
        name: Optional[str] = None,
        storage_allowed_locations: Optional[Sequence[str]] = None,
        storage_aws_external_id: Optional[str] = None,
        storage_aws_iam_user_arn: Optional[str] = None,
        storage_aws_role_arn: Optional[str] = None,
        storage_blocked_locations: Optional[Sequence[str]] = None,
        storage_gcp_service_account: Optional[str] = None,
        storage_provider: Optional[str] = None,
        type: Optional[str] = None) -> StorageIntegration
func GetStorageIntegration(ctx *Context, name string, id IDInput, state *StorageIntegrationState, opts ...ResourceOption) (*StorageIntegration, error)
public static StorageIntegration Get(string name, Input<string> id, StorageIntegrationState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AzureConsentUrl string
The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
AzureMultiTenantAppName string
This is the name of the Snowflake client application created for your account.
AzureTenantId string
Comment string
CreatedOn string
Date and time when the storage integration was created.
Enabled bool
Name string
StorageAllowedLocations List<string>
Explicitly limits external stages that use the integration to reference one or more storage locations.
StorageAwsExternalId string
The external ID that Snowflake will use when assuming the AWS role.
StorageAwsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
StorageAwsRoleArn string
StorageBlockedLocations List<string>
Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
StorageGcpServiceAccount string
This is the name of the Snowflake Google Service Account created for your account.
StorageProvider string
Type string
AzureConsentUrl string
The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
AzureMultiTenantAppName string
This is the name of the Snowflake client application created for your account.
AzureTenantId string
Comment string
CreatedOn string
Date and time when the storage integration was created.
Enabled bool
Name string
StorageAllowedLocations []string
Explicitly limits external stages that use the integration to reference one or more storage locations.
StorageAwsExternalId string
The external ID that Snowflake will use when assuming the AWS role.
StorageAwsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
StorageAwsRoleArn string
StorageBlockedLocations []string
Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
StorageGcpServiceAccount string
This is the name of the Snowflake Google Service Account created for your account.
StorageProvider string
Type string
azureConsentUrl string
The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
azureMultiTenantAppName string
This is the name of the Snowflake client application created for your account.
azureTenantId string
comment string
createdOn string
Date and time when the storage integration was created.
enabled boolean
name string
storageAllowedLocations string[]
Explicitly limits external stages that use the integration to reference one or more storage locations.
storageAwsExternalId string
The external ID that Snowflake will use when assuming the AWS role.
storageAwsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
storageAwsRoleArn string
storageBlockedLocations string[]
Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
storageGcpServiceAccount string
This is the name of the Snowflake Google Service Account created for your account.
storageProvider string
type string
azure_consent_url str
The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
azure_multi_tenant_app_name str
This is the name of the Snowflake client application created for your account.
azure_tenant_id str
comment str
created_on str
Date and time when the storage integration was created.
enabled bool
name str
storage_allowed_locations Sequence[str]
Explicitly limits external stages that use the integration to reference one or more storage locations.
storage_aws_external_id str
The external ID that Snowflake will use when assuming the AWS role.
storage_aws_iam_user_arn str
The Snowflake user that will attempt to assume the AWS role.
storage_aws_role_arn str
storage_blocked_locations Sequence[str]
Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
storage_gcp_service_account str
This is the name of the Snowflake Google Service Account created for your account.
storage_provider str
type str

Package Details

Repository
https://github.com/pulumi/pulumi-snowflake
License
Apache-2.0
Notes
This Pulumi package is based on the snowflake Terraform Provider.