Class CfnAuthPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnAuthPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAuthPolicy>
- Enclosing class:
- CfnAuthPolicy
@Stability(Stable)
public static final class CfnAuthPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAuthPolicy>
A fluent builder for
CfnAuthPolicy.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnAuthPolicy.BuilderThe auth policy.resourceIdentifier(String resourceIdentifier) The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnAuthPolicy.Builder.
-
policy
The auth policy.- Parameters:
policy- The auth policy. This parameter is required.- Returns:
this
-
resourceIdentifier
The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.- Parameters:
resourceIdentifier- The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAuthPolicy>- Returns:
- a newly built instance of
CfnAuthPolicy.
-