AWS Config

2019/11/21 - AWS Config - 2 new api methods

Changes  Update config client to latest version

DeleteResourceConfig (new) Link ¶

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'
)
type ResourceType:

string

param ResourceType:

[REQUIRED]

The type of the resource.

type ResourceId:

string

param ResourceId:

[REQUIRED]

Unique identifier of the resource.

returns:

None

PutResourceConfig (new) Link ¶

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.

See also: AWS API Documentation

Request Syntax

client.put_resource_config(
    ResourceType='string',
    SchemaVersionId='string',
    ResourceId='string',
    ResourceName='string',
    Configuration='string',
    Tags={
        'string': 'string'
    }
)
type ResourceType:

string

param ResourceType:

[REQUIRED]

The type of the resource. The custom resource type must be registered with AWS CloudFormation.

type SchemaVersionId:

string

param SchemaVersionId:

[REQUIRED]

Version of the schema registered for the ResourceType in AWS CloudFormation.

type ResourceId:

string

param ResourceId:

[REQUIRED]

Unique identifier of the resource.

type ResourceName:

string

param ResourceName:

Name of the resource.

type Configuration:

string

param Configuration:

[REQUIRED]

The configuration object of the resource in valid JSON format. It must match the schema registered with AWS CloudFormation.

type Tags:

dict

param Tags:

Tags associated with the resource.

  • (string) --

    • (string) --

returns:

None