We recommend new projects start with resources from the AWS provider.
aws-native.s3tables.TablePolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::S3Tables::TablePolicy
Create TablePolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TablePolicy(name: string, args: TablePolicyArgs, opts?: CustomResourceOptions);
@overload
def TablePolicy(resource_name: str,
args: TablePolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TablePolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_policy: Optional[TablePolicyResourcePolicyArgs] = None,
table_arn: Optional[str] = None)
func NewTablePolicy(ctx *Context, name string, args TablePolicyArgs, opts ...ResourceOption) (*TablePolicy, error)
public TablePolicy(string name, TablePolicyArgs args, CustomResourceOptions? opts = null)
public TablePolicy(String name, TablePolicyArgs args)
public TablePolicy(String name, TablePolicyArgs args, CustomResourceOptions options)
type: aws-native:s3tables:TablePolicy
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 TablePolicyArgs
- 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 TablePolicyArgs
- 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 TablePolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TablePolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TablePolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TablePolicy 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 TablePolicy resource accepts the following input properties:
- Resource
Policy Pulumi.Aws Native. S3Tables. Inputs. Table Policy Resource Policy - The
JSON
that defines the policy. - Table
Arn string - The Amazon Resource Name (ARN) of the table.
- Resource
Policy TablePolicy Resource Policy Args - The
JSON
that defines the policy. - Table
Arn string - The Amazon Resource Name (ARN) of the table.
- resource
Policy TablePolicy Resource Policy - The
JSON
that defines the policy. - table
Arn String - The Amazon Resource Name (ARN) of the table.
- resource
Policy TablePolicy Resource Policy - The
JSON
that defines the policy. - table
Arn string - The Amazon Resource Name (ARN) of the table.
- resource_
policy TablePolicy Resource Policy Args - The
JSON
that defines the policy. - table_
arn str - The Amazon Resource Name (ARN) of the table.
- resource
Policy Property Map - The
JSON
that defines the policy. - table
Arn String - The Amazon Resource Name (ARN) of the table.
Outputs
All input properties are implicitly available as output properties. Additionally, the TablePolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- The namespace to associated with the table.
- Table
Bucket stringArn - The Amazon Resource Name (ARN) of the table bucket that contains the table.
- Table
Name string - The name of the table.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- The namespace to associated with the table.
- Table
Bucket stringArn - The Amazon Resource Name (ARN) of the table bucket that contains the table.
- Table
Name string - The name of the table.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- The namespace to associated with the table.
- table
Bucket StringArn - The Amazon Resource Name (ARN) of the table bucket that contains the table.
- table
Name String - The name of the table.
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- The namespace to associated with the table.
- table
Bucket stringArn - The Amazon Resource Name (ARN) of the table bucket that contains the table.
- table
Name string - The name of the table.
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- The namespace to associated with the table.
- table_
bucket_ strarn - The Amazon Resource Name (ARN) of the table bucket that contains the table.
- table_
name str - The name of the table.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- The namespace to associated with the table.
- 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.