CfnTieringConfigurationProps Struct
Properties for defining a CfnTieringConfiguration.
| 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_backup as backup } from 'aws-cdk-lib';
const cfnTieringConfigurationProps: backup.CfnTieringConfigurationProps = {
backupVaultName: 'backupVaultName',
resourceSelection: [{
resources: ['resources'],
resourceType: 'resourceType',
tieringDownSettingsInDays: 123,
}],
tieringConfigurationName: 'tieringConfigurationName',
// the properties below are optional
tieringConfigurationTags: {
tieringConfigurationTagsKey: 'tieringConfigurationTags',
},
};
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_backup as backup
cfn_tiering_configuration_props = backup.CfnTieringConfigurationProps(
backup_vault_name="backupVaultName",
resource_selection=[backup.CfnTieringConfiguration.ResourceSelectionProperty(
resources=["resources"],
resource_type="resourceType",
tiering_down_settings_in_days=123
)],
tiering_configuration_name="tieringConfigurationName",
# the properties below are optional
tiering_configuration_tags={
"tiering_configuration_tags_key": "tieringConfigurationTags"
}
)
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.backup.*;
CfnTieringConfigurationProps cfnTieringConfigurationProps = CfnTieringConfigurationProps.builder()
.backupVaultName("backupVaultName")
.resourceSelection(List.of(ResourceSelectionProperty.builder()
.resources(List.of("resources"))
.resourceType("resourceType")
.tieringDownSettingsInDays(123)
.build()))
.tieringConfigurationName("tieringConfigurationName")
// the properties below are optional
.tieringConfigurationTags(Map.of(
"tieringConfigurationTagsKey", "tieringConfigurationTags"))
.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.Backup;
var cfnTieringConfigurationProps = new CfnTieringConfigurationProps {
BackupVaultName = "backupVaultName",
ResourceSelection = new [] { new ResourceSelectionProperty {
Resources = new [] { "resources" },
ResourceType = "resourceType",
TieringDownSettingsInDays = 123
} },
TieringConfigurationName = "tieringConfigurationName",
// the properties below are optional
TieringConfigurationTags = new Dictionary<string, string> {
{ "tieringConfigurationTagsKey", "tieringConfigurationTags" }
}
};
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"
cfnTieringConfigurationProps := &CfnTieringConfigurationProps{
BackupVaultName: jsii.String("backupVaultName"),
ResourceSelection: []interface{}{
&ResourceSelectionProperty{
Resources: []*string{
jsii.String("resources"),
},
ResourceType: jsii.String("resourceType"),
TieringDownSettingsInDays: jsii.Number(123),
},
},
TieringConfigurationName: jsii.String("tieringConfigurationName"),
// the properties below are optional
TieringConfigurationTags: map[string]*string{
"tieringConfigurationTagsKey": jsii.String("tieringConfigurationTags"),
},
}
Properties
backupVaultNamestringbackup_vault_namestrbackupVaultNameStringBackupVaultNamestringBackupVaultName*string required #resourceSelectionIResolvable | IResolvable | CfnTieringConfiguration.resource_selectiontyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ResourceSelectionProperty]]]resourceSelectionIResolvableResourceSelectionIResolvableResourceSelectioninterface{} required #tieringConfigurationNamestringtiering_configuration_namestrtieringConfigurationNameStringTieringConfigurationNamestringTieringConfigurationName*string required #tieringConfigurationTagsoptional{ [key: string]: string }tiering_configuration_tagsoptionaltyping.Mapping[str, str]tieringConfigurationTagsoptionalMap<String, String>TieringConfigurationTagsoptionalIDictionary<string, string>TieringConfigurationTagsoptional*map[string]*string #