Class GetPrincipalPolicySimulationContext.Builder

    • Method Detail

      • key

        public GetPrincipalPolicySimulationContext.Builder key​(java.lang.String key)
        Parameters:
        key - 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.
        Returns:
        builder
      • type

        public GetPrincipalPolicySimulationContext.Builder type​(java.lang.String type)
        Parameters:
        type - 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.
        Returns:
        builder