@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.989Z") @Stability(value=Stable) public class CfnServerlessCluster extends CfnResource implements IInspectable
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.*;
CfnServerlessCluster cfnServerlessCluster = CfnServerlessCluster.Builder.create(this, "MyCfnServerlessCluster")
.clientAuthentication(ClientAuthenticationProperty.builder()
.sasl(SaslProperty.builder()
.iam(IamProperty.builder()
.enabled(false)
.build())
.build())
.build())
.clusterName("clusterName")
.vpcConfigs(List.of(VpcConfigProperty.builder()
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.securityGroups(List.of("securityGroups"))
.build()))
// the properties below are optional
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnServerlessCluster.Builder
A fluent builder for
CfnServerlessCluster. |
static interface |
CfnServerlessCluster.ClientAuthenticationProperty
Example:
|
static interface |
CfnServerlessCluster.IamProperty
Example:
|
static interface |
CfnServerlessCluster.SaslProperty
Example:
|
static interface |
CfnServerlessCluster.VpcConfigProperty
Example:
|
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 |
|---|---|
|
CfnServerlessCluster(software.constructs.Construct scope,
String id,
CfnServerlessClusterProps props)
Create a new `AWS::MSK::ServerlessCluster`.
|
protected |
CfnServerlessCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnServerlessCluster(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getClientAuthentication()
`AWS::MSK::ServerlessCluster.ClientAuthentication`.
|
String |
getClusterName()
`AWS::MSK::ServerlessCluster.ClusterName`.
|
TagManager |
getTags()
`AWS::MSK::ServerlessCluster.Tags`.
|
Object |
getVpcConfigs()
`AWS::MSK::ServerlessCluster.VpcConfigs`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setClientAuthentication(CfnServerlessCluster.ClientAuthenticationProperty value)
`AWS::MSK::ServerlessCluster.ClientAuthentication`.
|
void |
setClientAuthentication(IResolvable value)
`AWS::MSK::ServerlessCluster.ClientAuthentication`.
|
void |
setClusterName(String value)
`AWS::MSK::ServerlessCluster.ClusterName`.
|
void |
setVpcConfigs(IResolvable value)
`AWS::MSK::ServerlessCluster.VpcConfigs`.
|
void |
setVpcConfigs(List<Object> value)
`AWS::MSK::ServerlessCluster.VpcConfigs`.
|
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 CfnServerlessCluster(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnServerlessCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnServerlessCluster(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnServerlessClusterProps 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 TagManager getTags()
@Stability(value=Stable) @NotNull public Object getClientAuthentication()
@Stability(value=Stable)
public void setClientAuthentication(@NotNull
CfnServerlessCluster.ClientAuthenticationProperty value)
@Stability(value=Stable)
public void setClientAuthentication(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getClusterName()
@Stability(value=Stable)
public void setClusterName(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getVpcConfigs()
@Stability(value=Stable)
public void setVpcConfigs(@NotNull
IResolvable value)
Copyright © 2022. All rights reserved.