certificate_manager#

Exec module for managing managing ACM certificates.

async idem_aws.exec.aws.acm.certificate_manager.get(hub, ctx, name: str, resource_id: str) Dict[source]#

Retrieves the specified ACM certificate.

Use an un-managed ACM certificate as a data-source.

Parameters:
  • name (str) – The name of the Idem state.

  • resource_id (str) – The Amazon Resource Name (ARN) of certificate to identify the resource.

Returns:

Returns certificate_manager in present format

Return type:

Dict[str, Any]

Examples

Calling this exec module function from the cli with resource_id

idem exec aws.acm.certificate_manager.get name="unmanaged_certificate" resource_id="resource_id"

Using in a state:

my_unmanaged_resource:
  exec.run:
    - path: aws.acm.certificate_manager.get
    - kwargs:
        name: my_resource
        resource_id: resource_id