Class CfnMembership

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:42:48.298Z") @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")
                                 .build())
                         .build())
                 // the properties below are optional
                 .roleArn("roleArn")
                 .build())
         .paymentConfiguration(MembershipPaymentConfigurationProperty.builder()
                 .queryCompute(MembershipQueryComputePaymentConfigProperty.builder()
                         .isResponsible(false)
                         .build())
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String 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

      @Stability(Stable) @NotNull public String 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

      @Stability(Stable) @NotNull public String getAttrCollaborationCreatorAccountId()
      Returns the unique identifier of the specified collaboration creator account.

      Example: a1b2c3d4-5678-90ab-cdef-EXAMPLE11111

    • getAttrMembershipIdentifier

      @Stability(Stable) @NotNull public String getAttrMembershipIdentifier()
      Returns the unique identifier of the specified membership.

      Example: a1b2c3d4-5678-90ab-cdef-EXAMPLE22222

    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCollaborationIdentifier

      @Stability(Stable) @NotNull public String getCollaborationIdentifier()
      The unique ID for the associated collaboration.
    • setCollaborationIdentifier

      @Stability(Stable) public void setCollaborationIdentifier(@NotNull String value)
      The unique ID for the associated collaboration.
    • getQueryLogStatus

      @Stability(Stable) @NotNull public String getQueryLogStatus()
      An indicator as to whether query logging has been enabled or disabled for the membership.
    • setQueryLogStatus

      @Stability(Stable) public void setQueryLogStatus(@NotNull String value)
      An indicator as to whether query logging has been enabled or disabled for the membership.
    • getDefaultResultConfiguration

      @Stability(Stable) @Nullable public Object getDefaultResultConfiguration()
      The default protected query result configuration as specified by the member who can receive results.
    • setDefaultResultConfiguration

      @Stability(Stable) public void setDefaultResultConfiguration(@Nullable IResolvable value)
      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

      @Stability(Stable) @Nullable public Object getPaymentConfiguration()
      The payment responsibilities accepted by the collaboration member.
    • setPaymentConfiguration

      @Stability(Stable) public void setPaymentConfiguration(@Nullable IResolvable value)
      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

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An optional label that you can assign to a resource when you create it.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An optional label that you can assign to a resource when you create it.