Skip to main content

configurations

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

Overview

Nameconfigurations
TypeResource
Idaws.ssm_quicksetup.configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
accountstringThe ID of the Amazon Web Services account where the configuration was deployed.
configuration_definition_idstringThe ID of the configuration definition.
created_atstring (date-time)The datetime stamp when the configuration manager was created.
idstringA service generated identifier for the configuration.
last_modified_atstring (date-time)The datetime stamp when the configuration manager was last updated.
manager_arnstringThe ARN of the configuration manager.
parametersobjectThe parameters for the configuration definition type.
regionstringThe Amazon Web Services Region where the configuration was deployed.
status_summariesarrayA summary of the state of the configuration manager. This includes deployment statuses, association statuses, drift statuses, health checks, and more.
typestringThe type of the Quick Setup configuration.
type_versionstringThe version of the Quick Setup type used.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_configurationselectconfiguration_id, regionReturns details about the specified configuration.
list_configurationsselectregionReturns configurations deployed by Quick Setup in the requesting Amazon Web Services account and Amazon Web Services Region.
update_configuration_definitionupdateid, manager_arn, regionUpdates a Quick Setup configuration definition.

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
configuration_idstringA service generated identifier for the configuration.
idstringThe ID of the configuration definition you want to update.
manager_arnstringThe ARN of the configuration manager associated with the definition to update.
regionstringAWS region (default: us-east-1)

SELECT examples

Returns details about the specified configuration.

SELECT
account,
configuration_definition_id,
created_at,
id,
last_modified_at,
manager_arn,
parameters,
region,
status_summaries,
type,
type_version
FROM aws.ssm_quicksetup.configurations
WHERE configuration_id = '{{ configuration_id }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

Updates a Quick Setup configuration definition.

UPDATE aws.ssm_quicksetup.configurations
SET
LocalDeploymentAdministrationRoleArn = '{{ LocalDeploymentAdministrationRoleArn }}',
LocalDeploymentExecutionRoleName = '{{ LocalDeploymentExecutionRoleName }}',
Parameters = '{{ Parameters }}',
TypeVersion = '{{ TypeVersion }}'
WHERE
id = '{{ id }}' --required
AND manager_arn = '{{ manager_arn }}' --required
AND region = '{{ region }}' --required;