Package com.pulumi.aws.vpclattice
Class AuthPolicyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.vpclattice.AuthPolicyArgs.Builder
-
- Enclosing class:
- AuthPolicyArgs
public static final class AuthPolicyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(AuthPolicyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthPolicyArgs
build()
AuthPolicyArgs.Builder
policy(com.pulumi.core.Output<java.lang.String> policy)
AuthPolicyArgs.Builder
policy(java.lang.String policy)
AuthPolicyArgs.Builder
resourceIdentifier(com.pulumi.core.Output<java.lang.String> resourceIdentifier)
AuthPolicyArgs.Builder
resourceIdentifier(java.lang.String resourceIdentifier)
AuthPolicyArgs.Builder
state(com.pulumi.core.Output<java.lang.String> state)
AuthPolicyArgs.Builder
state(java.lang.String state)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AuthPolicyArgs defaults)
-
-
Method Detail
-
policy
public AuthPolicyArgs.Builder policy(com.pulumi.core.Output<java.lang.String> policy)
- Parameters:
policy
- The auth policy. The policy string in JSON must not contain newlines or blank lines.- Returns:
- builder
-
policy
public AuthPolicyArgs.Builder policy(java.lang.String policy)
- Parameters:
policy
- The auth policy. The policy string in JSON must not contain newlines or blank lines.- Returns:
- builder
-
resourceIdentifier
public AuthPolicyArgs.Builder resourceIdentifier(com.pulumi.core.Output<java.lang.String> resourceIdentifier)
- Parameters:
resourceIdentifier
- The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.- Returns:
- builder
-
resourceIdentifier
public AuthPolicyArgs.Builder resourceIdentifier(java.lang.String resourceIdentifier)
- Parameters:
resourceIdentifier
- The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.- Returns:
- builder
-
state
public AuthPolicyArgs.Builder state(@Nullable com.pulumi.core.Output<java.lang.String> state)
- Parameters:
state
- The state of the auth policy. The auth policy is only active when the auth type is set to `AWS_IAM`. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is `NONE`, then, any auth policy you provide will remain inactive.- Returns:
- builder
-
state
public AuthPolicyArgs.Builder state(java.lang.String state)
- Parameters:
state
- The state of the auth policy. The auth policy is only active when the auth type is set to `AWS_IAM`. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is `NONE`, then, any auth policy you provide will remain inactive.- Returns:
- builder
-
build
public AuthPolicyArgs build()
-
-