# MembershipProtectedQueryOutputConfigurationProperty

Contains configurations for protected query results.

- Source: Generated at build time
- Type last changed: v2.97.0 · 22 Sep 2023

## Example

TypeScript:

```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 membershipProtectedQueryOutputConfigurationProperty: cleanrooms.CfnMembership.MembershipProtectedQueryOutputConfigurationProperty = {
  s3: {
    bucket: 'bucket',
    resultFormat: 'resultFormat',

    // the properties below are optional
    keyPrefix: 'keyPrefix',
    singleFileOutput: false,
  },
};
```

Python:

```python
# 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

membership_protected_query_output_configuration_property = cleanrooms.CfnMembership.MembershipProtectedQueryOutputConfigurationProperty(
    s3=cleanrooms.CfnMembership.ProtectedQueryS3OutputConfigurationProperty(
        bucket="bucket",
        result_format="resultFormat",

        # the properties below are optional
        key_prefix="keyPrefix",
        single_file_output=False
    )
)
```

Java:

```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.*;

MembershipProtectedQueryOutputConfigurationProperty membershipProtectedQueryOutputConfigurationProperty = MembershipProtectedQueryOutputConfigurationProperty.builder()
        .s3(ProtectedQueryS3OutputConfigurationProperty.builder()
                .bucket("bucket")
                .resultFormat("resultFormat")

                // the properties below are optional
                .keyPrefix("keyPrefix")
                .singleFileOutput(false)
                .build())
        .build();
```

C# / .NET:

```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 membershipProtectedQueryOutputConfigurationProperty = new MembershipProtectedQueryOutputConfigurationProperty {
    S3 = new ProtectedQueryS3OutputConfigurationProperty {
        Bucket = "bucket",
        ResultFormat = "resultFormat",

        // the properties below are optional
        KeyPrefix = "keyPrefix",
        SingleFileOutput = false
    }
};
```

Golang:

```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"

membershipProtectedQueryOutputConfigurationProperty := &MembershipProtectedQueryOutputConfigurationProperty{
	S3: &ProtectedQueryS3OutputConfigurationProperty{
		Bucket: jsii.String("bucket"),
		ResultFormat: jsii.String("resultFormat"),

		// the properties below are optional
		KeyPrefix: jsii.String("keyPrefix"),
		SingleFileOutput: jsii.Boolean(false),
	},
}
```

## Properties

- `s3`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMembership.ProtectedQueryS3OutputConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnMembership.ProtectedQueryS3OutputConfigurationProperty.html) (required) — Required configuration for a protected query with an `s3` output type.
