1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. s3tables
  5. getTablePolicy

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

aws-native logo

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:

    TableArn string
    The Amazon Resource Name (ARN) of the table.
    TableArn string
    The Amazon Resource Name (ARN) of the table.
    tableArn String
    The Amazon Resource Name (ARN) of the table.
    tableArn string
    The Amazon Resource Name (ARN) of the table.
    table_arn str
    The Amazon Resource Name (ARN) of the table.
    tableArn 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.
    ResourcePolicy Pulumi.AwsNative.S3Tables.Outputs.TablePolicyResourcePolicy
    The JSON that defines the policy.
    TableBucketArn string
    The Amazon Resource Name (ARN) of the table bucket that contains the table.
    TableName string
    The name of the table.
    Namespace string
    The namespace to associated with the table.
    ResourcePolicy TablePolicyResourcePolicy
    The JSON that defines the policy.
    TableBucketArn string
    The Amazon Resource Name (ARN) of the table bucket that contains the table.
    TableName string
    The name of the table.
    namespace String
    The namespace to associated with the table.
    resourcePolicy TablePolicyResourcePolicy
    The JSON that defines the policy.
    tableBucketArn String
    The Amazon Resource Name (ARN) of the table bucket that contains the table.
    tableName String
    The name of the table.
    namespace string
    The namespace to associated with the table.
    resourcePolicy TablePolicyResourcePolicy
    The JSON that defines the policy.
    tableBucketArn string
    The Amazon Resource Name (ARN) of the table bucket that contains the table.
    tableName string
    The name of the table.
    namespace str
    The namespace to associated with the table.
    resource_policy TablePolicyResourcePolicy
    The JSON that defines the policy.
    table_bucket_arn str
    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.
    resourcePolicy Property Map
    The JSON that defines the policy.
    tableBucketArn String
    The Amazon Resource Name (ARN) of the table bucket that contains the table.
    tableName String
    The name of the table.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    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
      AI Agentic Workflows: Register now