Skip to main content

verified_access_instances

Creates, updates, deletes or gets a verified_access_instance resource or lists verified_access_instances in a region

Overview

Nameverified_access_instances
TypeResource
DescriptionThe AWS::EC2::VerifiedAccessInstance resource creates an AWS EC2 Verified Access Instance.
Idaws.ec2.verified_access_instances

Fields

NameDatatypeDescription
verified_access_instance_idstringThe ID of the AWS Verified Access instance.
verified_access_trust_providersarrayAWS Verified Access trust providers.
verified_access_trust_provider_idsarrayThe IDs of the AWS Verified Access trust providers.
creation_timestringTime this Verified Access Instance was created.
last_updated_timestringTime this Verified Access Instance was last updated.
descriptionstringA description for the AWS Verified Access instance.
logging_configurationsobjectThe configuration options for AWS Verified Access instances.
tagsarrayAn array of key-value pairs to apply to this resource.
fips_enabledbooleanIndicates whether FIPS is enabled
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all verified_access_instances in a region.

SELECT
region,
verified_access_instance_id,
verified_access_trust_providers,
verified_access_trust_provider_ids,
creation_time,
last_updated_time,
description,
logging_configurations,
tags,
fips_enabled
FROM aws.ec2.verified_access_instances
WHERE region = 'us-east-1';

Gets all properties from an individual verified_access_instance.

SELECT
region,
verified_access_instance_id,
verified_access_trust_providers,
verified_access_trust_provider_ids,
creation_time,
last_updated_time,
description,
logging_configurations,
tags,
fips_enabled
FROM aws.ec2.verified_access_instances
WHERE region = 'us-east-1' AND data__Identifier = '<VerifiedAccessInstanceId>';

INSERT example

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

/*+ create */
INSERT INTO aws.ec2.verified_access_instances (
VerifiedAccessTrustProviders,
VerifiedAccessTrustProviderIds,
Description,
LoggingConfigurations,
Tags,
FipsEnabled,
region
)
SELECT
'{{ VerifiedAccessTrustProviders }}',
'{{ VerifiedAccessTrustProviderIds }}',
'{{ Description }}',
'{{ LoggingConfigurations }}',
'{{ Tags }}',
'{{ FipsEnabled }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.ec2.verified_access_instances
WHERE data__Identifier = '<VerifiedAccessInstanceId>'
AND region = 'us-east-1';

Permissions

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

Create

ec2:CreateVerifiedAccessInstance,
ec2:AttachVerifiedAccessTrustProvider,
ec2:ModifyVerifiedAccessInstanceLoggingConfiguration,
ec2:DescribeVerifiedAccessInstances,
ec2:DescribeVerifiedAccessInstanceLoggingConfigurations,
ec2:CreateTags,
ec2:DescribeTags,
logs:CreateLogDelivery,
logs:GetLogDelivery,
logs:UpdateLogDelivery,
logs:PutDestination,
logs:DeleteLogDelivery,
logs:ListLogDeliveries,
logs:PutLogEvents,
logs:DescribeLogStreams,
s3:listBuckets,
s3:PutObject,
s3:GetBucketPolicy,
s3:PutBucketPolicy,
logs:DescribeLogGroups,
logs:PutResourcePolicy,
firehose:TagDeliveryStream,
logs:DescribeResourcePolicies,
iam:CreateServiceLinkedRole,
verified-access:AllowVerifiedAccess

Read

ec2:DescribeVerifiedAccessInstances,
ec2:DescribeVerifiedAccessInstanceLoggingConfigurations,
ec2:DescribeTags,
logs:GetLogDelivery,
logs:ListLogDeliveries

Update

ec2:ModifyVerifiedAccessInstance,
ec2:ModifyVerifiedAccessInstanceLoggingConfiguration,
ec2:DescribeVerifiedAccessInstances,
ec2:DescribeVerifiedAccessInstanceLoggingConfigurations,
ec2:DescribeTags,
ec2:AttachVerifiedAccessTrustProvider,
ec2:DetachVerifiedAccessTrustProvider,
ec2:DeleteTags,
ec2:CreateTags,
ec2:DescribeTags,
logs:CreateLogDelivery,
logs:GetLogDelivery,
logs:ListLogDeliveries,
logs:UpdateLogDelivery,
logs:DeleteLogDelivery,
logs:PutDestination,
logs:PutLogEvents,
logs:DescribeLogStreams,
s3:listBuckets,
s3:PutObject,
s3:GetBucketPolicy,
s3:PutBucketPolicy,
logs:DescribeLogGroups,
logs:PutResourcePolicy,
firehose:TagDeliveryStream,
iam:CreateServiceLinkedRole,
logs:DescribeResourcePolicies

Delete

ec2:DeleteVerifiedAccessInstance,
ec2:DeleteTags,
ec2:DescribeVerifiedAccessInstances,
ec2:DescribeVerifiedAccessInstanceLoggingConfigurations,
ec2:DetachVerifiedAccessTrustProvider,
ec2:GetVerifiedAccessGroupPolicy,
ec2:DescribeTags,
logs:ListLogDeliveries,
logs:GetLogDelivery,
logs:DeleteLogDelivery

List

ec2:DescribeVerifiedAccessInstances,
ec2:DescribeTags,
logs:ListLogDeliveries,
logs:GetLogDelivery