Interface CfnTypeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTypeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:08.285Z")
@Stability(Stable)
public interface CfnTypeProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnType.
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.cassandra.*;
CfnTypeProps cfnTypeProps = CfnTypeProps.builder()
.fields(List.of(FieldProperty.builder()
.fieldName("fieldName")
.fieldType("fieldType")
.build()))
.keyspaceName("keyspaceName")
.typeName("typeName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTypePropsstatic final classAn implementation forCfnTypeProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTypeProps.Builderbuilder()A list of fields that define this type.The name of the keyspace to create the type in.The name of the user-defined type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFields
A list of fields that define this type.- See Also:
-
getKeyspaceName
The name of the keyspace to create the type in.The keyspace must already exist.
- See Also:
-
getTypeName
The name of the user-defined type.UDT names must contain 48 characters or less, must begin with an alphabetic character, and can only contain alpha-numeric characters and underscores. Amazon Keyspaces converts upper case characters automatically into lower case characters. For more information, see Create a user-defined type (UDT) in Amazon Keyspaces in the Amazon Keyspaces Developer Guide .
- See Also:
-
builder
- Returns:
- a
CfnTypeProps.BuilderofCfnTypeProps
-