Class CfnCollaboration
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.cleanrooms.CfnCollaboration
- All Implemented Interfaces:
IInspectable,ICollaborationRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:15.849Z")
@Stability(Stable)
public class CfnCollaboration
extends CfnResource
implements IInspectable, ICollaborationRef, ITaggableV2
Creates a new collaboration.
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.cleanrooms.*;
CfnCollaboration cfnCollaboration = CfnCollaboration.Builder.create(this, "MyCfnCollaboration")
.creatorDisplayName("creatorDisplayName")
.description("description")
.name("name")
.queryLogStatus("queryLogStatus")
// the properties below are optional
.allowedResultRegions(List.of("allowedResultRegions"))
.analyticsEngine("analyticsEngine")
.autoApprovedChangeTypes(List.of("autoApprovedChangeTypes"))
.creatorMemberAbilities(List.of("creatorMemberAbilities"))
.creatorMlMemberAbilities(MLMemberAbilitiesProperty.builder()
.customMlMemberAbilities(List.of("customMlMemberAbilities"))
.build())
.creatorPaymentConfiguration(PaymentConfigurationProperty.builder()
.queryCompute(QueryComputePaymentConfigProperty.builder()
.isResponsible(false)
.build())
// the properties below are optional
.jobCompute(JobComputePaymentConfigProperty.builder()
.isResponsible(false)
.build())
.machineLearning(MLPaymentConfigProperty.builder()
.modelInference(ModelInferencePaymentConfigProperty.builder()
.isResponsible(false)
.build())
.modelTraining(ModelTrainingPaymentConfigProperty.builder()
.isResponsible(false)
.build())
.build())
.build())
.dataEncryptionMetadata(DataEncryptionMetadataProperty.builder()
.allowCleartext(false)
.allowDuplicates(false)
.allowJoinsOnColumnsWithDifferentNames(false)
.preserveNulls(false)
.build())
.jobLogStatus("jobLogStatus")
.members(List.of(MemberSpecificationProperty.builder()
.accountId("accountId")
.displayName("displayName")
// the properties below are optional
.memberAbilities(List.of("memberAbilities"))
.mlMemberAbilities(MLMemberAbilitiesProperty.builder()
.customMlMemberAbilities(List.of("customMlMemberAbilities"))
.build())
.paymentConfiguration(PaymentConfigurationProperty.builder()
.queryCompute(QueryComputePaymentConfigProperty.builder()
.isResponsible(false)
.build())
// the properties below are optional
.jobCompute(JobComputePaymentConfigProperty.builder()
.isResponsible(false)
.build())
.machineLearning(MLPaymentConfigProperty.builder()
.modelInference(ModelInferencePaymentConfigProperty.builder()
.isResponsible(false)
.build())
.modelTraining(ModelTrainingPaymentConfigProperty.builder()
.isResponsible(false)
.build())
.build())
.build())
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnCollaboration.static interfaceThe settings for client-side encryption for cryptographic computing.static interfaceAn object representing the collaboration member's payment responsibilities set by the collaboration creator for query and job compute costs.static interfaceBasic metadata used to construct a new member.static interfaceThe ML member abilities for a collaboration member.static interfaceAn object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.static interfaceAn object representing the collaboration member's model inference payment responsibilities set by the collaboration creator.static interfaceAn object representing the collaboration member's model training payment responsibilities set by the collaboration creator.static interfaceAn object representing the collaboration member's payment responsibilities set by the collaboration creator.static interfaceAn object representing the collaboration member's payment responsibilities set by the collaboration creator for query compute costs.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.cleanrooms.ICollaborationRef
ICollaborationRef.Jsii$Default, ICollaborationRef.Jsii$ProxyNested 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$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCollaboration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCollaboration(software.amazon.jsii.JsiiObjectRef objRef) CfnCollaboration(software.constructs.Construct scope, String id, CfnCollaborationProps props) Create a newAWS::CleanRooms::Collaboration. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForCollaboration(ICollaborationRef resource) The AWS Regions where collaboration query results can be stored.The analytics engine for the collaboration.Returns the Amazon Resource Name (ARN) of the specified collaboration.Returns the unique identifier of the specified collaboration.The types of change requests that are automatically approved for this collaboration.Tag Manager which manages the tags for this resource.A reference to a Collaboration resource.A display name of the collaboration creator.The abilities granted to the collaboration creator.The ML member abilities for a collaboration member.An object representing the collaboration member's payment responsibilities set by the collaboration creator.The settings for client-side encryption for cryptographic computing.A description of the collaboration provided by the collaboration owner.An indicator as to whether job logging has been enabled or disabled for the collaboration.A list of initial members, not including the creator.getName()A human-readable identifier provided by the collaboration owner.An indicator as to whether query logging has been enabled or disabled for the collaboration.getTags()An optional label that you can assign to a resource when you create it.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnCollaboration.renderProperties(Map<String, Object> props) voidsetAllowedResultRegions(List<String> value) The AWS Regions where collaboration query results can be stored.voidsetAnalyticsEngine(String value) The analytics engine for the collaboration.voidsetAutoApprovedChangeTypes(List<String> value) The types of change requests that are automatically approved for this collaboration.voidsetCreatorDisplayName(String value) A display name of the collaboration creator.voidsetCreatorMemberAbilities(List<String> value) The abilities granted to the collaboration creator.voidThe ML member abilities for a collaboration member.voidThe ML member abilities for a collaboration member.voidAn object representing the collaboration member's payment responsibilities set by the collaboration creator.voidAn object representing the collaboration member's payment responsibilities set by the collaboration creator.voidThe settings for client-side encryption for cryptographic computing.voidThe settings for client-side encryption for cryptographic computing.voidsetDescription(String value) A description of the collaboration provided by the collaboration owner.voidsetJobLogStatus(String value) An indicator as to whether job logging has been enabled or disabled for the collaboration.voidsetMembers(List<Object> value) A list of initial members, not including the creator.voidsetMembers(IResolvable value) A list of initial members, not including the creator.voidA human-readable identifier provided by the collaboration owner.voidsetQueryLogStatus(String value) An indicator as to whether query logging has been enabled or disabled for the collaboration.voidAn optional label that you can assign to a resource when you create it.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods 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
getNodeMethods 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
-
CfnCollaboration
protected CfnCollaboration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCollaboration
protected CfnCollaboration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCollaboration
@Stability(Stable) public CfnCollaboration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCollaborationProps props) Create a newAWS::CleanRooms::Collaboration.- 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
-
arnForCollaboration
@Stability(Stable) @NotNull public static String arnForCollaboration(@NotNull ICollaborationRef resource) - Parameters:
resource- This parameter is required.
-
isCfnCollaboration
Checks whether the given object is a CfnCollaboration.- 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
Returns the Amazon Resource Name (ARN) of the specified collaboration.Example:
arn:aws:cleanrooms:us-east-1:111122223333:collaboration/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 -
getAttrCollaborationIdentifier
Returns the unique identifier of the specified collaboration.Example:
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCollaborationRef
A reference to a Collaboration resource.- Specified by:
getCollaborationRefin interfaceICollaborationRef
-
getCreatorDisplayName
A display name of the collaboration creator. -
setCreatorDisplayName
A display name of the collaboration creator. -
getDescription
A description of the collaboration provided by the collaboration owner. -
setDescription
A description of the collaboration provided by the collaboration owner. -
getName
A human-readable identifier provided by the collaboration owner. -
setName
A human-readable identifier provided by the collaboration owner. -
getQueryLogStatus
An indicator as to whether query logging has been enabled or disabled for the collaboration. -
setQueryLogStatus
An indicator as to whether query logging has been enabled or disabled for the collaboration. -
getAllowedResultRegions
The AWS Regions where collaboration query results can be stored. -
setAllowedResultRegions
The AWS Regions where collaboration query results can be stored. -
getAnalyticsEngine
The analytics engine for the collaboration. -
setAnalyticsEngine
The analytics engine for the collaboration. -
getAutoApprovedChangeTypes
The types of change requests that are automatically approved for this collaboration. -
setAutoApprovedChangeTypes
The types of change requests that are automatically approved for this collaboration. -
getCreatorMemberAbilities
The abilities granted to the collaboration creator. -
setCreatorMemberAbilities
The abilities granted to the collaboration creator. -
getCreatorMlMemberAbilities
The ML member abilities for a collaboration member.Returns union: either
IResolvableorCfnCollaboration.MLMemberAbilitiesProperty -
setCreatorMlMemberAbilities
The ML member abilities for a collaboration member. -
setCreatorMlMemberAbilities
@Stability(Stable) public void setCreatorMlMemberAbilities(@Nullable CfnCollaboration.MLMemberAbilitiesProperty value) The ML member abilities for a collaboration member. -
getCreatorPaymentConfiguration
An object representing the collaboration member's payment responsibilities set by the collaboration creator.Returns union: either
IResolvableorCfnCollaboration.PaymentConfigurationProperty -
setCreatorPaymentConfiguration
An object representing the collaboration member's payment responsibilities set by the collaboration creator. -
setCreatorPaymentConfiguration
@Stability(Stable) public void setCreatorPaymentConfiguration(@Nullable CfnCollaboration.PaymentConfigurationProperty value) An object representing the collaboration member's payment responsibilities set by the collaboration creator. -
getDataEncryptionMetadata
The settings for client-side encryption for cryptographic computing.Returns union: either
IResolvableorCfnCollaboration.DataEncryptionMetadataProperty -
setDataEncryptionMetadata
The settings for client-side encryption for cryptographic computing. -
setDataEncryptionMetadata
@Stability(Stable) public void setDataEncryptionMetadata(@Nullable CfnCollaboration.DataEncryptionMetadataProperty value) The settings for client-side encryption for cryptographic computing. -
getJobLogStatus
An indicator as to whether job logging has been enabled or disabled for the collaboration. -
setJobLogStatus
An indicator as to whether job logging has been enabled or disabled for the collaboration. -
getMembers
A list of initial members, not including the creator.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCollaboration.MemberSpecificationProperty> -
setMembers
A list of initial members, not including the creator. -
setMembers
A list of initial members, not including the creator. -
getTags
An optional label that you can assign to a resource when you create it. -
setTags
An optional label that you can assign to a resource when you create it.
-