Built-in Policies

allowed-ecs-flavors

The ECS resource is non-compliant if its flavor type is not in the allowed list

Parameter

  • listOfAllowedFlavors: Specifies the list of allowed ECS specifications. The value is an array containing up to 10 elements.

allowed-images-by-id

The ECS resource is non-compliant if the image it used is not in the allowed list

Parameter

  • listOfAllowedImages: Specifies the list of allowed image IDs. The value is an array containing up to 10 elements.

ecs-instance-in-vpc

The ECS resource is non-compliant if it is not in a specific VPC

Parameter

  • vpcId: Specifies the VPC ID, which is a string.

ecs-instance-no-public-ip

The ECS resource is non-compliant if it binds a public IP

Parameter

None

eip-unbound-check

The EIP resource is non-compliant if it is not bound to any other resources

Parameter

None

allowed-volume-specs

The EVS disk is non-compliant if its specification is not in the allowed list

Parameter

  • listOfAllowedSpecs: Specifies the list of allowed EVS disk specifications. The value is an array containing up to 10 elements.

volumes-encrypted-check

The mounted EVS disk is non-compliant if it is not encrypted

Parameter

None

volume-unused-check

The EVS disk is non-compliant if it is unmounted

Parameter

None

required-tag-check

The resource is non-compliant if it does not contain a specific tag

Parameter

  • specifiedTagKey: Specifies the tag key, which is a string.
  • specifiedTagValue: Specifies the list of tag values. If the list is left blank, all values are allowed. The value is an array that can contain up to 10 elements.