Class GetPrincipalPolicySimulationContext


  • public final class GetPrincipalPolicySimulationContext
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • key

        public java.lang.String key()
        Returns:
        The context _condition key_ to set. If you have policies containing `Condition` elements or using dynamic interpolations then you will need to provide suitable values for each condition key your policies use. See [Actions, resources, and condition keys for AWS services](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) to find the various condition keys that are normally provided for real requests to each action of each AWS service.
      • type

        public java.lang.String type()
        Returns:
        An IAM value type that determines how the policy simulator will interpret the strings given in `values`. For more information, see the `ContextKeyType` field of [`iam.ContextEntry`](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextEntry.html) in the underlying API.
      • values

        public java.util.List<java.lang.String> values()
        Returns:
        A set of one or more values for this context entry.