Skip to content
v2.278.0

ConditionParameterProperty Struct ​

Includes information about tags you define to assign tagged resources to a backup plan.

Include the prefix aws:ResourceTag in your tags. For example, "aws:ResourceTag/TagKey1": "Value1" .

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 conditionParameterProperty: backup.CfnBackupSelection.ConditionParameterProperty = {
  conditionKey: 'conditionKey',
  conditionValue: 'conditionValue',
};
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

condition_parameter_property = backup.CfnBackupSelection.ConditionParameterProperty(
    condition_key="conditionKey",
    condition_value="conditionValue"
)
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.*;

ConditionParameterProperty conditionParameterProperty = ConditionParameterProperty.builder()
        .conditionKey("conditionKey")
        .conditionValue("conditionValue")
        .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 conditionParameterProperty = new ConditionParameterProperty {
    ConditionKey = "conditionKey",
    ConditionValue = "conditionValue"
};
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"

conditionParameterProperty := &ConditionParameterProperty{
	ConditionKey: jsii.String("conditionKey"),
	ConditionValue: jsii.String("conditionValue"),
}

Properties ​

conditionKeyoptionalstringcondition_keyoptionalstrconditionKeyoptionalStringConditionKeyoptionalstringConditionKeyoptional*string #
The key in a key-value pair.

For example, in the tag Department: Accounting , Department is the key.

conditionValueoptionalstringcondition_valueoptionalstrconditionValueoptionalStringConditionValueoptionalstringConditionValueoptional*string #
The value in a key-value pair.

For example, in the tag Department: Accounting , Accounting is the value.