# CfnStorageConfigurationProps

Properties for defining a `CfnStorageConfiguration`.

Used as props by: [CfnStorageConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ivs.CfnStorageConfiguration.html)

- Source: Generated at build time
- Type last changed: v2.138.0 · 18 Apr 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ivs as ivs } from 'aws-cdk-lib';
const cfnStorageConfigurationProps: ivs.CfnStorageConfigurationProps = {
  s3: {
    bucketName: 'bucketName',
  },

  // the properties below are optional
  name: 'name',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```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_ivs as ivs

cfn_storage_configuration_props = ivs.CfnStorageConfigurationProps(
    s3=ivs.CfnStorageConfiguration.S3StorageConfigurationProperty(
        bucket_name="bucketName"
    ),

    # the properties below are optional
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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

CfnStorageConfigurationProps cfnStorageConfigurationProps = CfnStorageConfigurationProps.builder()
        .s3(S3StorageConfigurationProperty.builder()
                .bucketName("bucketName")
                .build())

        // the properties below are optional
        .name("name")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .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.Ivs;

var cfnStorageConfigurationProps = new CfnStorageConfigurationProps {
    S3 = new S3StorageConfigurationProperty {
        BucketName = "bucketName"
    },

    // the properties below are optional
    Name = "name",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

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"

cfnStorageConfigurationProps := &CfnStorageConfigurationProps{
	S3: &S3StorageConfigurationProperty{
		BucketName: jsii.String("bucketName"),
	},

	// the properties below are optional
	Name: jsii.String("name"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `name`: string — Storage cnfiguration name.

- `s3`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnStorageConfiguration.S3StorageConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ivs.CfnStorageConfiguration.S3StorageConfigurationProperty.html) (required) — An S3 storage configuration contains information about where recorded video will be stored.

  See the [S3StorageConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-storageconfiguration-s3storageconfiguration.html) property type for more information.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.

  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-storageconfiguration-tag.html) .
