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
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:15.570Z")
@Stability(Stable)
public class CfnMembership
extends CfnResource
implements IInspectable, 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 .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()) .paymentConfiguration(MembershipPaymentConfigurationProperty.builder() .queryCompute(MembershipQueryComputePaymentConfigProperty.builder() .isResponsible(false) .build()) // the properties below are optional .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
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnMembership
.static interface
An object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.static interface
An object representing the collaboration member's model inference payment responsibilities set by the collaboration creator.static interface
An object representing the collaboration member's model training payment responsibilities set by the collaboration creator.static interface
An object representing the payment responsibilities accepted by the collaboration member.static interface
Contains configurations for protected query results.static interface
Contains configurations for protected query results.static interface
An object representing the payment responsibilities accepted by the collaboration member for query compute costs.static interface
Contains the configuration to write the query results to S3.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnMembership
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnMembership
(software.amazon.jsii.JsiiObjectRef objRef) CfnMembership
(software.constructs.Construct scope, String id, CfnMembershipProps props) -
Method Summary
Modifier and TypeMethodDescriptionReturns 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 protected query result configuration as specified by the member who can receive results.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setCollaborationIdentifier
(String value) The unique ID for the associated collaboration.void
The default protected query result configuration as specified by the member who can receive results.void
setDefaultResultConfiguration
(CfnMembership.MembershipProtectedQueryResultConfigurationProperty value) The default protected query result configuration as specified by the member who can receive results.void
The payment responsibilities accepted by the collaboration member.void
The payment responsibilities accepted by the collaboration member.void
setQueryLogStatus
(String value) An indicator as to whether query logging has been enabled or disabled for the membership.void
An 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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in 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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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. -
getDefaultResultConfiguration
The default protected query result configuration as specified by the member who can receive results. -
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. -
getPaymentConfiguration
The payment responsibilities accepted by the collaboration member. -
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.
-