CfnStorageConfigurationProps Struct
Properties for defining a CfnStorageConfiguration.
| Source | |
|---|---|
| Type last changed |
Example
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
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
// 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();
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"
} }
};
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
Storage cnfiguration name.
s3IResolvable | CfnStorageConfiguration.s3typing.Union[IResolvable, S3StorageConfigurationProperty]s3IResolvableS3IResolvableS3interface{} required #An S3 storage configuration contains information about where recorded video will be stored.
See the S3StorageConfiguration property type for more information.