Skip to content

/AWS1/CL_FRMRESOURCEDEFINITION

A resource included in a generated template. This data type is used with the CreateGeneratedTemplate and UpdateGeneratedTemplate API actions.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_RESOURCETYPE TYPE /AWS1/FRMRESOURCETYPE /AWS1/FRMRESOURCETYPE

The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types in the CloudFormation User Guide

IT_RESOURCEIDENTIFIER TYPE /AWS1/CL_FRMRESOURCEIDPRPS_W=>TT_RESOURCEIDPROPERTIES TT_RESOURCEIDPROPERTIES

A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

Optional arguments:

IV_LOGICALRESOURCEID TYPE /AWS1/FRMLOGICALRESOURCEID /AWS1/FRMLOGICALRESOURCEID

The logical resource id for this resource in the generated template.


Queryable Attributes

ResourceType

The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types in the CloudFormation User Guide

Accessible with the following methods

Method Description
GET_RESOURCETYPE() Getter for RESOURCETYPE, with configurable default
ASK_RESOURCETYPE() Getter for RESOURCETYPE w/ exceptions if field has no value
HAS_RESOURCETYPE() Determine if RESOURCETYPE has a value

LogicalResourceId

The logical resource id for this resource in the generated template.

Accessible with the following methods

Method Description
GET_LOGICALRESOURCEID() Getter for LOGICALRESOURCEID, with configurable default
ASK_LOGICALRESOURCEID() Getter for LOGICALRESOURCEID w/ exceptions if field has no v
HAS_LOGICALRESOURCEID() Determine if LOGICALRESOURCEID has a value

ResourceIdentifier

A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

Accessible with the following methods

Method Description
GET_RESOURCEIDENTIFIER() Getter for RESOURCEIDENTIFIER, with configurable default
ASK_RESOURCEIDENTIFIER() Getter for RESOURCEIDENTIFIER w/ exceptions if field has no
HAS_RESOURCEIDENTIFIER() Determine if RESOURCEIDENTIFIER has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_RESOURCEDEFINITIONS

TYPES TT_RESOURCEDEFINITIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_FRMRESOURCEDEFINITION WITH DEFAULT KEY
.