Class GetGeneratedPolicyRequest

    • Method Detail

      • jobId

        public final String jobId()

        The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

        Returns:
        The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
      • includeResourcePlaceholders

        public final Boolean includeResourcePlaceholders()

        The level of detail that you want to generate. You can specify whether to generate policies with placeholders for resource ARNs for actions that support resource level granularity in policies.

        For example, in the resource section of a policy, you can receive a placeholder such as "Resource":"arn:aws:s3:::${BucketName}" instead of "*".

        Returns:
        The level of detail that you want to generate. You can specify whether to generate policies with placeholders for resource ARNs for actions that support resource level granularity in policies.

        For example, in the resource section of a policy, you can receive a placeholder such as "Resource":"arn:aws:s3:::${BucketName}" instead of "*".

      • includeServiceLevelTemplate

        public final Boolean includeServiceLevelTemplate()

        The level of detail that you want to generate. You can specify whether to generate service-level policies.

        IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used recently to create this service-level template.

        Returns:
        The level of detail that you want to generate. You can specify whether to generate service-level policies.

        IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used recently to create this service-level template.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object