published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Create AwsS3Mount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AwsS3Mount(name: string, args: AwsS3MountArgs, opts?: CustomResourceOptions);@overload
def AwsS3Mount(resource_name: str,
args: AwsS3MountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AwsS3Mount(resource_name: str,
opts: Optional[ResourceOptions] = None,
mount_name: Optional[str] = None,
s3_bucket_name: Optional[str] = None,
cluster_id: Optional[str] = None,
instance_profile: Optional[str] = None)func NewAwsS3Mount(ctx *Context, name string, args AwsS3MountArgs, opts ...ResourceOption) (*AwsS3Mount, error)public AwsS3Mount(string name, AwsS3MountArgs args, CustomResourceOptions? opts = null)
public AwsS3Mount(String name, AwsS3MountArgs args)
public AwsS3Mount(String name, AwsS3MountArgs args, CustomResourceOptions options)
type: databricks:AwsS3Mount
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 AwsS3MountArgs
- 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 AwsS3MountArgs
- 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 AwsS3MountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AwsS3MountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AwsS3MountArgs
- 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 awsS3MountResource = new Databricks.AwsS3Mount("awsS3MountResource", new()
{
MountName = "string",
S3BucketName = "string",
ClusterId = "string",
InstanceProfile = "string",
});
example, err := databricks.NewAwsS3Mount(ctx, "awsS3MountResource", &databricks.AwsS3MountArgs{
MountName: pulumi.String("string"),
S3BucketName: pulumi.String("string"),
ClusterId: pulumi.String("string"),
InstanceProfile: pulumi.String("string"),
})
var awsS3MountResource = new AwsS3Mount("awsS3MountResource", AwsS3MountArgs.builder()
.mountName("string")
.s3BucketName("string")
.clusterId("string")
.instanceProfile("string")
.build());
aws_s3_mount_resource = databricks.AwsS3Mount("awsS3MountResource",
mount_name="string",
s3_bucket_name="string",
cluster_id="string",
instance_profile="string")
const awsS3MountResource = new databricks.AwsS3Mount("awsS3MountResource", {
mountName: "string",
s3BucketName: "string",
clusterId: "string",
instanceProfile: "string",
});
type: databricks:AwsS3Mount
properties:
clusterId: string
instanceProfile: string
mountName: string
s3BucketName: string
AwsS3Mount 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 AwsS3Mount resource accepts the following input properties:
- Mount
Name string - S3Bucket
Name string - Cluster
Id string - Instance
Profile string
- Mount
Name string - S3Bucket
Name string - Cluster
Id string - Instance
Profile string
- mount
Name String - s3Bucket
Name String - cluster
Id String - instance
Profile String
- mount
Name string - s3Bucket
Name string - cluster
Id string - instance
Profile string
- mount_
name str - s3_
bucket_ strname - cluster_
id str - instance_
profile str
- mount
Name String - s3Bucket
Name String - cluster
Id String - instance
Profile String
Outputs
All input properties are implicitly available as output properties. Additionally, the AwsS3Mount resource produces the following output properties:
Look up Existing AwsS3Mount Resource
Get an existing AwsS3Mount 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?: AwsS3MountState, opts?: CustomResourceOptions): AwsS3Mount@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
instance_profile: Optional[str] = None,
mount_name: Optional[str] = None,
s3_bucket_name: Optional[str] = None,
source: Optional[str] = None) -> AwsS3Mountfunc GetAwsS3Mount(ctx *Context, name string, id IDInput, state *AwsS3MountState, opts ...ResourceOption) (*AwsS3Mount, error)public static AwsS3Mount Get(string name, Input<string> id, AwsS3MountState? state, CustomResourceOptions? opts = null)public static AwsS3Mount get(String name, Output<String> id, AwsS3MountState state, CustomResourceOptions options)resources: _: type: databricks:AwsS3Mount get: id: ${id}- 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.
- Cluster
Id string - Instance
Profile string - Mount
Name string - S3Bucket
Name string - Source string
- Cluster
Id string - Instance
Profile string - Mount
Name string - S3Bucket
Name string - Source string
- cluster
Id String - instance
Profile String - mount
Name String - s3Bucket
Name String - source String
- cluster
Id string - instance
Profile string - mount
Name string - s3Bucket
Name string - source string
- cluster_
id str - instance_
profile str - mount_
name str - s3_
bucket_ strname - source str
- cluster
Id String - instance
Profile String - mount
Name String - s3Bucket
Name String - source String
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricksTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi
