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 Details

    • create

      @Stability(Stable) public static CfnAuthPolicy.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnAuthPolicy.Builder.
    • policy

      @Stability(Stable) public CfnAuthPolicy.Builder policy(Object policy)
      The auth policy.

      Parameters:
      policy - The auth policy. This parameter is required.
      Returns:
      this
    • resourceIdentifier

      @Stability(Stable) public CfnAuthPolicy.Builder resourceIdentifier(String 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

      @Stability(Stable) public CfnAuthPolicy build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnAuthPolicy>
      Returns:
      a newly built instance of CfnAuthPolicy.