1. Packages
  2. Packages
  3. Databricks Provider
  4. API Docs
  5. getAwsAssumeRolePolicy
Viewing docs for Databricks v0.4.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
databricks logo
Viewing docs for Databricks v0.4.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Using getAwsAssumeRolePolicy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAwsAssumeRolePolicy(args: GetAwsAssumeRolePolicyArgs, opts?: InvokeOptions): Promise<GetAwsAssumeRolePolicyResult>
    function getAwsAssumeRolePolicyOutput(args: GetAwsAssumeRolePolicyOutputArgs, opts?: InvokeOptions): Output<GetAwsAssumeRolePolicyResult>
    def get_aws_assume_role_policy(databricks_account_id: Optional[str] = None,
                                   external_id: Optional[str] = None,
                                   for_log_delivery: Optional[bool] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetAwsAssumeRolePolicyResult
    def get_aws_assume_role_policy_output(databricks_account_id: Optional[pulumi.Input[str]] = None,
                                   external_id: Optional[pulumi.Input[str]] = None,
                                   for_log_delivery: Optional[pulumi.Input[bool]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetAwsAssumeRolePolicyResult]
    func GetAwsAssumeRolePolicy(ctx *Context, args *GetAwsAssumeRolePolicyArgs, opts ...InvokeOption) (*GetAwsAssumeRolePolicyResult, error)
    func GetAwsAssumeRolePolicyOutput(ctx *Context, args *GetAwsAssumeRolePolicyOutputArgs, opts ...InvokeOption) GetAwsAssumeRolePolicyResultOutput

    > Note: This function is named GetAwsAssumeRolePolicy in the Go SDK.

    public static class GetAwsAssumeRolePolicy 
    {
        public static Task<GetAwsAssumeRolePolicyResult> InvokeAsync(GetAwsAssumeRolePolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetAwsAssumeRolePolicyResult> Invoke(GetAwsAssumeRolePolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAwsAssumeRolePolicyResult> getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs args, InvokeOptions options)
    public static Output<GetAwsAssumeRolePolicyResult> getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ExternalId string
    Account Id that could be found in the bottom left corner of Accounts Console.
    DatabricksAccountId string
    ForLogDelivery bool
    Either or not this assume role policy should be created for usage log delivery. Defaults to false.
    ExternalId string
    Account Id that could be found in the bottom left corner of Accounts Console.
    DatabricksAccountId string
    ForLogDelivery bool
    Either or not this assume role policy should be created for usage log delivery. Defaults to false.
    externalId String
    Account Id that could be found in the bottom left corner of Accounts Console.
    databricksAccountId String
    forLogDelivery Boolean
    Either or not this assume role policy should be created for usage log delivery. Defaults to false.
    externalId string
    Account Id that could be found in the bottom left corner of Accounts Console.
    databricksAccountId string
    forLogDelivery boolean
    Either or not this assume role policy should be created for usage log delivery. Defaults to false.
    external_id str
    Account Id that could be found in the bottom left corner of Accounts Console.
    databricks_account_id str
    for_log_delivery bool
    Either or not this assume role policy should be created for usage log delivery. Defaults to false.
    externalId String
    Account Id that could be found in the bottom left corner of Accounts Console.
    databricksAccountId String
    forLogDelivery Boolean
    Either or not this assume role policy should be created for usage log delivery. Defaults to false.

    getAwsAssumeRolePolicy Result

    The following output properties are available:

    ExternalId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Json string
    AWS IAM Policy JSON document
    DatabricksAccountId string
    ForLogDelivery bool
    ExternalId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Json string
    AWS IAM Policy JSON document
    DatabricksAccountId string
    ForLogDelivery bool
    externalId String
    id String
    The provider-assigned unique ID for this managed resource.
    json String
    AWS IAM Policy JSON document
    databricksAccountId String
    forLogDelivery Boolean
    externalId string
    id string
    The provider-assigned unique ID for this managed resource.
    json string
    AWS IAM Policy JSON document
    databricksAccountId string
    forLogDelivery boolean
    external_id str
    id str
    The provider-assigned unique ID for this managed resource.
    json str
    AWS IAM Policy JSON document
    databricks_account_id str
    for_log_delivery bool
    externalId String
    id String
    The provider-assigned unique ID for this managed resource.
    json String
    AWS IAM Policy JSON document
    databricksAccountId String
    forLogDelivery Boolean

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo
    Viewing docs for Databricks v0.4.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.