Skip to main content

hypervisor_property_mappings

Creates, updates, deletes, gets or lists a hypervisor_property_mappings resource.

Overview​

Namehypervisor_property_mappings
TypeResource
Idaws.backup_gateway.hypervisor_property_mappings

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
hypervisor_arnstringThe Amazon Resource Name (ARN) of the hypervisor. (pattern: <code>arn:(aws|aws-cn|aws-us-gov):backup-gateway(:[a-zA-Z-0-9]+){3}/[a-zA-Z-0-9]+</code>)
iam_role_arnstringThe Amazon Resource Name (ARN) of the IAM role. (pattern: <code>arn:(aws|aws-cn|aws-us-gov):iam::([0-9]+):role/(\S+)</code>)
vmware_to_aws_tag_mappingsarrayThis is a display of the mappings of VMware tags to the Amazon Web Services tags.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_hypervisor_property_mappingsselectregionThis action retrieves the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the hypervisor to the properties available in Amazon Web Services.
put_hypervisor_property_mappingsreplaceregion, HypervisorArn, VmwareToAwsTagMappings, IamRoleArnThis action sets the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the hypervisor to the properties available in Amazon Web Services.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

This action retrieves the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the hypervisor to the properties available in Amazon Web Services.

SELECT
hypervisor_arn,
iam_role_arn,
vmware_to_aws_tag_mappings
FROM aws.backup_gateway.hypervisor_property_mappings
WHERE region = '{{ region }}' -- required
;

REPLACE examples​

This action sets the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the hypervisor to the properties available in Amazon Web Services.

REPLACE aws.backup_gateway.hypervisor_property_mappings
SET
HypervisorArn = '{{ HypervisorArn }}',
VmwareToAwsTagMappings = '{{ VmwareToAwsTagMappings }}',
IamRoleArn = '{{ IamRoleArn }}'
WHERE
region = '{{ region }}' --required
AND HypervisorArn = '{{ HypervisorArn }}' --required
AND VmwareToAwsTagMappings = '{{ VmwareToAwsTagMappings }}' --required
AND IamRoleArn = '{{ IamRoleArn }}' --required
RETURNING
hypervisor_arn;