GENERATE TEMPLATE
Syntax
Description
This command generates an AWS CloudFormation template for use in an AWS environment.
Arguments
WITH (template_parameter = value [, … ])
This clause specifies Template Parameters and any other template-specific parameters mentioned below.
Template Parameters
type
Type of the CloudFormation template to generate.
Required: Yes
Valid values: KAFKA_IAM_ROLE
, KINESIS_IAM_ROLE
.
Type: String
access_region
Region for which the template is valid. Required: Yes Valid values: See LIST REGIONS
Type: String
Kafka IAM Template Parameters
template.msk.allows.topic.prefixes.create
List of comma-separated topic prefixes to allow creating — for example, 'ds_'
Required: No Type: String
template.msk.allows.topic.prefixes.delete
List of comma-separated topic prefixes to allow deleting — for example, 'ds_'
Required: No Type: String
template.msk.allows.topic.prefixes.read
List of comma-separated topic prefixes to allow reading — for example, 'my*'
Required: No Type: String
template.msk.allows.topic.prefixes.write
List of comma-separated topic prefixes to allow writing — for example, 'ds_'
Required: No Type: String
template.msk.cluster.arn
The Amazon Resource Name (ARN) that uniquely identifies the MSK cluster. Required: Yes Type: String
Kinesis IAM Template Parameters
template.kinesis.allows.streams.read
List of comma-separated name of data streams to give read access. This accepts wildcards in the names as well — for example,deliveries,shipment*
Required: No Type: String
template.kinesis.allows.streams.write
List of comma-separated name of data streams to give write access.
Required: No Type: String
template.kinesis.allows.streams.create
List of comma-separated name of data streams to allow creating.
Required: No Type: String
template.kinesis.allows.streams.delete
List of comma-separated name of data streams to allow deleting.
Required: No Type: String
template.kinesis.allows.streams.list
List of comma-separated name of data streams to allow deleting. Accepts wildcard as well — for example, my*
Required: No Type: String
template.kinesis.aws_account
AWS account ID number for which the template is valid. Required: No Type: String
template.kinesis.aws_region
AWS region name for which the template is valid — for example, us-east-2
.
Required: No
Type: String
Examples
Create a Kafka IAM role template
Create a Kinesis IAM role template
Last updated