Class CfnTopicV2
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.quicksight.CfnTopicV2
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,ITopicV2Ref,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:17.104Z")
@Stability(Stable)
public class CfnTopicV2
extends CfnResource
implements IInspectable, ITopicV2Ref, ITaggableV2
Definition of the AWS::QuickSight::TopicV2 Resource Type.
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.quicksight.*;
CfnTopicV2 cfnTopicV2 = CfnTopicV2.Builder.create(this, "MyCfnTopicV2")
.awsAccountId("awsAccountId")
.customInstructions(CustomInstructionsProperty.builder()
.customInstructionsString("customInstructionsString")
.build())
.dataSetRelations(List.of(DataSetRelationProperty.builder()
.left(DataSetRelationEndpointProperty.builder()
.columnNames(List.of("columnNames"))
.dataSetArn("dataSetArn")
.build())
.right(DataSetRelationEndpointProperty.builder()
.columnNames(List.of("columnNames"))
.dataSetArn("dataSetArn")
.build())
.build()))
.dataSets(List.of(DataSetReferenceProperty.builder()
.dataSetArn("dataSetArn")
// the properties below are optional
.dataSetName("dataSetName")
.build()))
.description("description")
.folderArns(List.of("folderArns"))
.name("name")
.permissions(List.of(ResourcePermissionProperty.builder()
.actions(List.of("actions"))
.principal("principal")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.topicId("topicId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnTopicV2.static interfaceExample:static interfaceA dataset reference used by a V2 (SEMANTIC_VIEW) topic.static interfaceExample:static interfaceA relation between two datasets referenced by a V2 (SEMANTIC_VIEW) topic.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.quicksight.ITopicV2Ref
ITopicV2Ref.Jsii$Default, ITopicV2Ref.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnTopicV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTopicV2(software.amazon.jsii.JsiiObjectRef objRef) CfnTopicV2(software.constructs.Construct scope, String id) Create a newAWS::QuickSight::TopicV2.CfnTopicV2(software.constructs.Construct scope, String id, CfnTopicV2Props props) Create a newAWS::QuickSight::TopicV2. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForTopicV2(ITopicV2Ref resource) Tag Manager which manages the tags for this resource.Returns union: eitherIResolvableorCfnTopicV2.CustomInstructionsPropertyReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnTopicV2.DataSetRelationProperty>Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnTopicV2.DataSetReferenceProperty>getName()Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnTopicV2.ResourcePermissionProperty>getTags()A reference to a TopicV2 resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnTopicV2.renderProperties(Map<String, Object> props) voidsetAwsAccountId(String value) voidsetCustomInstructions(IResolvable value) voidvoidsetDataSetRelations(List<Object> value) voidsetDataSetRelations(IResolvable value) voidsetDataSets(List<Object> value) voidsetDataSets(IResolvable value) voidsetDescription(String value) voidsetFolderArns(List<String> value) voidvoidsetPermissions(List<Object> value) voidsetPermissions(IResolvable value) voidvoidsetTopicId(String value) Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnTopicV2
protected CfnTopicV2(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTopicV2
protected CfnTopicV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTopicV2
@Stability(Stable) public CfnTopicV2(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnTopicV2Props props) Create a newAWS::QuickSight::TopicV2.- 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.
-
CfnTopicV2
@Stability(Stable) public CfnTopicV2(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::QuickSight::TopicV2.- 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.
-
-
Method Details
-
arnForTopicV2
- Parameters:
resource- This parameter is required.
-
isCfnTopicV2
Checks whether the given object is a CfnTopicV2.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getTopicV2Ref
A reference to a TopicV2 resource.- Specified by:
getTopicV2Refin interfaceITopicV2Ref
-
getAwsAccountId
-
setAwsAccountId
-
getCustomInstructions
Returns union: eitherIResolvableorCfnTopicV2.CustomInstructionsProperty -
setCustomInstructions
-
setCustomInstructions
@Stability(Stable) public void setCustomInstructions(@Nullable CfnTopicV2.CustomInstructionsProperty value) -
getDataSetRelations
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnTopicV2.DataSetRelationProperty> -
setDataSetRelations
-
setDataSetRelations
-
getDataSets
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnTopicV2.DataSetReferenceProperty> -
setDataSets
-
setDataSets
-
getDescription
-
setDescription
-
getFolderArns
-
setFolderArns
-
getName
-
setName
-
getPermissions
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnTopicV2.ResourcePermissionProperty> -
setPermissions
-
setPermissions
-
getTags
-
setTags
-
getTopicId
-
setTopicId
-