# StreamConfigurationSessionBackupProperty

Struct · External

- Source: Generated at build time
- Type last changed: v2.167.0 · 13 Nov 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_nimblestudio as nimblestudio } from 'aws-cdk-lib';
const streamConfigurationSessionBackupProperty: nimblestudio.CfnLaunchProfile.StreamConfigurationSessionBackupProperty = {
  maxBackupsToRetain: 123,
  mode: 'mode',
};
```

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_nimblestudio as nimblestudio

stream_configuration_session_backup_property = nimblestudio.CfnLaunchProfile.StreamConfigurationSessionBackupProperty(
    max_backups_to_retain=123,
    mode="mode"
)
```

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

StreamConfigurationSessionBackupProperty streamConfigurationSessionBackupProperty = StreamConfigurationSessionBackupProperty.builder()
        .maxBackupsToRetain(123)
        .mode("mode")
        .build();
```

C#:

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

var streamConfigurationSessionBackupProperty = new StreamConfigurationSessionBackupProperty {
    MaxBackupsToRetain = 123,
    Mode = "mode"
};
```

Go:

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

streamConfigurationSessionBackupProperty := &StreamConfigurationSessionBackupProperty{
	MaxBackupsToRetain: jsii.Number(123),
	Mode: jsii.String("mode"),
}
```

## Properties

- `maxBackupsToRetain`: number

- `mode`: string
