Class CfnEventAction
An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published.
Inherited Members
Namespace: Amazon.CDK.AWS.DataExchange
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEventAction : CfnResource, IInspectable, IEventActionRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnEventAction Inherits CfnResource Implements IInspectable, IEventActionRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks
CloudformationResource: AWS::DataExchange::EventAction
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.DataExchange;
var cfnEventAction = new CfnEventAction(this, "MyCfnEventAction", new CfnEventActionProps {
Action = new ActionProperty {
ExportRevisionToS3 = new AutoExportRevisionToS3RequestDetailsProperty {
RevisionDestination = new AutoExportRevisionDestinationEntryProperty {
Bucket = "bucket",
// the properties below are optional
KeyPattern = "keyPattern"
},
// the properties below are optional
Encryption = new ExportServerSideEncryptionProperty {
Type = "type",
// the properties below are optional
KmsKeyArn = "kmsKeyArn"
}
}
},
Event = new EventProperty {
RevisionPublished = new RevisionPublishedProperty {
DataSetId = "dataSetId"
}
},
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
| CfnEventAction(Construct, string, ICfnEventActionProps) | Create a new |
Properties
| Action | What occurs after a certain event. |
| AttrArn | The ARN for the event action. |
| AttrCreatedAt | The date and time that the event action was created, in ISO 8601 format. |
| AttrEventActionId | The unique identifier for the event action. |
| AttrUpdatedAt | The date and time that the event action was last updated, in ISO 8601 format. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CdkTagManager | Tag Manager which manages the tags for this resource. |
| CfnProperties | An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published. |
| CfnPropertyNames | An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published. |
| Event | What occurs to start an action. |
| EventActionRef | A reference to a EventAction resource. |
| Tags | The tags for the event action. |
Methods
| ArnForEventAction(IEventActionRef) | An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnEventAction(object) | Checks whether the given object is a CfnEventAction. |
| RenderProperties(IDictionary<string, object>) | An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published. |
Constructors
CfnEventAction(Construct, string, ICfnEventActionProps)
Create a new AWS::DataExchange::EventAction.
public CfnEventAction(Construct scope, string id, ICfnEventActionProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnEventActionProps
Resource properties.
Remarks
CloudformationResource: AWS::DataExchange::EventAction
ExampleMetadata: fixture=_generated
Properties
Action
What occurs after a certain event.
public virtual object Action { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnEventAction.IActionProperty
AttrArn
The ARN for the event action.
public virtual string AttrArn { get; }
Property Value
Remarks
CloudformationAttribute: Arn
AttrCreatedAt
The date and time that the event action was created, in ISO 8601 format.
public virtual string AttrCreatedAt { get; }
Property Value
Remarks
CloudformationAttribute: CreatedAt
AttrEventActionId
The unique identifier for the event action.
public virtual string AttrEventActionId { get; }
Property Value
Remarks
CloudformationAttribute: EventActionId
AttrUpdatedAt
The date and time that the event action was last updated, in ISO 8601 format.
public virtual string AttrUpdatedAt { get; }
Property Value
Remarks
CloudformationAttribute: UpdatedAt
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::DataExchange::EventAction
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
CloudformationResource: AWS::DataExchange::EventAction
ExampleMetadata: fixture=_generated
CfnProperties
An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::DataExchange::EventAction
ExampleMetadata: fixture=_generated
CfnPropertyNames
An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::DataExchange::EventAction
ExampleMetadata: fixture=_generated
Event
What occurs to start an action.
public virtual object Event { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnEventAction.IEventProperty
EventActionRef
A reference to a EventAction resource.
public virtual IEventActionReference EventActionRef { get; }
Property Value
Remarks
CloudformationResource: AWS::DataExchange::EventAction
ExampleMetadata: fixture=_generated
Tags
The tags for the event action.
public virtual ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
CloudformationResource: AWS::DataExchange::EventAction
ExampleMetadata: fixture=_generated
Methods
ArnForEventAction(IEventActionRef)
An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published.
public static string ArnForEventAction(IEventActionRef resource)
Parameters
- resource IEventActionRef
Returns
Remarks
CloudformationResource: AWS::DataExchange::EventAction
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.DataExchange;
var cfnEventAction = new CfnEventAction(this, "MyCfnEventAction", new CfnEventActionProps {
Action = new ActionProperty {
ExportRevisionToS3 = new AutoExportRevisionToS3RequestDetailsProperty {
RevisionDestination = new AutoExportRevisionDestinationEntryProperty {
Bucket = "bucket",
// the properties below are optional
KeyPattern = "keyPattern"
},
// the properties below are optional
Encryption = new ExportServerSideEncryptionProperty {
Type = "type",
// the properties below are optional
KmsKeyArn = "kmsKeyArn"
}
}
},
Event = new EventProperty {
RevisionPublished = new RevisionPublishedProperty {
DataSetId = "dataSetId"
}
},
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
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
CloudformationResource: AWS::DataExchange::EventAction
ExampleMetadata: fixture=_generated
IsCfnEventAction(object)
Checks whether the given object is a CfnEventAction.
public static bool IsCfnEventAction(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::DataExchange::EventAction
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::DataExchange::EventAction
ExampleMetadata: fixture=_generated