Skip to main content

verified_access_groups

Creates, updates, deletes or gets a verified_access_group resource or lists verified_access_groups in a region

Overview

Nameverified_access_groups
TypeResource
DescriptionThe AWS::EC2::VerifiedAccessGroup resource creates an AWS EC2 Verified Access Group.
Idawscc.ec2.verified_access_groups

Fields

NameDatatypeDescription
verified_access_group_idstringThe ID of the AWS Verified Access group.
verified_access_instance_idstringThe ID of the AWS Verified Access instance.
verified_access_group_arnstringThe ARN of the Verified Access group.
ownerstringThe AWS account number that owns the group.
creation_timestringTime this Verified Access Group was created.
last_updated_timestringTime this Verified Access Group was last updated.
descriptionstringA description for the AWS Verified Access group.
policy_documentstringThe AWS Verified Access policy document.
policy_enabledbooleanThe status of the Verified Access policy.
tagsarrayAn array of key-value pairs to apply to this resource.
sse_specificationobjectThe configuration options for customer provided KMS encryption.
regionstringAWS region.

For more information, see AWS::EC2::VerifiedAccessGroup.

Methods

NameResourceAccessible byRequired Params
create_resourceverified_access_groupsINSERTVerifiedAccessInstanceId, region
delete_resourceverified_access_groupsDELETEIdentifier, region
update_resourceverified_access_groupsUPDATEIdentifier, PatchDocument, region
list_resourcesverified_access_groups_list_onlySELECTregion
get_resourceverified_access_groupsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual verified_access_group.

SELECT
region,
verified_access_group_id,
verified_access_instance_id,
verified_access_group_arn,
owner,
creation_time,
last_updated_time,
description,
policy_document,
policy_enabled,
tags,
sse_specification
FROM awscc.ec2.verified_access_groups
WHERE
region = 'us-east-1' AND
Identifier = '{{ verified_access_group_id }}';

INSERT example

Use the following StackQL query and manifest file to create a new verified_access_group resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.ec2.verified_access_groups (
VerifiedAccessInstanceId,
region
)
SELECT
'{{ verified_access_instance_id }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a verified_access_group resource, using stack-deploy.

/*+ update */
UPDATE awscc.ec2.verified_access_groups
SET PatchDocument = string('{{ {
"VerifiedAccessInstanceId": verified_access_instance_id,
"Description": description,
"PolicyDocument": policy_document,
"PolicyEnabled": policy_enabled,
"Tags": tags,
"SseSpecification": sse_specification
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ verified_access_group_id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.ec2.verified_access_groups
WHERE
Identifier = '{{ verified_access_group_id }}' AND
region = 'us-east-1';

Permissions

To operate on the verified_access_groups resource, the following permissions are required:

ec2:CreateVerifiedAccessGroup,
ec2:DescribeVerifiedAccessGroups,
ec2:GetVerifiedAccessGroupPolicy,
ec2:CreateTags,
ec2:DescribeTags,
kms:DescribeKey,
kms:RetireGrant,
kms:CreateGrant,
kms:GenerateDataKey,
kms:Decrypt