Class CfnHoursOfOperation
Specifies hours of operation.
Inherited Members
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnHoursOfOperation : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnHoursOfOperation
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::Connect::HoursOfOperation
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.Connect;
var cfnHoursOfOperation = new CfnHoursOfOperation(this, "MyCfnHoursOfOperation", new CfnHoursOfOperationProps {
Config = new [] { new HoursOfOperationConfigProperty {
Day = "day",
EndTime = new HoursOfOperationTimeSliceProperty {
Hours = 123,
Minutes = 123
},
StartTime = new HoursOfOperationTimeSliceProperty {
Hours = 123,
Minutes = 123
}
} },
InstanceArn = "instanceArn",
Name = "name",
TimeZone = "timeZone",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnHoursOfOperation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnHoursOfOperation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnHoursOfOperation(Construct, String, ICfnHoursOfOperationProps) |
Properties
AttrHoursOfOperationArn | The Amazon Resource Name (ARN) of the hours of operation. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Config | Configuration information for the hours of operation. |
Description | The description for the hours of operation. |
InstanceArn | The Amazon Resource Name (ARN) of the instance. |
Name | The name for the hours of operation. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags used to organize, track, or control access for this resource. |
TimeZone | The time zone for the hours of operation. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnHoursOfOperation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnHoursOfOperation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnHoursOfOperation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnHoursOfOperation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnHoursOfOperation(Construct, String, ICfnHoursOfOperationProps)
public CfnHoursOfOperation(Construct scope, string id, ICfnHoursOfOperationProps 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 ICfnHoursOfOperationProps
Resource properties.
Properties
AttrHoursOfOperationArn
The Amazon Resource Name (ARN) of the hours of operation.
public virtual string AttrHoursOfOperationArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: HoursOfOperationArn
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
Config
Configuration information for the hours of operation.
public virtual object Config { get; set; }
Property Value
System.Object
Description
The description for the hours of operation.
public virtual string Description { get; set; }
Property Value
System.String
InstanceArn
The Amazon Resource Name (ARN) of the instance.
public virtual string InstanceArn { get; set; }
Property Value
System.String
Name
The name for the hours of operation.
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
The tags used to organize, track, or control access for this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
TimeZone
The time zone for the hours of operation.
public virtual string TimeZone { get; set; }
Property Value
System.String
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>