Class CfnLabel
Creates or updates label.
Inherited Members
Namespace: Amazon.CDK.AWS.FraudDetector
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLabel : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnLabel
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
A label classifies an event as fraudulent or legitimate. Labels are associated with event types and used to train supervised machine learning models in Amazon Fraud Detector.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-label.html
CloudformationResource: AWS::FraudDetector::Label
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FraudDetector;
var cfnLabel = new CfnLabel(this, "MyCfnLabel", new CfnLabelProps {
Name = "name",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnLabel(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnLabel(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnLabel(Construct, String, ICfnLabelProps) |
Properties
AttrArn | The ARN of the label. |
AttrCreatedTime | Timestamp of when label was created. |
AttrLastUpdatedTime | Timestamp of when label was last updated. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The label description. |
Name | The label name. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnLabel(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnLabel(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnLabel(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnLabel(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnLabel(Construct, String, ICfnLabelProps)
public CfnLabel(Construct scope, string id, ICfnLabelProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnLabelProps
Resource properties.
Properties
AttrArn
The ARN of the label.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreatedTime
Timestamp of when label was created.
public virtual string AttrCreatedTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedTime
AttrLastUpdatedTime
Timestamp of when label was last updated.
public virtual string AttrLastUpdatedTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastUpdatedTime
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The label description.
public virtual string Description { get; set; }
Property Value
System.String
Name
The label name.
public virtual string Name { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>