Class CfnGlobalTablePropsMixin.ReplicaStreamSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalTablePropsMixin.ReplicaStreamSpecificationProperty>
- Enclosing interface:
CfnGlobalTablePropsMixin.ReplicaStreamSpecificationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourcePolicy(CfnGlobalTablePropsMixin.ResourcePolicyProperty resourcePolicy) resourcePolicy(IResolvable resourcePolicy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourcePolicy
@Stability(Stable) public CfnGlobalTablePropsMixin.ReplicaStreamSpecificationProperty.Builder resourcePolicy(IResolvable resourcePolicy) - Parameters:
resourcePolicy- A resource-based policy document that contains the permissions for the specified stream of a DynamoDB global table replica. Resource-based policies let you define access permissions by specifying who has access to each resource, and the actions they are allowed to perform on each resource.In a CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see Using resource-based policies for DynamoDB and Resource-based policy examples .
You can update the
ResourcePolicyproperty if you've specified more than one table using the AWS ::DynamoDB::GlobalTable resource.- Returns:
this
-
resourcePolicy
@Stability(Stable) public CfnGlobalTablePropsMixin.ReplicaStreamSpecificationProperty.Builder resourcePolicy(CfnGlobalTablePropsMixin.ResourcePolicyProperty resourcePolicy) - Parameters:
resourcePolicy- A resource-based policy document that contains the permissions for the specified stream of a DynamoDB global table replica. Resource-based policies let you define access permissions by specifying who has access to each resource, and the actions they are allowed to perform on each resource.In a CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see Using resource-based policies for DynamoDB and Resource-based policy examples .
You can update the
ResourcePolicyproperty if you've specified more than one table using the AWS ::DynamoDB::GlobalTable resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGlobalTablePropsMixin.ReplicaStreamSpecificationProperty>- Returns:
- a new instance of
CfnGlobalTablePropsMixin.ReplicaStreamSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-