configservice_put_resource_config: Records the configuration state for the resource provided in...

Description Usage Arguments Value Request syntax

View source: R/configservice_operations.R

Description

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.

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.

Write-only schema properites are not recorded as part of the published configuration item.

Usage

1
2
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 AWS CloudFormation.

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 ::.

SchemaVersionId

[required] Version of the schema registered for the ResourceType in AWS 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 AWS CloudFormation.

The configuration JSON must not exceed 64 KB.

Tags

Tags associated with the resource.

Value

An empty list.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
svc$put_resource_config(
  ResourceType = "string",
  SchemaVersionId = "string",
  ResourceId = "string",
  ResourceName = "string",
  Configuration = "string",
  Tags = list(
    "string"
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.