We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.36.0 published on Friday, Oct 3, 2025 by Pulumi
aws-native.s3tables.getTablePolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.36.0 published on Friday, Oct 3, 2025 by Pulumi
Resource Type definition for AWS::S3Tables::TablePolicy
Using getTablePolicy
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 getTablePolicy(args: GetTablePolicyArgs, opts?: InvokeOptions): Promise<GetTablePolicyResult>
function getTablePolicyOutput(args: GetTablePolicyOutputArgs, opts?: InvokeOptions): Output<GetTablePolicyResult>
def get_table_policy(table_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTablePolicyResult
def get_table_policy_output(table_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTablePolicyResult]
func LookupTablePolicy(ctx *Context, args *LookupTablePolicyArgs, opts ...InvokeOption) (*LookupTablePolicyResult, error)
func LookupTablePolicyOutput(ctx *Context, args *LookupTablePolicyOutputArgs, opts ...InvokeOption) LookupTablePolicyResultOutput
> Note: This function is named LookupTablePolicy
in the Go SDK.
public static class GetTablePolicy
{
public static Task<GetTablePolicyResult> InvokeAsync(GetTablePolicyArgs args, InvokeOptions? opts = null)
public static Output<GetTablePolicyResult> Invoke(GetTablePolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTablePolicyResult> getTablePolicy(GetTablePolicyArgs args, InvokeOptions options)
public static Output<GetTablePolicyResult> getTablePolicy(GetTablePolicyArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:s3tables:getTablePolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Table
Arn string - The Amazon Resource Name (ARN) of the table.
- Table
Arn string - The Amazon Resource Name (ARN) of the table.
- table
Arn String - The Amazon Resource Name (ARN) of the table.
- table
Arn string - The Amazon Resource Name (ARN) of the table.
- table_
arn str - The Amazon Resource Name (ARN) of the table.
- table
Arn String - The Amazon Resource Name (ARN) of the table.
getTablePolicy Result
The following output properties are available:
- Namespace string
- The namespace to associated with the table.
- Resource
Policy Pulumi.Aws Native. S3Tables. Outputs. Table Policy Resource Policy - The
JSON
that defines the policy. - Table
Bucket stringArn - The Amazon Resource Name (ARN) of the table bucket that contains the table.
- Table
Name string - The name of the table.
- Namespace string
- The namespace to associated with the table.
- Resource
Policy TablePolicy Resource Policy - The
JSON
that defines the policy. - Table
Bucket stringArn - The Amazon Resource Name (ARN) of the table bucket that contains the table.
- Table
Name string - The name of the table.
- namespace String
- The namespace to associated with the table.
- resource
Policy TablePolicy Resource Policy - The
JSON
that defines the policy. - table
Bucket StringArn - The Amazon Resource Name (ARN) of the table bucket that contains the table.
- table
Name String - The name of the table.
- namespace string
- The namespace to associated with the table.
- resource
Policy TablePolicy Resource Policy - The
JSON
that defines the policy. - table
Bucket stringArn - The Amazon Resource Name (ARN) of the table bucket that contains the table.
- table
Name string - The name of the table.
- namespace str
- The namespace to associated with the table.
- resource_
policy TablePolicy Resource Policy - The
JSON
that defines the policy. - table_
bucket_ strarn - The Amazon Resource Name (ARN) of the table bucket that contains the table.
- table_
name str - The name of the table.
- namespace String
- The namespace to associated with the table.
- resource
Policy Property Map - The
JSON
that defines the policy. - table
Bucket StringArn - The Amazon Resource Name (ARN) of the table bucket that contains the table.
- table
Name String - The name of the table.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.36.0 published on Friday, Oct 3, 2025 by Pulumi