databricks.MwsStorageConfigurations
Explore with Pulumi AI
Note Initialize provider with
alias = "mws"
,host = "https://accounts.cloud.databricks.com"
and useprovider = databricks.mws
This resource to configure root bucket new workspaces within AWS.
It is important to understand that this will require you to configure your provider separately for the multiple workspaces resources. This will point to https://accounts.cloud.databricks.com for the HOST and it will use basic auth as that is the only authentication method available for multiple workspaces api.
Please follow this complete runnable example
storage_configuration_name
- name under which this storage configuration is stored
Related Resources
The following resources are used in the same context:
- Provisioning Databricks on AWS guide.
- Provisioning Databricks on AWS with Private Link guide.
- databricks.MwsCredentials to configure the cross-account role for creation of new workspaces within AWS.
- databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS.
- databricks.MwsLogDelivery to configure delivery of billable usage logs and audit logs.
- databricks.MwsNetworks to configure VPC & subnets for new workspaces within AWS.
- databricks.MwsWorkspaces to set up AWS and GCP workspaces.
Create MwsStorageConfigurations Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MwsStorageConfigurations(name: string, args: MwsStorageConfigurationsArgs, opts?: CustomResourceOptions);
@overload
def MwsStorageConfigurations(resource_name: str,
args: MwsStorageConfigurationsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MwsStorageConfigurations(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
bucket_name: Optional[str] = None,
storage_configuration_name: Optional[str] = None)
func NewMwsStorageConfigurations(ctx *Context, name string, args MwsStorageConfigurationsArgs, opts ...ResourceOption) (*MwsStorageConfigurations, error)
public MwsStorageConfigurations(string name, MwsStorageConfigurationsArgs args, CustomResourceOptions? opts = null)
public MwsStorageConfigurations(String name, MwsStorageConfigurationsArgs args)
public MwsStorageConfigurations(String name, MwsStorageConfigurationsArgs args, CustomResourceOptions options)
type: databricks:MwsStorageConfigurations
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 MwsStorageConfigurationsArgs
- 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 MwsStorageConfigurationsArgs
- 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 MwsStorageConfigurationsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MwsStorageConfigurationsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MwsStorageConfigurationsArgs
- 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 mwsStorageConfigurationsResource = new Databricks.MwsStorageConfigurations("mwsStorageConfigurationsResource", new()
{
AccountId = "string",
BucketName = "string",
StorageConfigurationName = "string",
});
example, err := databricks.NewMwsStorageConfigurations(ctx, "mwsStorageConfigurationsResource", &databricks.MwsStorageConfigurationsArgs{
AccountId: pulumi.String("string"),
BucketName: pulumi.String("string"),
StorageConfigurationName: pulumi.String("string"),
})
var mwsStorageConfigurationsResource = new MwsStorageConfigurations("mwsStorageConfigurationsResource", MwsStorageConfigurationsArgs.builder()
.accountId("string")
.bucketName("string")
.storageConfigurationName("string")
.build());
mws_storage_configurations_resource = databricks.MwsStorageConfigurations("mwsStorageConfigurationsResource",
account_id="string",
bucket_name="string",
storage_configuration_name="string")
const mwsStorageConfigurationsResource = new databricks.MwsStorageConfigurations("mwsStorageConfigurationsResource", {
accountId: "string",
bucketName: "string",
storageConfigurationName: "string",
});
type: databricks:MwsStorageConfigurations
properties:
accountId: string
bucketName: string
storageConfigurationName: string
MwsStorageConfigurations 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 MwsStorageConfigurations resource accepts the following input properties:
- Account
Id string - Bucket
Name string - Storage
Configuration stringName
- Account
Id string - Bucket
Name string - Storage
Configuration stringName
- account
Id String - bucket
Name String - storage
Configuration StringName
- account
Id string - bucket
Name string - storage
Configuration stringName
- account_
id str - bucket_
name str - storage_
configuration_ strname
- account
Id String - bucket
Name String - storage
Configuration StringName
Outputs
All input properties are implicitly available as output properties. Additionally, the MwsStorageConfigurations resource produces the following output properties:
- Creation
Time int - Id string
- The provider-assigned unique ID for this managed resource.
- Storage
Configuration stringId - (String) id of storage config to be used for
databricks_mws_workspace
resource.
- Creation
Time int - Id string
- The provider-assigned unique ID for this managed resource.
- Storage
Configuration stringId - (String) id of storage config to be used for
databricks_mws_workspace
resource.
- creation
Time Integer - id String
- The provider-assigned unique ID for this managed resource.
- storage
Configuration StringId - (String) id of storage config to be used for
databricks_mws_workspace
resource.
- creation
Time number - id string
- The provider-assigned unique ID for this managed resource.
- storage
Configuration stringId - (String) id of storage config to be used for
databricks_mws_workspace
resource.
- creation_
time int - id str
- The provider-assigned unique ID for this managed resource.
- storage_
configuration_ strid - (String) id of storage config to be used for
databricks_mws_workspace
resource.
- creation
Time Number - id String
- The provider-assigned unique ID for this managed resource.
- storage
Configuration StringId - (String) id of storage config to be used for
databricks_mws_workspace
resource.
Look up Existing MwsStorageConfigurations Resource
Get an existing MwsStorageConfigurations 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?: MwsStorageConfigurationsState, opts?: CustomResourceOptions): MwsStorageConfigurations
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
bucket_name: Optional[str] = None,
creation_time: Optional[int] = None,
storage_configuration_id: Optional[str] = None,
storage_configuration_name: Optional[str] = None) -> MwsStorageConfigurations
func GetMwsStorageConfigurations(ctx *Context, name string, id IDInput, state *MwsStorageConfigurationsState, opts ...ResourceOption) (*MwsStorageConfigurations, error)
public static MwsStorageConfigurations Get(string name, Input<string> id, MwsStorageConfigurationsState? state, CustomResourceOptions? opts = null)
public static MwsStorageConfigurations get(String name, Output<String> id, MwsStorageConfigurationsState 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.
- Account
Id string - Bucket
Name string - Creation
Time int - Storage
Configuration stringId - (String) id of storage config to be used for
databricks_mws_workspace
resource. - Storage
Configuration stringName
- Account
Id string - Bucket
Name string - Creation
Time int - Storage
Configuration stringId - (String) id of storage config to be used for
databricks_mws_workspace
resource. - Storage
Configuration stringName
- account
Id String - bucket
Name String - creation
Time Integer - storage
Configuration StringId - (String) id of storage config to be used for
databricks_mws_workspace
resource. - storage
Configuration StringName
- account
Id string - bucket
Name string - creation
Time number - storage
Configuration stringId - (String) id of storage config to be used for
databricks_mws_workspace
resource. - storage
Configuration stringName
- account_
id str - bucket_
name str - creation_
time int - storage_
configuration_ strid - (String) id of storage config to be used for
databricks_mws_workspace
resource. - storage_
configuration_ strname
- account
Id String - bucket
Name String - creation
Time Number - storage
Configuration StringId - (String) id of storage config to be used for
databricks_mws_workspace
resource. - storage
Configuration StringName
Import
-> Note Importing this resource is not currently supported.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.