Class CfnMembership
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.CfnMembership
- All Implemented Interfaces:
IInspectable,IMembershipRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:08.375Z")
@Stability(Stable)
public class CfnMembership
extends CfnResource
implements IInspectable, IMembershipRef, ITaggableV2
Creates a membership for a specific collaboration identifier and joins the 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.*;
CfnMembership cfnMembership = CfnMembership.Builder.create(this, "MyCfnMembership")
.collaborationIdentifier("collaborationIdentifier")
.queryLogStatus("queryLogStatus")
// the properties below are optional
.defaultJobResultConfiguration(MembershipProtectedJobResultConfigurationProperty.builder()
.outputConfiguration(MembershipProtectedJobOutputConfigurationProperty.builder()
.s3(ProtectedJobS3OutputConfigurationInputProperty.builder()
.bucket("bucket")
// the properties below are optional
.keyPrefix("keyPrefix")
.build())
.build())
.roleArn("roleArn")
.build())
.defaultResultConfiguration(MembershipProtectedQueryResultConfigurationProperty.builder()
.outputConfiguration(MembershipProtectedQueryOutputConfigurationProperty.builder()
.s3(ProtectedQueryS3OutputConfigurationProperty.builder()
.bucket("bucket")
.resultFormat("resultFormat")
// the properties below are optional
.keyPrefix("keyPrefix")
.singleFileOutput(false)
.build())
.build())
// the properties below are optional
.roleArn("roleArn")
.build())
.jobLogStatus("jobLogStatus")
.paymentConfiguration(MembershipPaymentConfigurationProperty.builder()
.queryCompute(MembershipQueryComputePaymentConfigProperty.builder()
.isResponsible(false)
.build())
// the properties below are optional
.jobCompute(MembershipJobComputePaymentConfigProperty.builder()
.isResponsible(false)
.build())
.machineLearning(MembershipMLPaymentConfigProperty.builder()
.modelInference(MembershipModelInferencePaymentConfigProperty.builder()
.isResponsible(false)
.build())
.modelTraining(MembershipModelTrainingPaymentConfigProperty.builder()
.isResponsible(false)
.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 forCfnMembership.static interfaceAn object representing the payment responsibilities accepted by the collaboration member for query and job compute costs.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 payment responsibilities accepted by the collaboration member.static interfaceContains configurations for protected job results.static interfaceContains configurations for protected job results.static interfaceContains configurations for protected query results.static interfaceContains configurations for protected query results.static interfaceAn object representing the payment responsibilities accepted by the collaboration member for query compute costs.static interfaceContains input information for protected jobs with an S3 output type.static interfaceContains the configuration to write the query results to S3.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.interfaces.cleanrooms.IMembershipRef
IMembershipRef.Jsii$Default, IMembershipRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnMembership(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnMembership(software.amazon.jsii.JsiiObjectRef objRef) CfnMembership(software.constructs.Construct scope, String id, CfnMembershipProps props) Create a newAWS::CleanRooms::Membership. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForMembership(IMembershipRef resource) Returns the Amazon Resource Name (ARN) of the specified membership.Returns the Amazon Resource Name (ARN) of the specified collaboration.Returns the unique identifier of the specified collaboration creator account.Returns the unique identifier of the specified membership.Tag Manager which manages the tags for this resource.The unique ID for the associated collaboration.The default job result configuration for the membership.The default protected query result configuration as specified by the member who can receive results.An indicator as to whether job logging has been enabled or disabled for the collaboration.A reference to a Membership resource.The payment responsibilities accepted by the collaboration member.An indicator as to whether query logging has been enabled or disabled for the membership.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 CfnMembership.renderProperties(Map<String, Object> props) voidsetCollaborationIdentifier(String value) The unique ID for the associated collaboration.voidThe default job result configuration for the membership.voidsetDefaultJobResultConfiguration(CfnMembership.MembershipProtectedJobResultConfigurationProperty value) The default job result configuration for the membership.voidThe default protected query result configuration as specified by the member who can receive results.voidsetDefaultResultConfiguration(CfnMembership.MembershipProtectedQueryResultConfigurationProperty value) The default protected query result configuration as specified by the member who can receive results.voidsetJobLogStatus(String value) An indicator as to whether job logging has been enabled or disabled for the collaboration.voidThe payment responsibilities accepted by the collaboration member.voidThe payment responsibilities accepted by the collaboration member.voidsetQueryLogStatus(String value) An indicator as to whether query logging has been enabled or disabled for the membership.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
-
CfnMembership
protected CfnMembership(software.amazon.jsii.JsiiObjectRef objRef) -
CfnMembership
protected CfnMembership(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnMembership
@Stability(Stable) public CfnMembership(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMembershipProps props) Create a newAWS::CleanRooms::Membership.- 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
-
arnForMembership
- Parameters:
resource- This parameter is required.
-
isCfnMembership
Checks whether the given object is a CfnMembership.- 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 membership.Example:
arn:aws:cleanrooms:us-east-1:111122223333:membership/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 -
getAttrCollaborationArn
Returns the Amazon Resource Name (ARN) of the specified collaboration.Example:
arn:aws:cleanrooms:us-east-1:111122223333:collaboration/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 -
getAttrCollaborationCreatorAccountId
Returns the unique identifier of the specified collaboration creator account.Example:
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 -
getAttrMembershipIdentifier
Returns the unique identifier of the specified membership.Example:
a1b2c3d4-5678-90ab-cdef-EXAMPLE22222 -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getMembershipRef
A reference to a Membership resource.- Specified by:
getMembershipRefin interfaceIMembershipRef
-
getCollaborationIdentifier
The unique ID for the associated collaboration. -
setCollaborationIdentifier
The unique ID for the associated collaboration. -
getQueryLogStatus
An indicator as to whether query logging has been enabled or disabled for the membership. -
setQueryLogStatus
An indicator as to whether query logging has been enabled or disabled for the membership. -
getDefaultJobResultConfiguration
The default job result configuration for the membership.Returns union: either
IResolvableorCfnMembership.MembershipProtectedJobResultConfigurationProperty -
setDefaultJobResultConfiguration
The default job result configuration for the membership. -
setDefaultJobResultConfiguration
@Stability(Stable) public void setDefaultJobResultConfiguration(@Nullable CfnMembership.MembershipProtectedJobResultConfigurationProperty value) The default job result configuration for the membership. -
getDefaultResultConfiguration
The default protected query result configuration as specified by the member who can receive results.Returns union: either
IResolvableorCfnMembership.MembershipProtectedQueryResultConfigurationProperty -
setDefaultResultConfiguration
The default protected query result configuration as specified by the member who can receive results. -
setDefaultResultConfiguration
@Stability(Stable) public void setDefaultResultConfiguration(@Nullable CfnMembership.MembershipProtectedQueryResultConfigurationProperty value) The default protected query result configuration as specified by the member who can receive results. -
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. -
getPaymentConfiguration
The payment responsibilities accepted by the collaboration member.Returns union: either
IResolvableorCfnMembership.MembershipPaymentConfigurationProperty -
setPaymentConfiguration
The payment responsibilities accepted by the collaboration member. -
setPaymentConfiguration
@Stability(Stable) public void setPaymentConfiguration(@Nullable CfnMembership.MembershipPaymentConfigurationProperty value) The payment responsibilities accepted by the collaboration member. -
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.
-