Amazon IAM Access Analyzer · JSON Structure

Iam Access Analyzer S3 Public Access Block Configuration Structure

The PublicAccessBlock configuration to apply to this Amazon S3 bucket. If the proposed configuration is for an existing Amazon S3 bucket and the configuration is not specified, the access preview uses the existing setting. If the proposed configuration is for a new bucket and the configuration is not specified, the access preview uses false. If the proposed configuration is for a new access point or multi-region access point and the access point BPA configuration is not specified, the access preview uses true. For more information, see PublicAccessBlockConfiguration.

Type: object Properties: 2 Required: 2
Access ControlComplianceIAMPolicy ManagementSecurity

S3PublicAccessBlockConfiguration is a JSON Structure definition published by Amazon IAM Access Analyzer, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

ignorePublicAcls restrictPublicBuckets

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iam-access-analyzer/refs/heads/main/json-structure/iam-access-analyzer-s3-public-access-block-configuration-structure.json",
  "name": "S3PublicAccessBlockConfiguration",
  "description": "The <code>PublicAccessBlock</code> configuration to apply to this Amazon S3 bucket. If the proposed configuration is for an existing Amazon S3 bucket and the configuration is not specified, the access preview uses the existing setting. If the proposed configuration is for a new bucket and the configuration is not specified, the access preview uses <code>false</code>. If the proposed configuration is for a new access point or multi-region access point and the access point BPA configuration is not specified, the access preview uses <code>true</code>. For more information, see <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-publicaccessblockconfiguration.html\">PublicAccessBlockConfiguration</a>. ",
  "type": "object",
  "properties": {
    "ignorePublicAcls": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Boolean"
        },
        {
          "description": " Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket. "
        }
      ]
    },
    "restrictPublicBuckets": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Boolean"
        },
        {
          "description": " Specifies whether Amazon S3 should restrict public bucket policies for this bucket. "
        }
      ]
    }
  },
  "required": [
    "ignorePublicAcls",
    "restrictPublicBuckets"
  ]
}