Package services.cleanrooms
Class CfnMembership
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
services.cleanrooms.CfnMembership
- All Implemented Interfaces:
IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:05.013Z")
@Stability(Stable)
public class CfnMembership
extends CfnResource
implements IInspectable
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 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())
.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 interfaceContains configurations for protected query results.static interfaceContains configurations for protected query results.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$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) -
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.The unique ID for the associated collaboration.The default protected query result configuration as specified by the member who can receive results.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.renderProperties(Map<String, Object> props) voidsetCollaborationIdentifier(String value) The unique ID for the associated collaboration.voidsetDefaultResultConfiguration(CfnMembership.MembershipProtectedQueryResultConfigurationProperty value) The default protected query result configuration as specified by the member who can receive results.voidThe default protected query result configuration as specified by the member who can receive results.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, 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.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:
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 -
getCfnProperties
- Overrides:
getCfnPropertiesin 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 collaboration. -
setQueryLogStatus
An indicator as to whether query logging has been enabled or disabled for the collaboration. -
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. -
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.
-