Class CheckNoPublicAccessRequest

    • Method Detail

      • policyDocument

        public final String policyDocument()

        The JSON policy document to evaluate for public access.

        Returns:
        The JSON policy document to evaluate for public access.
      • resourceType

        public final AccessCheckResourceType resourceType()

        The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can choose AWS::S3::Bucket for the resource type.

        For resource types not supported as valid values, IAM Access Analyzer will return an error.

        If the service returns an enum value that is not available in the current SDK version, resourceType will return AccessCheckResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from resourceTypeAsString().

        Returns:
        The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can choose AWS::S3::Bucket for the resource type.

        For resource types not supported as valid values, IAM Access Analyzer will return an error.

        See Also:
        AccessCheckResourceType
      • resourceTypeAsString

        public final String resourceTypeAsString()

        The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can choose AWS::S3::Bucket for the resource type.

        For resource types not supported as valid values, IAM Access Analyzer will return an error.

        If the service returns an enum value that is not available in the current SDK version, resourceType will return AccessCheckResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from resourceTypeAsString().

        Returns:
        The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can choose AWS::S3::Bucket for the resource type.

        For resource types not supported as valid values, IAM Access Analyzer will return an error.

        See Also:
        AccessCheckResourceType
      • 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