Show / Hide Table of Contents

Class CfnInstanceEventWindow

Resource type definition for AWS::EC2::InstanceEventWindow.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnInstanceEventWindow
Implements
IInspectable
IInstanceEventWindowRef
IConstruct
IDependable
IEnvironmentAware
ITaggableV2
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.AddResourceDependency(CfnResource, string)
CfnResource.ApplyCrossStackReferenceStrength(ReferenceStrength)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.CfnPropertyName(string)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.RemoveResourceDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.With(params IMixin[])
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstanceEventWindow : CfnResource, IInspectable, IInstanceEventWindowRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnInstanceEventWindow Inherits CfnResource Implements IInspectable, IInstanceEventWindowRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

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.EC2;

             var cfnInstanceEventWindow = new CfnInstanceEventWindow(this, "MyCfnInstanceEventWindow", new CfnInstanceEventWindowProps {
                 CronExpression = "cronExpression",
                 Name = "name",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TimeRanges = new [] { new TimeRangeProperty {
                     EndHour = 123,
                     EndWeekDay = "endWeekDay",
                     StartHour = 123,
                     StartWeekDay = "startWeekDay"
                 } }
             });

Synopsis

Constructors

CfnInstanceEventWindow(Construct, string, ICfnInstanceEventWindowProps?)

Create a new AWS::EC2::InstanceEventWindow.

Properties

AttrArn

The Amazon Resource Name (ARN) of the event window.

AttrInstanceEventWindowId

The ID of the event window.

AttrState

The current state of the event window.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CdkTagManager

Tag Manager which manages the tags for this resource.

CfnProperties

Resource type definition for AWS::EC2::InstanceEventWindow.

CfnPropertyNames

Resource type definition for AWS::EC2::InstanceEventWindow.

CronExpression

The cron expression defined for the event window.

InstanceEventWindowRef

A reference to a InstanceEventWindow resource.

Name

The name of the event window.

Tags

The tags applied to the event window.

TimeRanges

The time ranges of the event window.

Methods

ArnForInstanceEventWindow(IInstanceEventWindowRef)

Resource type definition for AWS::EC2::InstanceEventWindow.

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnInstanceEventWindow(object)

Checks whether the given object is a CfnInstanceEventWindow.

RenderProperties(IDictionary<string, object>)

Resource type definition for AWS::EC2::InstanceEventWindow.

Constructors

CfnInstanceEventWindow(Construct, string, ICfnInstanceEventWindowProps?)

Create a new AWS::EC2::InstanceEventWindow.

public CfnInstanceEventWindow(Construct scope, string id, ICfnInstanceEventWindowProps? props = null)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnInstanceEventWindowProps

Resource properties.

Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

Properties

AttrArn

The Amazon Resource Name (ARN) of the event window.

public virtual string AttrArn { get; }
Property Value

string

Remarks

CloudformationAttribute: Arn

AttrInstanceEventWindowId

The ID of the event window.

public virtual string AttrInstanceEventWindowId { get; }
Property Value

string

Remarks

CloudformationAttribute: InstanceEventWindowId

AttrState

The current state of the event window.

public virtual string AttrState { get; }
Property Value

string

Remarks

Observed values include creating, active, modifying, deleting and deleted.

CloudformationAttribute: State

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

CdkTagManager

Tag Manager which manages the tags for this resource.

public virtual TagManager CdkTagManager { get; }
Property Value

TagManager

Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

CfnProperties

Resource type definition for AWS::EC2::InstanceEventWindow.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

CfnPropertyNames

Resource type definition for AWS::EC2::InstanceEventWindow.

protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value

IDictionary<string, string>

Overrides
CfnResource.CfnPropertyNames
Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

CronExpression

The cron expression defined for the event window.

public virtual string? CronExpression { get; set; }
Property Value

string

Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

InstanceEventWindowRef

A reference to a InstanceEventWindow resource.

public virtual IInstanceEventWindowReference InstanceEventWindowRef { get; }
Property Value

IInstanceEventWindowReference

Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

Name

The name of the event window.

public virtual string? Name { get; set; }
Property Value

string

Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

Tags

The tags applied to the event window.

public virtual ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

TimeRanges

The time ranges of the event window.

public virtual object? TimeRanges { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or (either IResolvable or CfnInstanceEventWindow.ITimeRangeProperty)[]

Methods

ArnForInstanceEventWindow(IInstanceEventWindowRef)

Resource type definition for AWS::EC2::InstanceEventWindow.

public static string ArnForInstanceEventWindow(IInstanceEventWindowRef resource)
Parameters
resource IInstanceEventWindowRef
Returns

string

Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

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.EC2;

             var cfnInstanceEventWindow = new CfnInstanceEventWindow(this, "MyCfnInstanceEventWindow", new CfnInstanceEventWindowProps {
                 CronExpression = "cronExpression",
                 Name = "name",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TimeRanges = new [] { new TimeRangeProperty {
                     EndHour = 123,
                     EndWeekDay = "endWeekDay",
                     StartHour = 123,
                     StartWeekDay = "startWeekDay"
                 } }
             });

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.

Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

IsCfnInstanceEventWindow(object)

Checks whether the given object is a CfnInstanceEventWindow.

public static bool IsCfnInstanceEventWindow(object x)
Parameters
x object
Returns

bool

Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Resource type definition for AWS::EC2::InstanceEventWindow.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceeventwindow.html

CloudformationResource: AWS::EC2::InstanceEventWindow

ExampleMetadata: fixture=_generated

Implements

IInspectable
IInstanceEventWindowRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
ITaggableV2
Back to top Generated by DocFX