CalendarDateTime Struct
Represents a calendar date and time.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const calendarDateTime: cloudwatch.CalendarDateTime = {
day: 123,
hour: 123,
minute: 123,
month: 123,
year: 123,
};
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_cloudwatch as cloudwatch
calendar_date_time = cloudwatch.CalendarDateTime(
day=123,
hour=123,
minute=123,
month=123,
year=123
)
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.cloudwatch.*;
CalendarDateTime calendarDateTime = CalendarDateTime.builder()
.day(123)
.hour(123)
.minute(123)
.month(123)
.year(123)
.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.CloudWatch;
var calendarDateTime = new CalendarDateTime {
Day = 123,
Hour = 123,
Minute = 123,
Month = 123,
Year = 123
};
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"
calendarDateTime := &CalendarDateTime{
Day: jsii.Number(123),
Hour: jsii.Number(123),
Minute: jsii.Number(123),
Month: jsii.Number(123),
Year: jsii.Number(123),
}
Properties
The hour of the time.
Valid range: 0-23
The minute of the time.
Valid range: 0-59
The month of the date.
Valid range: 1-12
The year of the date.