Class CfnPolicyStatementPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.entityresolution.CfnPolicyStatementPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyStatementPropsMixin>
- Enclosing class:
CfnPolicyStatementPropsMixin
@Stability(Stable)
public static final class CfnPolicyStatementPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyStatementPropsMixin>
A fluent builder for
CfnPolicyStatementPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe action that the principal can use on the resource.The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.build()A set of condition keys that you can use in key policies.create()create(CfnPropertyMixinOptions options) Determines whether the permissions specified in the policy are to be allowed (Allow) or denied (Deny).The AWS service or AWS account that can access the resource defined as ARN.statementId(String statementId) A statement identifier that differentiates the statement from others in the same policy.
-
Method Details
-
create
@Stability(Stable) public static CfnPolicyStatementPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPolicyStatementPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPolicyStatementPropsMixin.Builder.
-
action
The action that the principal can use on the resource.For example,
entityresolution:GetIdMappingJob,entityresolution:GetMatchingJob.- Parameters:
action- The action that the principal can use on the resource. This parameter is required.- Returns:
this- See Also:
-
arn
The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.- Parameters:
arn- The Amazon Resource Name (ARN) of the resource that will be accessed by the principal. This parameter is required.- Returns:
this- See Also:
-
condition
A set of condition keys that you can use in key policies.- Parameters:
condition- A set of condition keys that you can use in key policies. This parameter is required.- Returns:
this- See Also:
-
effect
Determines whether the permissions specified in the policy are to be allowed (Allow) or denied (Deny).If you set the value of the
effectparameter toDenyfor theAddPolicyStatementoperation, you must also set the value of theeffectparameter in thepolicytoDenyfor thePutPolicyoperation.- Parameters:
effect- Determines whether the permissions specified in the policy are to be allowed (Allow) or denied (Deny). This parameter is required.- Returns:
this- See Also:
-
principal
The AWS service or AWS account that can access the resource defined as ARN.- Parameters:
principal- The AWS service or AWS account that can access the resource defined as ARN. This parameter is required.- Returns:
this- See Also:
-
statementId
A statement identifier that differentiates the statement from others in the same policy.- Parameters:
statementId- A statement identifier that differentiates the statement from others in the same policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyStatementPropsMixin>- Returns:
- a newly built instance of
CfnPolicyStatementPropsMixin.
-