Skip to content
v2.278.0

ResourceSelectionProperty Struct ​

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 resourceSelectionProperty: backup.CfnTieringConfiguration.ResourceSelectionProperty = {
  resources: ['resources'],
  resourceType: 'resourceType',
  tieringDownSettingsInDays: 123,
};
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

resource_selection_property = backup.CfnTieringConfiguration.ResourceSelectionProperty(
    resources=["resources"],
    resource_type="resourceType",
    tiering_down_settings_in_days=123
)
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.*;

ResourceSelectionProperty resourceSelectionProperty = ResourceSelectionProperty.builder()
        .resources(List.of("resources"))
        .resourceType("resourceType")
        .tieringDownSettingsInDays(123)
        .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 resourceSelectionProperty = new ResourceSelectionProperty {
    Resources = new [] { "resources" },
    ResourceType = "resourceType",
    TieringDownSettingsInDays = 123
};
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"

resourceSelectionProperty := &ResourceSelectionProperty{
	Resources: []*string{
		jsii.String("resources"),
	},
	ResourceType: jsii.String("resourceType"),
	TieringDownSettingsInDays: jsii.Number(123),
}

Properties ​

resourcesstring[]resourcestyping.List[str]resourcesList<String>Resourcesstring[]Resources*[]*string required #
resourceTypestringresource_typestrresourceTypeStringResourceTypestringResourceType*string required #
tieringDownSettingsInDaysnumbertiering_down_settings_in_daysint | floattieringDownSettingsInDaysNumberTieringDownSettingsInDaysdoubleTieringDownSettingsInDays*float64 required #