Interface Check.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Check.Builder,,Check> SdkBuilder<Check.Builder,,Check> SdkPojo
- Enclosing class:
Check
-
Method Summary
Modifier and TypeMethodDescriptionThe type of requirement that the check evaluates.The type of requirement that the check evaluates.evaluatedEffect(String evaluatedEffect) The result of evaluating this requirement.evaluatedEffect(CheckEffect evaluatedEffect) The result of evaluating this requirement.matchedPolicies(Collection<MatchedPolicy> matchedPolicies) Policies in this list have statements that matched for this check.matchedPolicies(Consumer<MatchedPolicy.Builder>... matchedPolicies) Policies in this list have statements that matched for this check.matchedPolicies(MatchedPolicy... matchedPolicies) Policies in this list have statements that matched for this check.relevantPolicyTypes(Collection<PolicyType> relevantPolicyTypes) The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.relevantPolicyTypes(PolicyType... relevantPolicyTypes) The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.relevantPolicyTypesWithStrings(String... relevantPolicyTypes) The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.relevantPolicyTypesWithStrings(Collection<String> relevantPolicyTypes) The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.The ARN that distinguishes this check from other checks of the same type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
checkType
The type of requirement that the check evaluates. Valid values:
-
SERVICE_CONTROL_POLICY- The service control policies (SCPs) attached to one organization target, such as a root, organizational unit, or account, that apply to the principal. -
RESOURCE_CONTROL_POLICY- The resource control policies (RCPs) attached to one organization target that apply to the resource. -
VPC_ENDPOINT- The VPC endpoint policy for the endpoint through which the request passes. -
RESOURCE- The resource owner's resource-based policies, when the owner must allow the request separately, such as a cross-account request or a request to an AWS KMS key. -
PRINCIPAL- The principal's identity-based policies attached to the IAM user or role. -
PERMISSIONS_BOUNDARY- The permissions boundary on the IAM user or role. -
SESSION- The role session that made the request, decided by its session policies.
- Parameters:
checkType- The type of requirement that the check evaluates. Valid values:-
SERVICE_CONTROL_POLICY- The service control policies (SCPs) attached to one organization target, such as a root, organizational unit, or account, that apply to the principal. -
RESOURCE_CONTROL_POLICY- The resource control policies (RCPs) attached to one organization target that apply to the resource. -
VPC_ENDPOINT- The VPC endpoint policy for the endpoint through which the request passes. -
RESOURCE- The resource owner's resource-based policies, when the owner must allow the request separately, such as a cross-account request or a request to an AWS KMS key. -
PRINCIPAL- The principal's identity-based policies attached to the IAM user or role. -
PERMISSIONS_BOUNDARY- The permissions boundary on the IAM user or role. -
SESSION- The role session that made the request, decided by its session policies.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
checkType
The type of requirement that the check evaluates. Valid values:
-
SERVICE_CONTROL_POLICY- The service control policies (SCPs) attached to one organization target, such as a root, organizational unit, or account, that apply to the principal. -
RESOURCE_CONTROL_POLICY- The resource control policies (RCPs) attached to one organization target that apply to the resource. -
VPC_ENDPOINT- The VPC endpoint policy for the endpoint through which the request passes. -
RESOURCE- The resource owner's resource-based policies, when the owner must allow the request separately, such as a cross-account request or a request to an AWS KMS key. -
PRINCIPAL- The principal's identity-based policies attached to the IAM user or role. -
PERMISSIONS_BOUNDARY- The permissions boundary on the IAM user or role. -
SESSION- The role session that made the request, decided by its session policies.
- Parameters:
checkType- The type of requirement that the check evaluates. Valid values:-
SERVICE_CONTROL_POLICY- The service control policies (SCPs) attached to one organization target, such as a root, organizational unit, or account, that apply to the principal. -
RESOURCE_CONTROL_POLICY- The resource control policies (RCPs) attached to one organization target that apply to the resource. -
VPC_ENDPOINT- The VPC endpoint policy for the endpoint through which the request passes. -
RESOURCE- The resource owner's resource-based policies, when the owner must allow the request separately, such as a cross-account request or a request to an AWS KMS key. -
PRINCIPAL- The principal's identity-based policies attached to the IAM user or role. -
PERMISSIONS_BOUNDARY- The permissions boundary on the IAM user or role. -
SESSION- The role session that made the request, decided by its session policies.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
evaluatedEffect
The result of evaluating this requirement. Valid values:
-
ALLOW- A statement that applies to this check allows the request. -
EXPLICIT_DENY- A deny statement that applies to this check matches. -
IMPLICIT_DENY- The check required an allow and nothing that applies to it allows the request. -
NO_IMPACT- No statement in this check matched, and no allow was needed because another path allowed the request.
- Parameters:
evaluatedEffect- The result of evaluating this requirement. Valid values:-
ALLOW- A statement that applies to this check allows the request. -
EXPLICIT_DENY- A deny statement that applies to this check matches. -
IMPLICIT_DENY- The check required an allow and nothing that applies to it allows the request. -
NO_IMPACT- No statement in this check matched, and no allow was needed because another path allowed the request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
evaluatedEffect
The result of evaluating this requirement. Valid values:
-
ALLOW- A statement that applies to this check allows the request. -
EXPLICIT_DENY- A deny statement that applies to this check matches. -
IMPLICIT_DENY- The check required an allow and nothing that applies to it allows the request. -
NO_IMPACT- No statement in this check matched, and no allow was needed because another path allowed the request.
- Parameters:
evaluatedEffect- The result of evaluating this requirement. Valid values:-
ALLOW- A statement that applies to this check allows the request. -
EXPLICIT_DENY- A deny statement that applies to this check matches. -
IMPLICIT_DENY- The check required an allow and nothing that applies to it allows the request. -
NO_IMPACT- No statement in this check matched, and no allow was needed because another path allowed the request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
targetArn
The ARN that distinguishes this check from other checks of the same type. This value is absent when the check type alone identifies the check. For SCP and RCP checks, this is the AWS Organizations ARN of the root, organizational unit, or account that the evaluated policies are attached to.
- Parameters:
targetArn- The ARN that distinguishes this check from other checks of the same type. This value is absent when the check type alone identifies the check. For SCP and RCP checks, this is the AWS Organizations ARN of the root, organizational unit, or account that the evaluated policies are attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relevantPolicyTypesWithStrings
The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.
matchedPolicieslists matching policies in the top-levelpolicieslist.- Parameters:
relevantPolicyTypes- The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.matchedPolicieslists matching policies in the top-levelpolicieslist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relevantPolicyTypesWithStrings
The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.
matchedPolicieslists matching policies in the top-levelpolicieslist.- Parameters:
relevantPolicyTypes- The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.matchedPolicieslists matching policies in the top-levelpolicieslist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relevantPolicyTypes
The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.
matchedPolicieslists matching policies in the top-levelpolicieslist.- Parameters:
relevantPolicyTypes- The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.matchedPolicieslists matching policies in the top-levelpolicieslist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relevantPolicyTypes
The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.
matchedPolicieslists matching policies in the top-levelpolicieslist.- Parameters:
relevantPolicyTypes- The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.matchedPolicieslists matching policies in the top-levelpolicieslist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchedPolicies
Policies in this list have statements that matched for this check. Each URI corresponds to an entry in the top-level
policieslist. Only policies in the top-level list are included. The check effect can reflect a matched policy omitted from this list, so this list can be empty even when the effect isALLOW.- Parameters:
matchedPolicies- Policies in this list have statements that matched for this check. Each URI corresponds to an entry in the top-levelpolicieslist. Only policies in the top-level list are included. The check effect can reflect a matched policy omitted from this list, so this list can be empty even when the effect isALLOW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchedPolicies
Policies in this list have statements that matched for this check. Each URI corresponds to an entry in the top-level
policieslist. Only policies in the top-level list are included. The check effect can reflect a matched policy omitted from this list, so this list can be empty even when the effect isALLOW.- Parameters:
matchedPolicies- Policies in this list have statements that matched for this check. Each URI corresponds to an entry in the top-levelpolicieslist. Only policies in the top-level list are included. The check effect can reflect a matched policy omitted from this list, so this list can be empty even when the effect isALLOW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchedPolicies
Policies in this list have statements that matched for this check. Each URI corresponds to an entry in the top-level
This is a convenience method that creates an instance of thepolicieslist. Only policies in the top-level list are included. The check effect can reflect a matched policy omitted from this list, so this list can be empty even when the effect isALLOW.MatchedPolicy.Builderavoiding the need to create one manually viaMatchedPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatchedPolicies(List<MatchedPolicy>).- Parameters:
matchedPolicies- a consumer that will call methods onMatchedPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-