@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.988Z") @Stability(value=Stable) public class CfnConfiguration extends CfnResource implements IInspectable
Creates a new MSK configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.msk.*;
CfnConfiguration cfnConfiguration = CfnConfiguration.Builder.create(this, "MyCfnConfiguration")
.name("name")
.serverProperties("serverProperties")
// the properties below are optional
.description("description")
.kafkaVersionsList(List.of("kafkaVersionsList"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnConfiguration.Builder
A fluent builder for
CfnConfiguration. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnConfiguration(software.constructs.Construct scope,
String id,
CfnConfigurationProps props)
Create a new `AWS::MSK::Configuration`.
|
protected |
CfnConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnConfiguration(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The ARN of the configuration.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The description of the configuration.
|
List<String> |
getKafkaVersionsList()
A list of the versions of Apache Kafka with which you can use this MSK configuration.
|
String |
getName()
The name of the configuration.
|
String |
getServerProperties()
Contents of the server.properties file.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
The description of the configuration.
|
void |
setKafkaVersionsList(List<String> value)
A list of the versions of Apache Kafka with which you can use this MSK configuration.
|
void |
setName(String value)
The name of the configuration.
|
void |
setServerProperties(String value)
Contents of the server.properties file.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnConfiguration(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnConfigurationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getName()
Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
@Stability(value=Stable)
public void setName(@NotNull
String value)
Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
@Stability(value=Stable) @NotNull public String getServerProperties()
@Stability(value=Stable)
public void setServerProperties(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public List<String> getKafkaVersionsList()
You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this list.
@Stability(value=Stable)
public void setKafkaVersionsList(@Nullable
List<String> value)
You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this list.
Copyright © 2022. All rights reserved.