EC2 Settings

EC2 Settings in AWS provide configuration options that control security, encryption, and access behaviors for EC2 resources. These settings include managing VPC public access exclusions and options, defining allowed AMI usage, setting default EBS encryption and KMS keys, controlling image and snapshot public access, configuring instance metadata defaults, and enabling or disabling serial console access. They help enforce compliance, improve security posture, and standardize resource behavior across an AWS environment.

aws.ec2_settings

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
allowed_amiscorejson
ebs_default_kms_key_idcorestringThe Amazon Resource Name (ARN) of the default KMS key for encryption by default.
ebs_encryption_by_defaultcoreboolIndicates whether encryption by default is enabled.
image_block_public_accesscorejson
imds_defaultscorejsonThe account-level default IMDS settings.
serial_consolecorejson
snapshot_block_public_accesscorejson
sse_typecorestringReserved for future use.
tagscorehstore
vpc_block_public_access_exclusionscorejsonDetails related to the exclusions.
vpc_block_public_access_optionscorejsonDetails related to the options.