AWS::Logs::Transformer SubstituteStringEntry - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Logs::Transformer SubstituteStringEntry

This object defines one log field key that will be replaced using the substituteString processor.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "From" : String, "Source" : String, "To" : String }

YAML

From: String Source: String To: String

Properties

From

The regular expression string to be replaced. Special regex characters such as [ and ] must be escaped using \\ when using double quotes and with \ when using single quotes. For more information, see Class Pattern on the Oracle web site.

Required: Yes

Type: String

Pattern: ^.*[a-zA-Z0-9]+.*$

Maximum: 128

Update requires: No interruption

Source

The key to modify

Required: Yes

Type: String

Pattern: ^.*[a-zA-Z0-9]+.*$

Update requires: No interruption

To

The string to be substituted for each match of from

Required: Yes

Type: String

Pattern: ^.*[a-zA-Z0-9]+.*$

Maximum: 128

Update requires: No interruption