libZSservicesZSamazonka-configZSamazonka-config
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Config.PutResourceConfig

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.

Synopsis

Creating a Request

data PutResourceConfig Source #

See: newPutResourceConfig smart constructor.

Constructors

PutResourceConfig' 

Fields

  • resourceName :: Maybe Text

    Name of the resource.

  • tags :: Maybe (HashMap Text Text)

    Tags associated with the resource.

  • resourceType :: Text

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

    Version of the schema registered for the ResourceType in CloudFormation.

  • resourceId :: Text

    Unique identifier of the resource.

  • configuration :: Text

    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.

Instances

Instances details
Eq PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

Read PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

Show PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

Generic PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

Associated Types

type Rep PutResourceConfig :: Type -> Type #

NFData PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

Methods

rnf :: PutResourceConfig -> () #

Hashable PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

ToJSON PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

AWSRequest PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

Associated Types

type AWSResponse PutResourceConfig #

ToHeaders PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

ToPath PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

ToQuery PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

type Rep PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

type Rep PutResourceConfig = D1 ('MetaData "PutResourceConfig" "Amazonka.Config.PutResourceConfig" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "PutResourceConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "schemaVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse PutResourceConfig Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

newPutResourceConfig Source #

Create a value of PutResourceConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceName:PutResourceConfig', putResourceConfig_resourceName - Name of the resource.

$sel:tags:PutResourceConfig', putResourceConfig_tags - Tags associated with the resource.

$sel:resourceType:PutResourceConfig', putResourceConfig_resourceType - 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 ::.

$sel:schemaVersionId:PutResourceConfig', putResourceConfig_schemaVersionId - Version of the schema registered for the ResourceType in CloudFormation.

$sel:resourceId:PutResourceConfig', putResourceConfig_resourceId - Unique identifier of the resource.

$sel:configuration:PutResourceConfig', putResourceConfig_configuration - 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.

Request Lenses

putResourceConfig_tags :: Lens' PutResourceConfig (Maybe (HashMap Text Text)) Source #

Tags associated with the resource.

putResourceConfig_resourceType :: Lens' PutResourceConfig Text Source #

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

putResourceConfig_schemaVersionId :: Lens' PutResourceConfig Text Source #

Version of the schema registered for the ResourceType in CloudFormation.

putResourceConfig_resourceId :: Lens' PutResourceConfig Text Source #

Unique identifier of the resource.

putResourceConfig_configuration :: Lens' PutResourceConfig Text Source #

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.

Destructuring the Response

data PutResourceConfigResponse Source #

See: newPutResourceConfigResponse smart constructor.

Instances

Instances details
Eq PutResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

Read PutResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

Show PutResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

Generic PutResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

Associated Types

type Rep PutResourceConfigResponse :: Type -> Type #

NFData PutResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

type Rep PutResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.PutResourceConfig

type Rep PutResourceConfigResponse = D1 ('MetaData "PutResourceConfigResponse" "Amazonka.Config.PutResourceConfig" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "PutResourceConfigResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newPutResourceConfigResponse :: PutResourceConfigResponse Source #

Create a value of PutResourceConfigResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.