Package com.pulumi.aws.organizations
Class PolicyAttachmentArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.organizations.PolicyAttachmentArgs
-
public final class PolicyAttachmentArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPolicyAttachmentArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static PolicyAttachmentArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyAttachmentArgs.Builderbuilder()static PolicyAttachmentArgs.Builderbuilder(PolicyAttachmentArgs defaults)com.pulumi.core.Output<java.lang.String>policyId()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>skipDestroy()com.pulumi.core.Output<java.lang.String>targetId()
-
-
-
Field Detail
-
Empty
public static final PolicyAttachmentArgs Empty
-
-
Method Detail
-
policyId
public com.pulumi.core.Output<java.lang.String> policyId()
- Returns:
- The unique identifier (ID) of the policy that you want to attach to the target.
-
skipDestroy
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> skipDestroy()
- Returns:
- If set to `true`, destroy will **not** detach the policy and instead just remove the resource from state. This can be useful in situations where the attachment must be preserved to meet the AWS minimum requirement of 1 attached policy.
-
targetId
public com.pulumi.core.Output<java.lang.String> targetId()
- Returns:
- The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to.
-
builder
public static PolicyAttachmentArgs.Builder builder()
-
builder
public static PolicyAttachmentArgs.Builder builder(PolicyAttachmentArgs defaults)
-
-