trust_store_revocations
Creates, updates, deletes or gets a trust_store_revocation
resource or lists trust_store_revocations
in a region
Overview
Name | trust_store_revocations |
Type | Resource |
Description | Resource Type definition for AWS::ElasticLoadBalancingV2::TrustStoreRevocation |
Id | aws.elasticloadbalancingv2.trust_store_revocations |
Fields
Name | Datatype | Description |
---|---|---|
revocation_contents | array | The attributes required to create a trust store revocation. |
trust_store_arn | string | The Amazon Resource Name (ARN) of the trust store. |
revocation_id | integer | The ID associated with the revocation. |
trust_store_revocations | array | The data associated with a trust store revocation |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | region |
delete_resource | DELETE | data__Identifier, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all trust_store_revocations
in a region.
SELECT
region,
revocation_contents,
trust_store_arn,
revocation_id,
trust_store_revocations
FROM aws.elasticloadbalancingv2.trust_store_revocations
WHERE region = 'us-east-1';
Gets all properties from an individual trust_store_revocation
.
SELECT
region,
revocation_contents,
trust_store_arn,
revocation_id,
trust_store_revocations
FROM aws.elasticloadbalancingv2.trust_store_revocations
WHERE region = 'us-east-1' AND data__Identifier = '<RevocationId>|<TrustStoreArn>';
INSERT
example
Use the following StackQL query and manifest file to create a new trust_store_revocation
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.elasticloadbalancingv2.trust_store_revocations (
RevocationContents,
TrustStoreArn,
region
)
SELECT
'{{ RevocationContents }}',
'{{ TrustStoreArn }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.elasticloadbalancingv2.trust_store_revocations (
RevocationContents,
TrustStoreArn,
region
)
SELECT
'{{ RevocationContents }}',
'{{ TrustStoreArn }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: trust_store_revocation
props:
- name: RevocationContents
value:
- S3Bucket: '{{ S3Bucket }}'
S3Key: '{{ S3Key }}'
S3ObjectVersion: '{{ S3ObjectVersion }}'
RevocationType: '{{ RevocationType }}'
- name: TrustStoreArn
value: '{{ TrustStoreArn }}'
DELETE
example
/*+ delete */
DELETE FROM aws.elasticloadbalancingv2.trust_store_revocations
WHERE data__Identifier = '<RevocationId|TrustStoreArn>'
AND region = 'us-east-1';
Permissions
To operate on the trust_store_revocations
resource, the following permissions are required:
Create
elasticloadbalancing:AddTrustStoreRevocations,
elasticloadbalancing:DescribeTrustStoreRevocations,
s3:GetObject,
s3:GetObjectVersion
Delete
elasticloadbalancing:DescribeTrustStoreRevocations,
elasticloadbalancing:RemoveTrustStoreRevocations
List
elasticloadbalancing:DescribeTrustStoreRevocations
Read
elasticloadbalancing:DescribeTrustStoreRevocations