Class CfnEventSubscription
Inherited Members
Namespace: Amazon.CDK.AWS.Redshift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEventSubscription : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnEventSubscription
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::Redshift::EventSubscription
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.Redshift;
var cfnEventSubscription = new CfnEventSubscription(this, "MyCfnEventSubscription", new CfnEventSubscriptionProps {
SubscriptionName = "subscriptionName",
// the properties below are optional
Enabled = false,
EventCategories = new [] { "eventCategories" },
Severity = "severity",
SnsTopicArn = "snsTopicArn",
SourceIds = new [] { "sourceIds" },
SourceType = "sourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnEventSubscription(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnEventSubscription(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnEventSubscription(Construct, String, ICfnEventSubscriptionProps) |
Properties
AttrCustomerAwsId | The AWS account associated with the Amazon Redshift event notification subscription. |
AttrCustSubscriptionId | The name of the Amazon Redshift event notification subscription. |
AttrEventCategoriesList | The list of Amazon Redshift event categories specified in the event notification subscription. |
AttrSourceIdsList | A list of the sources that publish events to the Amazon Redshift event notification subscription. |
AttrStatus | The status of the Amazon Redshift event notification subscription. |
AttrSubscriptionCreationTime | The date and time the Amazon Redshift event notification subscription was created. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Enabled | A boolean value; |
EventCategories | Specifies the Amazon Redshift event categories to be published by the event notification subscription. |
Severity | Specifies the Amazon Redshift event severity to be published by the event notification subscription. |
SnsTopicArn | The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications. |
SourceIds | A list of one or more identifiers of Amazon Redshift source objects. |
SourceType | The type of source that will be generating the events. |
SubscriptionName | The name of the event subscription to be created. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | A list of tag instances. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnEventSubscription(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnEventSubscription(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnEventSubscription(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnEventSubscription(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnEventSubscription(Construct, String, ICfnEventSubscriptionProps)
public CfnEventSubscription(Construct scope, string id, ICfnEventSubscriptionProps 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 ICfnEventSubscriptionProps
Resource properties.
Properties
AttrCustomerAwsId
The AWS account associated with the Amazon Redshift event notification subscription.
public virtual string AttrCustomerAwsId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CustomerAwsId
AttrCustSubscriptionId
The name of the Amazon Redshift event notification subscription.
public virtual string AttrCustSubscriptionId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CustSubscriptionId
AttrEventCategoriesList
The list of Amazon Redshift event categories specified in the event notification subscription.
public virtual string[] AttrEventCategoriesList { get; }
Property Value
System.String[]
Remarks
Values: Configuration, Management, Monitoring, Security, Pending
CloudformationAttribute: EventCategoriesList
AttrSourceIdsList
A list of the sources that publish events to the Amazon Redshift event notification subscription.
public virtual string[] AttrSourceIdsList { get; }
Property Value
System.String[]
Remarks
CloudformationAttribute: SourceIdsList
AttrStatus
The status of the Amazon Redshift event notification subscription.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
Constraints:
CloudformationAttribute: Status
AttrSubscriptionCreationTime
The date and time the Amazon Redshift event notification subscription was created.
public virtual string AttrSubscriptionCreationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: SubscriptionCreationTime
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
Enabled
A boolean value;
public virtual object Enabled { get; set; }
Property Value
System.Object
EventCategories
Specifies the Amazon Redshift event categories to be published by the event notification subscription.
public virtual string[] EventCategories { get; set; }
Property Value
System.String[]
Severity
Specifies the Amazon Redshift event severity to be published by the event notification subscription.
public virtual string Severity { get; set; }
Property Value
System.String
SnsTopicArn
The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications.
public virtual string SnsTopicArn { get; set; }
Property Value
System.String
SourceIds
A list of one or more identifiers of Amazon Redshift source objects.
public virtual string[] SourceIds { get; set; }
Property Value
System.String[]
SourceType
The type of source that will be generating the events.
public virtual string SourceType { get; set; }
Property Value
System.String
SubscriptionName
The name of the event subscription to be created.
public virtual string SubscriptionName { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
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>