Put Resource Config
configservice_put_resource_config | R Documentation |
Records the configuration state for the resource provided in the request¶
Description¶
Records the configuration state for the resource provided in the request. The configuration state of a resource is represented in Config as Configuration Items. Once this API records the configuration item, you can retrieve the list of configuration items for the custom resource type using existing Config APIs.
The custom resource type must be registered with CloudFormation. This API accepts the configuration item registered with CloudFormation.
When you call this API, Config only stores configuration state of the resource provided in the request. This API does not change or remediate the configuration of the resource.
Write-only schema properites are not recorded as part of the published configuration item.
Usage¶
configservice_put_resource_config(ResourceType, SchemaVersionId,
ResourceId, ResourceName, Configuration, Tags)
Arguments¶
ResourceType
[required] The type of the resource. The custom resource type must be registered with CloudFormation.
You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the first part of the ResourceType up to the first ::.
SchemaVersionId
[required] Version of the schema registered for the ResourceType in CloudFormation.
ResourceId
[required] Unique identifier of the resource.
ResourceName
Name of the resource.
Configuration
[required] The configuration object of the resource in valid JSON format. It must match the schema registered with CloudFormation.
The configuration JSON must not exceed 64 KB.
Tags
Tags associated with the resource.
This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services resources. Tags for
put_resource_config
are tags that you supply for the configuration items of your custom resources.
Value¶
An empty list.