interface CfnLabelProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.FraudDetector.CfnLabelProps |
Java | software.amazon.awscdk.services.frauddetector.CfnLabelProps |
Python | aws_cdk.aws_frauddetector.CfnLabelProps |
TypeScript | @aws-cdk/aws-frauddetector » CfnLabelProps |
Properties for defining a CfnLabel
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as frauddetector from '@aws-cdk/aws-frauddetector';
const cfnLabelProps: frauddetector.CfnLabelProps = {
name: 'name',
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
name | string | The label name. |
description? | string | The label description. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
name
Type:
string
The label name.
Pattern: ^[0-9a-z_-]+$
description?
Type:
string
(optional)
The label description.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .