Skip to main content

configurations

Creates, updates, deletes or gets a configuration resource or lists configurations in a region

Overview

Nameconfigurations
TypeResource
DescriptionResource Type definition for AWS::MSK::Configuration
Idaws.msk.configurations

Fields

NameDatatypeDescription
namestring
descriptionstring
server_propertiesstring
kafka_versions_listarray
arnstring
latest_revisionobject
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTServerProperties, Name, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all configurations in a region.

SELECT
region,
name,
description,
server_properties,
kafka_versions_list,
arn,
latest_revision
FROM aws.msk.configurations
WHERE region = 'us-east-1';

Gets all properties from an individual configuration.

SELECT
region,
name,
description,
server_properties,
kafka_versions_list,
arn,
latest_revision
FROM aws.msk.configurations
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

Use the following StackQL query and manifest file to create a new configuration resource, using stack-deploy.

/*+ create */
INSERT INTO aws.msk.configurations (
Name,
ServerProperties,
region
)
SELECT
'{{ Name }}',
'{{ ServerProperties }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.msk.configurations
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

To operate on the configurations resource, the following permissions are required:

Create

kafka:CreateConfiguration,
Kafka:DescribeConfiguration

Delete

kafka:DeleteConfiguration,
kafka:DescribeConfiguration

List

kafka:ListConfigurations

Read

kafka:DescribeConfiguration

Update

kafka:UpdateConfiguration,
kafka:DescribeConfiguration