2019/11/21 - AWS Config - 2 new api methods
Changes AWS Config launches Custom Configuration Items. A new feature which allows customers to publish resource configuration for third-party resources, custom, or on-premises servers.
Records the configuration state for the resource provided in the request. The configuration state of a resource is represented in AWS 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 AWS Config APIs.
Note
The custom resource type must be registered with AWS CloudFormation. This API accepts the configuration item registered with AWS CloudFormation.
When you call this API, AWS Config only stores configuration state of the resource provided in the request. This API does not change or remediate the configuration of the resource.
See also: AWS API Documentation
Request Syntax
client.put_resource_config( ResourceType='string', SchemaVersionId='string', ResourceId='string', ResourceName='string', Configuration='string', Tags={ 'string': 'string' } )
string
[REQUIRED]
The type of the resource. The custom resource type must be registered with AWS CloudFormation.
Note
You cannot use the organization names “aws”, “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the first part of the ResourceType up to the first ::.
string
[REQUIRED]
Version of the schema registered for the ResourceType in AWS CloudFormation.
string
[REQUIRED]
Unique identifier of the resource.
string
Name of the resource.
string
[REQUIRED]
The configuration object of the resource in valid JSON format. It must match the schema registered with AWS CloudFormation.
Note
The configuration JSON must not exceed 64 KB.
dict
Tags associated with the resource.
(string) --
(string) --
None
Records the configuration state for a custom resource that has been deleted. This API records a new ConfigurationItem with a ResourceDeleted status. You can retrieve the ConfigurationItems recorded for this resource in your AWS Config History.
See also: AWS API Documentation
Request Syntax
client.delete_resource_config( ResourceType='string', ResourceId='string' )
string
[REQUIRED]
The type of the resource.
string
[REQUIRED]
Unique identifier of the resource.
None