connectors
Creates, updates, deletes or gets a connector
resource or lists connectors
in a region
Overview
Name | connectors |
Type | Resource |
Description | Represents a Connector that allows certificate issuance through Simple Certificate Enrollment Protocol (SCEP) |
Id | aws.pcaconnectorscep.connectors |
Fields
Name | Datatype | Description |
---|---|---|
certificate_authority_arn | string | |
connector_arn | string | |
type | string | |
endpoint | string | |
mobile_device_management | object | |
open_id_configuration | object | |
tags | object | |
region | string | AWS region. |
For more information, see AWS::PCAConnectorSCEP::Connector
.
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | CertificateAuthorityArn, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all connectors
in a region.
SELECT
region,
certificate_authority_arn,
connector_arn,
type,
endpoint,
mobile_device_management,
open_id_configuration,
tags
FROM aws.pcaconnectorscep.connectors
WHERE region = 'us-east-1';
Gets all properties from an individual connector
.
SELECT
region,
certificate_authority_arn,
connector_arn,
type,
endpoint,
mobile_device_management,
open_id_configuration,
tags
FROM aws.pcaconnectorscep.connectors
WHERE region = 'us-east-1' AND data__Identifier = '<ConnectorArn>';
INSERT
example
Use the following StackQL query and manifest file to create a new connector
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.pcaconnectorscep.connectors (
CertificateAuthorityArn,
region
)
SELECT
'{{ CertificateAuthorityArn }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.pcaconnectorscep.connectors (
CertificateAuthorityArn,
MobileDeviceManagement,
Tags,
region
)
SELECT
'{{ CertificateAuthorityArn }}',
'{{ MobileDeviceManagement }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: connector
props:
- name: CertificateAuthorityArn
value: '{{ CertificateAuthorityArn }}'
- name: MobileDeviceManagement
value: {}
- name: Tags
value: {}
DELETE
example
/*+ delete */
DELETE FROM aws.pcaconnectorscep.connectors
WHERE data__Identifier = '<ConnectorArn>'
AND region = 'us-east-1';
Permissions
To operate on the connectors
resource, the following permissions are required:
Create
acm-pca:DescribeCertificateAuthority,
acm-pca:GetCertificate,
acm-pca:GetCertificateAuthorityCertificate,
acm-pca:IssueCertificate,
pca-connector-scep:GetConnector,
pca-connector-scep:CreateConnector,
pca-connector-scep:TagResource
Read
pca-connector-scep:ListTagsForResource,
pca-connector-scep:GetConnector
Delete
acm-pca:DescribeCertificateAuthority,
acm-pca:GetCertificate,
acm-pca:GetCertificateAuthorityCertificate,
acm-pca:IssueCertificate,
pca-connector-scep:GetConnector,
pca-connector-scep:DeleteConnector,
pca-connector-scep:UntagResource
List
pca-connector-scep:ListConnectors
Update
pca-connector-scep:ListTagsForResource,
pca-connector-scep:TagResource,
pca-connector-scep:UntagResource