Package com.pulumi.aws.xray.inputs
Class ResourcePolicyState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.xray.inputs.ResourcePolicyState
-
public final class ResourcePolicyState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourcePolicyState.Builder
-
Field Summary
Fields Modifier and Type Field Description static ResourcePolicyStateEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourcePolicyState.Builderbuilder()static ResourcePolicyState.Builderbuilder(ResourcePolicyState defaults)java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>bypassPolicyLockoutCheck()java.util.Optional<com.pulumi.core.Output<java.lang.String>>lastUpdatedTime()java.util.Optional<com.pulumi.core.Output<java.lang.String>>policyDocument()java.util.Optional<com.pulumi.core.Output<java.lang.String>>policyName()java.util.Optional<com.pulumi.core.Output<java.lang.String>>policyRevisionId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()
-
-
-
Field Detail
-
Empty
public static final ResourcePolicyState Empty
-
-
Method Detail
-
bypassPolicyLockoutCheck
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> bypassPolicyLockoutCheck()
- Returns:
- Whether to bypass the resource policy lockout safety check. Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately. Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent PutResourcePolicy request. The default value is `false`.
-
lastUpdatedTime
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> lastUpdatedTime()
- Returns:
- When the policy was last updated, in Unix time seconds.
-
policyDocument
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> policyDocument()
- Returns:
- JSON string of the resource policy or resource policy document, which can be up to 5kb in size.
-
policyName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> policyName()
- Returns:
- Name of the resource policy. Must be unique within a specific Amazon Web Services account. The following arguments are optional:
-
policyRevisionId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> policyRevisionId()
- Returns:
- Specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision ID. The revision ID is unique to each policy in the account. If the policy revision ID does not match the latest revision ID, the operation will fail with an InvalidPolicyRevisionIdException exception. You can also provide a PolicyRevisionId of 0. In this case, the operation will fail with an InvalidPolicyRevisionIdException exception if a resource policy with the same name already exists.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
builder
public static ResourcePolicyState.Builder builder()
-
builder
public static ResourcePolicyState.Builder builder(ResourcePolicyState defaults)
-
-