CfnMembershipProps Struct
Properties for defining a CfnMembership.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cleanrooms as cleanrooms } from 'aws-cdk-lib';
const cfnMembershipProps: cleanrooms.CfnMembershipProps = {
collaborationIdentifier: 'collaborationIdentifier',
queryLogStatus: 'queryLogStatus',
// the properties below are optional
defaultJobResultConfiguration: {
outputConfiguration: {
s3: {
bucket: 'bucket',
// the properties below are optional
keyPrefix: 'keyPrefix',
resultFormat: 'resultFormat',
},
},
roleArn: 'roleArn',
},
defaultResultConfiguration: {
outputConfiguration: {
s3: {
bucket: 'bucket',
resultFormat: 'resultFormat',
// the properties below are optional
keyPrefix: 'keyPrefix',
singleFileOutput: false,
},
},
// the properties below are optional
roleArn: 'roleArn',
},
isMetricsEnabled: false,
jobLogStatus: 'jobLogStatus',
paymentConfiguration: {
queryCompute: {
isResponsible: false,
},
// the properties below are optional
jobCompute: {
isResponsible: false,
},
machineLearning: {
modelInference: {
isResponsible: false,
},
modelTraining: {
isResponsible: false,
},
syntheticDataGeneration: {
isResponsible: false,
},
},
},
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cleanrooms as cleanrooms
cfn_membership_props = cleanrooms.CfnMembershipProps(
collaboration_identifier="collaborationIdentifier",
query_log_status="queryLogStatus",
# the properties below are optional
default_job_result_configuration=cleanrooms.CfnMembership.MembershipProtectedJobResultConfigurationProperty(
output_configuration=cleanrooms.CfnMembership.MembershipProtectedJobOutputConfigurationProperty(
s3=cleanrooms.CfnMembership.ProtectedJobS3OutputConfigurationInputProperty(
bucket="bucket",
# the properties below are optional
key_prefix="keyPrefix",
result_format="resultFormat"
)
),
role_arn="roleArn"
),
default_result_configuration=cleanrooms.CfnMembership.MembershipProtectedQueryResultConfigurationProperty(
output_configuration=cleanrooms.CfnMembership.MembershipProtectedQueryOutputConfigurationProperty(
s3=cleanrooms.CfnMembership.ProtectedQueryS3OutputConfigurationProperty(
bucket="bucket",
result_format="resultFormat",
# the properties below are optional
key_prefix="keyPrefix",
single_file_output=False
)
),
# the properties below are optional
role_arn="roleArn"
),
is_metrics_enabled=False,
job_log_status="jobLogStatus",
payment_configuration=cleanrooms.CfnMembership.MembershipPaymentConfigurationProperty(
query_compute=cleanrooms.CfnMembership.MembershipQueryComputePaymentConfigProperty(
is_responsible=False
),
# the properties below are optional
job_compute=cleanrooms.CfnMembership.MembershipJobComputePaymentConfigProperty(
is_responsible=False
),
machine_learning=cleanrooms.CfnMembership.MembershipMLPaymentConfigProperty(
model_inference=cleanrooms.CfnMembership.MembershipModelInferencePaymentConfigProperty(
is_responsible=False
),
model_training=cleanrooms.CfnMembership.MembershipModelTrainingPaymentConfigProperty(
is_responsible=False
),
synthetic_data_generation=cleanrooms.CfnMembership.MembershipSyntheticDataGenerationPaymentConfigProperty(
is_responsible=False
)
)
),
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// 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.*;
CfnMembershipProps cfnMembershipProps = CfnMembershipProps.builder()
.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")
.resultFormat("resultFormat")
.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())
.isMetricsEnabled(false)
.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())
.syntheticDataGeneration(MembershipSyntheticDataGenerationPaymentConfigProperty.builder()
.isResponsible(false)
.build())
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CleanRooms;
var cfnMembershipProps = new CfnMembershipProps {
CollaborationIdentifier = "collaborationIdentifier",
QueryLogStatus = "queryLogStatus",
// the properties below are optional
DefaultJobResultConfiguration = new MembershipProtectedJobResultConfigurationProperty {
OutputConfiguration = new MembershipProtectedJobOutputConfigurationProperty {
S3 = new ProtectedJobS3OutputConfigurationInputProperty {
Bucket = "bucket",
// the properties below are optional
KeyPrefix = "keyPrefix",
ResultFormat = "resultFormat"
}
},
RoleArn = "roleArn"
},
DefaultResultConfiguration = new MembershipProtectedQueryResultConfigurationProperty {
OutputConfiguration = new MembershipProtectedQueryOutputConfigurationProperty {
S3 = new ProtectedQueryS3OutputConfigurationProperty {
Bucket = "bucket",
ResultFormat = "resultFormat",
// the properties below are optional
KeyPrefix = "keyPrefix",
SingleFileOutput = false
}
},
// the properties below are optional
RoleArn = "roleArn"
},
IsMetricsEnabled = false,
JobLogStatus = "jobLogStatus",
PaymentConfiguration = new MembershipPaymentConfigurationProperty {
QueryCompute = new MembershipQueryComputePaymentConfigProperty {
IsResponsible = false
},
// the properties below are optional
JobCompute = new MembershipJobComputePaymentConfigProperty {
IsResponsible = false
},
MachineLearning = new MembershipMLPaymentConfigProperty {
ModelInference = new MembershipModelInferencePaymentConfigProperty {
IsResponsible = false
},
ModelTraining = new MembershipModelTrainingPaymentConfigProperty {
IsResponsible = false
},
SyntheticDataGeneration = new MembershipSyntheticDataGenerationPaymentConfigProperty {
IsResponsible = false
}
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnMembershipProps := &CfnMembershipProps{
CollaborationIdentifier: jsii.String("collaborationIdentifier"),
QueryLogStatus: jsii.String("queryLogStatus"),
// the properties below are optional
DefaultJobResultConfiguration: &MembershipProtectedJobResultConfigurationProperty{
OutputConfiguration: &MembershipProtectedJobOutputConfigurationProperty{
S3: &ProtectedJobS3OutputConfigurationInputProperty{
Bucket: jsii.String("bucket"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
ResultFormat: jsii.String("resultFormat"),
},
},
RoleArn: jsii.String("roleArn"),
},
DefaultResultConfiguration: &MembershipProtectedQueryResultConfigurationProperty{
OutputConfiguration: &MembershipProtectedQueryOutputConfigurationProperty{
S3: &ProtectedQueryS3OutputConfigurationProperty{
Bucket: jsii.String("bucket"),
ResultFormat: jsii.String("resultFormat"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
SingleFileOutput: jsii.Boolean(false),
},
},
// the properties below are optional
RoleArn: jsii.String("roleArn"),
},
IsMetricsEnabled: jsii.Boolean(false),
JobLogStatus: jsii.String("jobLogStatus"),
PaymentConfiguration: &MembershipPaymentConfigurationProperty{
QueryCompute: &MembershipQueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
// the properties below are optional
JobCompute: &MembershipJobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
MachineLearning: &MembershipMLPaymentConfigProperty{
ModelInference: &MembershipModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &MembershipModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &MembershipSyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
collaborationIdentifierstringcollaboration_identifierstrcollaborationIdentifierStringCollaborationIdentifierstringCollaborationIdentifier*stringrequired#The unique ID for the associated collaboration.
defaultJobResultConfigurationoptionalIResolvable | CfnMembership.MembershipProtectedJobResultConfigurationPropertydefault_job_result_configurationoptionaltyping.Union[IResolvable, MembershipProtectedJobResultConfigurationProperty]defaultJobResultConfigurationoptionalIResolvableDefaultJobResultConfigurationoptionalIResolvableDefaultJobResultConfigurationoptionalinterface{}#The default job result configuration for the membership.
defaultResultConfigurationoptionalIResolvable | CfnMembership.MembershipProtectedQueryResultConfigurationPropertydefault_result_configurationoptionaltyping.Union[IResolvable, MembershipProtectedQueryResultConfigurationProperty]defaultResultConfigurationoptionalIResolvableDefaultResultConfigurationoptionalIResolvableDefaultResultConfigurationoptionalinterface{}#The default protected query result configuration as specified by the member who can receive results.
isMetricsEnabledoptionalboolean | IResolvableis_metrics_enabledoptionaltyping.Union[bool, IResolvable]isMetricsEnabledoptionalBooleanIsMetricsEnabledoptionalboolIsMetricsEnabledoptionalinterface{}#jobLogStatusoptionalstringjob_log_statusoptionalstrjobLogStatusoptionalStringJobLogStatusoptionalstringJobLogStatusoptional*string#An indicator as to whether job logging has been enabled or disabled for the collaboration.
When ENABLED , AWS Clean Rooms logs details about jobs run within this collaboration and those logs can be viewed in Amazon CloudWatch Logs. The default value is DISABLED .
paymentConfigurationoptionalIResolvable | CfnMembership.MembershipPaymentConfigurationPropertypayment_configurationoptionaltyping.Union[IResolvable, MembershipPaymentConfigurationProperty]paymentConfigurationoptionalIResolvablePaymentConfigurationoptionalIResolvablePaymentConfigurationoptionalinterface{}#The payment responsibilities accepted by the collaboration member.
queryLogStatusstringquery_log_statusstrqueryLogStatusStringQueryLogStatusstringQueryLogStatus*stringrequired#An indicator as to whether query logging has been enabled or disabled for the membership.
When ENABLED , AWS Clean Rooms logs details about queries run within this collaboration and those logs can be viewed in Amazon CloudWatch Logs. The default value is DISABLED .
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#An optional label that you can assign to a resource when you create it.
Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.