Class CfnConfiguration

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-21T06:34:11.297Z") @Stability(Stable) public class CfnConfiguration extends CfnResource implements IInspectable
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html.

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"))
         .latestRevision(LatestRevisionProperty.builder()
                 .creationTime("creationTime")
                 .description("description")
                 .revision(123)
                 .build())
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnConfiguration

      protected CfnConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnConfiguration

      protected CfnConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnConfiguration

      @Stability(Stable) public CfnConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnConfigurationProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
    • getAttrLatestRevisionCreationTime

      @Stability(Stable) @NotNull public String getAttrLatestRevisionCreationTime()
    • getAttrLatestRevisionDescription

      @Stability(Stable) @NotNull public String getAttrLatestRevisionDescription()
    • getAttrLatestRevisionRevision

      @Stability(Stable) @NotNull public Number getAttrLatestRevisionRevision()
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getName

      @Stability(Stable) @NotNull public String getName()
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
    • getServerProperties

      @Stability(Stable) @NotNull public String getServerProperties()
    • setServerProperties

      @Stability(Stable) public void setServerProperties(@NotNull String value)
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
    • getKafkaVersionsList

      @Stability(Stable) @Nullable public List<String> getKafkaVersionsList()
    • setKafkaVersionsList

      @Stability(Stable) public void setKafkaVersionsList(@Nullable List<String> value)
    • getLatestRevision

      @Stability(Stable) @Nullable public Object getLatestRevision()
    • setLatestRevision

      @Stability(Stable) public void setLatestRevision(@Nullable IResolvable value)
    • setLatestRevision

      @Stability(Stable) public void setLatestRevision(@Nullable CfnConfiguration.LatestRevisionProperty value)