snowflake.StorageIntegration
Explore with Pulumi AI
Import
$ pulumi import snowflake:index/storageIntegration:StorageIntegration example name
Create StorageIntegration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StorageIntegration(name: string, args: StorageIntegrationArgs, opts?: CustomResourceOptions);
@overload
def StorageIntegration(resource_name: str,
args: StorageIntegrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StorageIntegration(resource_name: str,
opts: Optional[ResourceOptions] = None,
storage_allowed_locations: Optional[Sequence[str]] = None,
storage_provider: Optional[str] = None,
azure_tenant_id: Optional[str] = None,
comment: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
storage_aws_object_acl: Optional[str] = None,
storage_aws_role_arn: Optional[str] = None,
storage_blocked_locations: Optional[Sequence[str]] = None,
type: Optional[str] = None)
func NewStorageIntegration(ctx *Context, name string, args StorageIntegrationArgs, opts ...ResourceOption) (*StorageIntegration, error)
public StorageIntegration(string name, StorageIntegrationArgs args, CustomResourceOptions? opts = null)
public StorageIntegration(String name, StorageIntegrationArgs args)
public StorageIntegration(String name, StorageIntegrationArgs args, CustomResourceOptions options)
type: snowflake:StorageIntegration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args 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.
- name String
- The unique name of the resource.
- args StorageIntegrationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var storageIntegrationResource = new Snowflake.StorageIntegration("storageIntegrationResource", new()
{
StorageAllowedLocations = new[]
{
"string",
},
StorageProvider = "string",
AzureTenantId = "string",
Comment = "string",
Enabled = false,
Name = "string",
StorageAwsObjectAcl = "string",
StorageAwsRoleArn = "string",
StorageBlockedLocations = new[]
{
"string",
},
Type = "string",
});
example, err := snowflake.NewStorageIntegration(ctx, "storageIntegrationResource", &snowflake.StorageIntegrationArgs{
StorageAllowedLocations: pulumi.StringArray{
pulumi.String("string"),
},
StorageProvider: pulumi.String("string"),
AzureTenantId: pulumi.String("string"),
Comment: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
StorageAwsObjectAcl: pulumi.String("string"),
StorageAwsRoleArn: pulumi.String("string"),
StorageBlockedLocations: pulumi.StringArray{
pulumi.String("string"),
},
Type: pulumi.String("string"),
})
var storageIntegrationResource = new StorageIntegration("storageIntegrationResource", StorageIntegrationArgs.builder()
.storageAllowedLocations("string")
.storageProvider("string")
.azureTenantId("string")
.comment("string")
.enabled(false)
.name("string")
.storageAwsObjectAcl("string")
.storageAwsRoleArn("string")
.storageBlockedLocations("string")
.type("string")
.build());
storage_integration_resource = snowflake.StorageIntegration("storageIntegrationResource",
storage_allowed_locations=["string"],
storage_provider="string",
azure_tenant_id="string",
comment="string",
enabled=False,
name="string",
storage_aws_object_acl="string",
storage_aws_role_arn="string",
storage_blocked_locations=["string"],
type="string")
const storageIntegrationResource = new snowflake.StorageIntegration("storageIntegrationResource", {
storageAllowedLocations: ["string"],
storageProvider: "string",
azureTenantId: "string",
comment: "string",
enabled: false,
name: "string",
storageAwsObjectAcl: "string",
storageAwsRoleArn: "string",
storageBlockedLocations: ["string"],
type: "string",
});
type: snowflake:StorageIntegration
properties:
azureTenantId: string
comment: string
enabled: false
name: string
storageAllowedLocations:
- string
storageAwsObjectAcl: string
storageAwsRoleArn: string
storageBlockedLocations:
- string
storageProvider: string
type: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StorageIntegration resource accepts the following input properties:
- Storage
Allowed List<string>Locations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- Storage
Provider string - Azure
Tenant stringId - Comment string
- Enabled bool
- Name string
- Storage
Aws stringObject Acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- Storage
Aws stringRole Arn - Storage
Blocked List<string>Locations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- Type string
- Storage
Allowed []stringLocations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- Storage
Provider string - Azure
Tenant stringId - Comment string
- Enabled bool
- Name string
- Storage
Aws stringObject Acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- Storage
Aws stringRole Arn - Storage
Blocked []stringLocations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- Type string
- storage
Allowed List<String>Locations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- storage
Provider String - azure
Tenant StringId - comment String
- enabled Boolean
- name String
- storage
Aws StringObject Acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- storage
Aws StringRole Arn - storage
Blocked List<String>Locations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- type String
- storage
Allowed string[]Locations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- storage
Provider string - azure
Tenant stringId - comment string
- enabled boolean
- name string
- storage
Aws stringObject Acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- storage
Aws stringRole Arn - storage
Blocked string[]Locations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- type string
- storage_
allowed_ Sequence[str]locations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- storage_
provider str - azure_
tenant_ strid - comment str
- enabled bool
- name str
- storage_
aws_ strobject_ acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- storage_
aws_ strrole_ arn - storage_
blocked_ Sequence[str]locations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- type str
- storage
Allowed List<String>Locations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- storage
Provider String - azure
Tenant StringId - comment String
- enabled Boolean
- name String
- storage
Aws StringObject Acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- storage
Aws StringRole Arn - storage
Blocked List<String>Locations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- type String
Outputs
All input properties are implicitly available as output properties. Additionally, the StorageIntegration resource produces the following output properties:
- Azure
Consent stringUrl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- Azure
Multi stringTenant App Name - This is the name of the Snowflake client application created for your account.
- Created
On string - Date and time when the storage integration was created.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Storage
Aws stringExternal Id - The external ID that Snowflake will use when assuming the AWS role.
- Storage
Aws stringIam User Arn - The Snowflake user that will attempt to assume the AWS role.
- Storage
Gcp stringService Account - This is the name of the Snowflake Google Service Account created for your account.
- Azure
Consent stringUrl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- Azure
Multi stringTenant App Name - This is the name of the Snowflake client application created for your account.
- Created
On string - Date and time when the storage integration was created.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Storage
Aws stringExternal Id - The external ID that Snowflake will use when assuming the AWS role.
- Storage
Aws stringIam User Arn - The Snowflake user that will attempt to assume the AWS role.
- Storage
Gcp stringService Account - This is the name of the Snowflake Google Service Account created for your account.
- azure
Consent StringUrl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- azure
Multi StringTenant App Name - This is the name of the Snowflake client application created for your account.
- created
On String - Date and time when the storage integration was created.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- storage
Aws StringExternal Id - The external ID that Snowflake will use when assuming the AWS role.
- storage
Aws StringIam User Arn - The Snowflake user that will attempt to assume the AWS role.
- storage
Gcp StringService Account - This is the name of the Snowflake Google Service Account created for your account.
- azure
Consent stringUrl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- azure
Multi stringTenant App Name - This is the name of the Snowflake client application created for your account.
- created
On string - Date and time when the storage integration was created.
- fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- storage
Aws stringExternal Id - The external ID that Snowflake will use when assuming the AWS role.
- storage
Aws stringIam User Arn - The Snowflake user that will attempt to assume the AWS role.
- storage
Gcp stringService Account - This is the name of the Snowflake Google Service Account created for your account.
- azure_
consent_ strurl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- azure_
multi_ strtenant_ app_ name - 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.
- fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- id str
- The provider-assigned unique ID for this managed resource.
- storage_
aws_ strexternal_ id - The external ID that Snowflake will use when assuming the AWS role.
- storage_
aws_ striam_ user_ arn - The Snowflake user that will attempt to assume the AWS role.
- storage_
gcp_ strservice_ account - This is the name of the Snowflake Google Service Account created for your account.
- azure
Consent StringUrl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- azure
Multi StringTenant App Name - This is the name of the Snowflake client application created for your account.
- created
On String - Date and time when the storage integration was created.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- storage
Aws StringExternal Id - The external ID that Snowflake will use when assuming the AWS role.
- storage
Aws StringIam User Arn - The Snowflake user that will attempt to assume the AWS role.
- storage
Gcp StringService Account - This is the name of the Snowflake Google Service Account created for your account.
Look up 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,
fully_qualified_name: Optional[str] = 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_object_acl: 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)
public static StorageIntegration get(String name, Output<String> id, StorageIntegrationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Azure
Consent stringUrl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- Azure
Multi stringTenant App Name - This is the name of the Snowflake client application created for your account.
- Azure
Tenant stringId - Comment string
- Created
On string - Date and time when the storage integration was created.
- Enabled bool
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- Storage
Allowed List<string>Locations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- Storage
Aws stringExternal Id - The external ID that Snowflake will use when assuming the AWS role.
- Storage
Aws stringIam User Arn - The Snowflake user that will attempt to assume the AWS role.
- Storage
Aws stringObject Acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- Storage
Aws stringRole Arn - Storage
Blocked List<string>Locations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- Storage
Gcp stringService Account - This is the name of the Snowflake Google Service Account created for your account.
- Storage
Provider string - Type string
- Azure
Consent stringUrl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- Azure
Multi stringTenant App Name - This is the name of the Snowflake client application created for your account.
- Azure
Tenant stringId - Comment string
- Created
On string - Date and time when the storage integration was created.
- Enabled bool
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- Storage
Allowed []stringLocations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- Storage
Aws stringExternal Id - The external ID that Snowflake will use when assuming the AWS role.
- Storage
Aws stringIam User Arn - The Snowflake user that will attempt to assume the AWS role.
- Storage
Aws stringObject Acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- Storage
Aws stringRole Arn - Storage
Blocked []stringLocations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- Storage
Gcp stringService Account - This is the name of the Snowflake Google Service Account created for your account.
- Storage
Provider string - Type string
- azure
Consent StringUrl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- azure
Multi StringTenant App Name - This is the name of the Snowflake client application created for your account.
- azure
Tenant StringId - comment String
- created
On String - Date and time when the storage integration was created.
- enabled Boolean
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- name String
- storage
Allowed List<String>Locations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- storage
Aws StringExternal Id - The external ID that Snowflake will use when assuming the AWS role.
- storage
Aws StringIam User Arn - The Snowflake user that will attempt to assume the AWS role.
- storage
Aws StringObject Acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- storage
Aws StringRole Arn - storage
Blocked List<String>Locations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- storage
Gcp StringService Account - This is the name of the Snowflake Google Service Account created for your account.
- storage
Provider String - type String
- azure
Consent stringUrl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- azure
Multi stringTenant App Name - This is the name of the Snowflake client application created for your account.
- azure
Tenant stringId - comment string
- created
On string - Date and time when the storage integration was created.
- enabled boolean
- fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- name string
- storage
Allowed string[]Locations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- storage
Aws stringExternal Id - The external ID that Snowflake will use when assuming the AWS role.
- storage
Aws stringIam User Arn - The Snowflake user that will attempt to assume the AWS role.
- storage
Aws stringObject Acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- storage
Aws stringRole Arn - storage
Blocked string[]Locations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- storage
Gcp stringService Account - This is the name of the Snowflake Google Service Account created for your account.
- storage
Provider string - type string
- azure_
consent_ strurl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- azure_
multi_ strtenant_ app_ name - This is the name of the Snowflake client application created for your account.
- azure_
tenant_ strid - comment str
- created_
on str - Date and time when the storage integration was created.
- enabled bool
- fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- name str
- storage_
allowed_ Sequence[str]locations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- storage_
aws_ strexternal_ id - The external ID that Snowflake will use when assuming the AWS role.
- storage_
aws_ striam_ user_ arn - The Snowflake user that will attempt to assume the AWS role.
- storage_
aws_ strobject_ acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- storage_
aws_ strrole_ arn - storage_
blocked_ Sequence[str]locations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- storage_
gcp_ strservice_ account - This is the name of the Snowflake Google Service Account created for your account.
- storage_
provider str - type str
- azure
Consent StringUrl - The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
- azure
Multi StringTenant App Name - This is the name of the Snowflake client application created for your account.
- azure
Tenant StringId - comment String
- created
On String - Date and time when the storage integration was created.
- enabled Boolean
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- name String
- storage
Allowed List<String>Locations - Explicitly limits external stages that use the integration to reference one or more storage locations.
- storage
Aws StringExternal Id - The external ID that Snowflake will use when assuming the AWS role.
- storage
Aws StringIam User Arn - The Snowflake user that will attempt to assume the AWS role.
- storage
Aws StringObject Acl - "bucket-owner-full-control" Enables support for AWS access control lists (ACLs) to grant the bucket owner full control.
- storage
Aws StringRole Arn - storage
Blocked List<String>Locations - Explicitly prohibits external stages that use the integration from referencing one or more storage locations.
- storage
Gcp StringService Account - This is the name of the Snowflake Google Service Account created for your account.
- storage
Provider String - type String
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflake
Terraform Provider.