Class CfnCollaboration

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.103.1 (build bef2dea)", date="2024-10-11T15:55:54.323Z") @Stability(Stable) public class CfnCollaboration extends CfnResource implements IInspectable, 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")
         .creatorMemberAbilities(List.of("creatorMemberAbilities"))
         .description("description")
         .members(List.of(MemberSpecificationProperty.builder()
                 .accountId("accountId")
                 .displayName("displayName")
                 .memberAbilities(List.of("memberAbilities"))
                 // the properties below are optional
                 .paymentConfiguration(PaymentConfigurationProperty.builder()
                         .queryCompute(QueryComputePaymentConfigProperty.builder()
                                 .isResponsible(false)
                                 .build())
                         .build())
                 .build()))
         .name("name")
         .queryLogStatus("queryLogStatus")
         // the properties below are optional
         .creatorPaymentConfiguration(PaymentConfigurationProperty.builder()
                 .queryCompute(QueryComputePaymentConfigProperty.builder()
                         .isResponsible(false)
                         .build())
                 .build())
         .dataEncryptionMetadata(DataEncryptionMetadataProperty.builder()
                 .allowCleartext(false)
                 .allowDuplicates(false)
                 .allowJoinsOnColumnsWithDifferentNames(false)
                 .preserveNulls(false)
                 .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

    • 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)
      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 collaboration.

      Example: arn:aws:cleanrooms:us-east-1:111122223333:collaboration/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111

    • getAttrCollaborationIdentifier

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

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

    • 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
    • getCreatorDisplayName

      @Stability(Stable) @NotNull public String getCreatorDisplayName()
      A display name of the collaboration creator.
    • setCreatorDisplayName

      @Stability(Stable) public void setCreatorDisplayName(@NotNull String value)
      A display name of the collaboration creator.
    • getCreatorMemberAbilities

      @Stability(Stable) @NotNull public List<String> getCreatorMemberAbilities()
      The abilities granted to the collaboration creator.
    • setCreatorMemberAbilities

      @Stability(Stable) public void setCreatorMemberAbilities(@NotNull List<String> value)
      The abilities granted to the collaboration creator.
    • getDescription

      @Stability(Stable) @NotNull public String getDescription()
      A description of the collaboration provided by the collaboration owner.
    • setDescription

      @Stability(Stable) public void setDescription(@NotNull String value)
      A description of the collaboration provided by the collaboration owner.
    • getMembers

      @Stability(Stable) @NotNull public Object getMembers()
      A list of initial members, not including the creator.
    • setMembers

      @Stability(Stable) public void setMembers(@NotNull IResolvable value)
      A list of initial members, not including the creator.
    • setMembers

      @Stability(Stable) public void setMembers(@NotNull List<Object> value)
      A list of initial members, not including the creator.
    • getName

      @Stability(Stable) @NotNull public String getName()
      A human-readable identifier provided by the collaboration owner.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      A human-readable identifier provided by the collaboration owner.
    • getQueryLogStatus

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

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

      @Stability(Stable) @Nullable public Object getCreatorPaymentConfiguration()
      An object representing the collaboration member's payment responsibilities set by the collaboration creator.
    • setCreatorPaymentConfiguration

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

      @Stability(Stable) @Nullable public Object getDataEncryptionMetadata()
      The settings for client-side encryption for cryptographic computing.
    • setDataEncryptionMetadata

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