Class CfnInferenceScheduler
Creates a scheduled inference.
Inherited Members
Namespace: Amazon.CDK.AWS.LookoutEquipment
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInferenceScheduler : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnInferenceScheduler
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
Scheduling an inference is setting up a continuous real-time inference plan to analyze new measurement data. When setting up the schedule, you provide an Amazon S3 bucket location for the input data, assign it a delimiter between separate entries in the data, set an offset delay if desired, and set the frequency of inferencing. You must also provide an Amazon S3 bucket location for the output data.
Updating some properties below (for example, InferenceSchedulerName and ServerSideKmsKeyId) triggers a resource replacement, which requires a new model. To replace such a property using AWS CloudFormation , but without creating a completely new stack, you must replace ModelName. If you need to replace the property, but want to use the same model, delete the current stack and create a new one with the updated properties.
CloudformationResource: AWS::LookoutEquipment::InferenceScheduler
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.LookoutEquipment;
var dataInputConfiguration;
var dataOutputConfiguration;
var cfnInferenceScheduler = new CfnInferenceScheduler(this, "MyCfnInferenceScheduler", new CfnInferenceSchedulerProps {
DataInputConfiguration = dataInputConfiguration,
DataOutputConfiguration = dataOutputConfiguration,
DataUploadFrequency = "dataUploadFrequency",
ModelName = "modelName",
RoleArn = "roleArn",
// the properties below are optional
DataDelayOffsetInMinutes = 123,
InferenceSchedulerName = "inferenceSchedulerName",
ServerSideKmsKeyId = "serverSideKmsKeyId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnInferenceScheduler(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnInferenceScheduler(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnInferenceScheduler(Construct, String, ICfnInferenceSchedulerProps) |
Properties
AttrInferenceSchedulerArn | The Amazon Resource Name (ARN) of the inference scheduler being created. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DataDelayOffsetInMinutes | A period of time (in minutes) by which inference on the data is delayed after the data starts. |
DataInputConfiguration | Specifies configuration information for the input data for the inference scheduler, including delimiter, format, and dataset location. |
DataOutputConfiguration | Specifies configuration information for the output results for the inference scheduler, including the Amazon S3 location for the output. |
DataUploadFrequency | How often data is uploaded to the source S3 bucket for the input data. |
InferenceSchedulerName | The name of the inference scheduler. |
ModelName | The name of the machine learning model used for the inference scheduler. |
RoleArn | The Amazon Resource Name (ARN) of a role with permission to access the data source being used for the inference. |
ServerSideKmsKeyId | Provides the identifier of the AWS KMS key used to encrypt inference scheduler data by Amazon Lookout for Equipment . |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | Any tags associated with the inference scheduler. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnInferenceScheduler(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnInferenceScheduler(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnInferenceScheduler(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnInferenceScheduler(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnInferenceScheduler(Construct, String, ICfnInferenceSchedulerProps)
public CfnInferenceScheduler(Construct scope, string id, ICfnInferenceSchedulerProps 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 ICfnInferenceSchedulerProps
Resource properties.
Properties
AttrInferenceSchedulerArn
The Amazon Resource Name (ARN) of the inference scheduler being created.
public virtual string AttrInferenceSchedulerArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: InferenceSchedulerArn
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
DataDelayOffsetInMinutes
A period of time (in minutes) by which inference on the data is delayed after the data starts.
public virtual Nullable<double> DataDelayOffsetInMinutes { get; set; }
Property Value
System.Nullable<System.Double>
DataInputConfiguration
Specifies configuration information for the input data for the inference scheduler, including delimiter, format, and dataset location.
public virtual object DataInputConfiguration { get; set; }
Property Value
System.Object
DataOutputConfiguration
Specifies configuration information for the output results for the inference scheduler, including the Amazon S3 location for the output.
public virtual object DataOutputConfiguration { get; set; }
Property Value
System.Object
DataUploadFrequency
How often data is uploaded to the source S3 bucket for the input data.
public virtual string DataUploadFrequency { get; set; }
Property Value
System.String
InferenceSchedulerName
The name of the inference scheduler.
public virtual string InferenceSchedulerName { get; set; }
Property Value
System.String
ModelName
The name of the machine learning model used for the inference scheduler.
public virtual string ModelName { get; set; }
Property Value
System.String
RoleArn
The Amazon Resource Name (ARN) of a role with permission to access the data source being used for the inference.
public virtual string RoleArn { get; set; }
Property Value
System.String
ServerSideKmsKeyId
Provides the identifier of the AWS KMS key used to encrypt inference scheduler data by Amazon Lookout for Equipment .
public virtual string ServerSideKmsKeyId { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Any tags associated with the inference scheduler.
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>