Skip to main content

license_endpoints

Creates, updates, deletes or gets a license_endpoint resource or lists license_endpoints in a region

Overview

Namelicense_endpoints
TypeResource
DescriptionDefinition of AWS::Deadline::LicenseEndpoint Resource Type
Idaws.deadline.license_endpoints

Fields

NameDatatypeDescription
dns_namestring
license_endpoint_idstring
security_group_idsarray
statusstring
status_messagestring
subnet_idsarray
vpc_idstring
arnstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTSecurityGroupIds, SubnetIds, VpcId, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all license_endpoints in a region.

SELECT
region,
dns_name,
license_endpoint_id,
security_group_ids,
status,
status_message,
subnet_ids,
vpc_id,
arn
FROM aws.deadline.license_endpoints
WHERE region = 'us-east-1';

Gets all properties from an individual license_endpoint.

SELECT
region,
dns_name,
license_endpoint_id,
security_group_ids,
status,
status_message,
subnet_ids,
vpc_id,
arn
FROM aws.deadline.license_endpoints
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

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

/*+ create */
INSERT INTO aws.deadline.license_endpoints (
SecurityGroupIds,
SubnetIds,
VpcId,
region
)
SELECT
'{{ SecurityGroupIds }}',
'{{ SubnetIds }}',
'{{ VpcId }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.deadline.license_endpoints
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

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

Create

deadline:CreateLicenseEndpoint,
deadline:GetLicenseEndpoint,
ec2:CreateTags,
ec2:CreateVpcEndpoint,
ec2:DescribeVpcEndpoints

Read

deadline:GetLicenseEndpoint

Delete

deadline:GetLicenseEndpoint,
deadline:DeleteLicenseEndpoint,
ec2:DeleteVpcEndpoints,
ec2:DescribeVpcEndpoints

List

deadline:ListLicenseEndpoints