# hkb-dec-ec2-baseline

"DEC-01 block public AMI and snapshot sharing. IMDS defaults omitted, see phase3-open-questions."

| Property | Value |
| --- | --- |
| Type | Declarative policy (EC2) |
| Attached to | the organization root |
| Source | `org/hkb-org-declarative.yaml`, resource `Ec2DeclarativePolicy` |

## Policy text

```yaml
ec2_attributes:
  image_block_public_access:
    state:
      "@@assign": block_new_sharing
  snapshot_block_public_access:
    state:
      "@@assign": block_all_sharing
```
