Class AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps
(experimental) Props type for aws.ecs@AWSAPICallViaCloudTrail event.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.ECS.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps : AWSAPICallViaCloudTrail.IAWSAPICallViaCloudTrailProps
Syntax (vb)
Public Class AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps Implements AWSAPICallViaCloudTrail.IAWSAPICallViaCloudTrailProps
Remarks
Stability: Experimental
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.Mixins.Preview.AWS.ECS.Events;
var environment;
var inferenceAcceleratorOverrides;
var networkBindings;
var networkInterfaces;
var resourceRequirements;
var tags;
var aWSAPICallViaCloudTrailProps = new AWSAPICallViaCloudTrailProps {
AwsRegion = new [] { "awsRegion" },
EventId = new [] { "eventId" },
EventMetadata = new AWSEventMetadataProps {
Region = new [] { "region" },
Resources = new [] { "resources" },
Version = new [] { "version" }
},
EventName = new [] { "eventName" },
EventSource = new [] { "eventSource" },
EventTime = new [] { "eventTime" },
EventType = new [] { "eventType" },
EventVersion = new [] { "eventVersion" },
RequestId = new [] { "requestId" },
RequestParameters = new RequestParameters {
Cluster = new [] { "cluster" },
ContainerInstance = new [] { "containerInstance" },
Containers = new [] { new RequestParametersItem1 {
ContainerName = new [] { "containerName" },
ExitCode = new [] { "exitCode" },
NetworkBindings = new [] { networkBindings },
Status = new [] { "status" }
} },
Count = new [] { "count" },
EnableEcsManagedTags = new [] { "enableEcsManagedTags" },
ExecutionStoppedAt = new [] { "executionStoppedAt" },
LaunchType = new [] { "launchType" },
NetworkConfiguration = new NetworkConfiguration {
AwsvpcConfiguration = new AwsvpcConfiguration {
AssignPublicIp = new [] { "assignPublicIp" },
Subnets = new [] { "subnets" }
}
},
Overrides = new Overrides {
ContainerOverrides = new [] { new OverridesItem {
Command = new [] { "command" },
Cpu = new [] { "cpu" },
Environment = new [] { environment },
Memory = new [] { "memory" },
Name = new [] { "name" },
ResourceRequirements = new [] { resourceRequirements }
} }
},
PlacementConstraints = new [] { new RequestParametersItem {
Expression = new [] { "expression" },
Type = new [] { "type" }
} },
PullStartedAt = new [] { "pullStartedAt" },
PullStoppedAt = new [] { "pullStoppedAt" },
Reason = new [] { "reason" },
StartedBy = new [] { "startedBy" },
Status = new [] { "status" },
Task = new [] { "task" },
TaskDefinition = new [] { "taskDefinition" }
},
ResponseElements = new ResponseElements {
Acknowledgment = new [] { "acknowledgment" },
Endpoint = new [] { "endpoint" },
Failures = new [] { "failures" },
Tasks = new [] { new ResponseElementsItem {
Attachments = new [] { new ResponseElementsItemItem {
Details = new [] { new ResponseElementsItemItemItem {
Name = new [] { "name" },
Value = new [] { "value" }
} },
Id = new [] { "id" },
Status = new [] { "status" },
Type = new [] { "type" }
} },
ClusterArn = new [] { "clusterArn" },
ContainerInstanceArn = new [] { "containerInstanceArn" },
Containers = new [] { new ResponseElementsItemItem1 {
ContainerArn = new [] { "containerArn" },
Cpu = new [] { "cpu" },
Image = new [] { "image" },
LastStatus = new [] { "lastStatus" },
Memory = new [] { "memory" },
Name = new [] { "name" },
NetworkInterfaces = new [] { networkInterfaces },
TaskArn = new [] { "taskArn" }
} },
Cpu = new [] { "cpu" },
CreatedAt = new [] { "createdAt" },
DesiredStatus = new [] { "desiredStatus" },
Group = new [] { "group" },
LastStatus = new [] { "lastStatus" },
LaunchType = new [] { "launchType" },
Memory = new [] { "memory" },
Overrides = new Overrides1 {
ContainerOverrides = new [] { new Overrides1Item {
Command = new [] { "command" },
Cpu = new [] { "cpu" },
Environment = new [] { environment },
Memory = new [] { "memory" },
Name = new [] { "name" },
ResourceRequirements = new [] { resourceRequirements }
} },
InferenceAcceleratorOverrides = new [] { inferenceAcceleratorOverrides }
},
PlatformVersion = new [] { "platformVersion" },
StartedBy = new [] { "startedBy" },
Tags = new [] { tags },
TaskArn = new [] { "taskArn" },
TaskDefinitionArn = new [] { "taskDefinitionArn" },
Version = new [] { "version" }
} },
TelemetryEndpoint = new [] { "telemetryEndpoint" }
},
SourceIpAddress = new [] { "sourceIpAddress" },
UserAgent = new [] { "userAgent" },
UserIdentity = new UserIdentity {
AccessKeyId = new [] { "accessKeyId" },
AccountId = new [] { "accountId" },
Arn = new [] { "arn" },
InvokedBy = new [] { "invokedBy" },
PrincipalId = new [] { "principalId" },
SessionContext = new SessionContext {
Attributes = new Attributes {
CreationDate = new [] { "creationDate" },
MfaAuthenticated = new [] { "mfaAuthenticated" }
},
SessionIssuer = new SessionIssuer {
AccountId = new [] { "accountId" },
Arn = new [] { "arn" },
PrincipalId = new [] { "principalId" },
Type = new [] { "type" },
UserName = new [] { "userName" }
},
WebIdFederationData = new [] { "webIdFederationData" }
},
Type = new [] { "type" }
}
};
Synopsis
Constructors
| AWSAPICallViaCloudTrailProps() | (experimental) Props type for aws.ecs@AWSAPICallViaCloudTrail event. |
Properties
| AwsRegion | (experimental) awsRegion property. |
| EventId | (experimental) eventID property. |
| EventMetadata | (experimental) EventBridge event metadata. |
| EventName | (experimental) eventName property. |
| EventSource | (experimental) eventSource property. |
| EventTime | (experimental) eventTime property. |
| EventType | (experimental) eventType property. |
| EventVersion | (experimental) eventVersion property. |
| RequestId | (experimental) requestID property. |
| RequestParameters | (experimental) requestParameters property. |
| ResponseElements | (experimental) responseElements property. |
| SourceIpAddress | (experimental) sourceIPAddress property. |
| UserAgent | (experimental) userAgent property. |
| UserIdentity | (experimental) userIdentity property. |
Constructors
AWSAPICallViaCloudTrailProps()
(experimental) Props type for aws.ecs@AWSAPICallViaCloudTrail event.
public AWSAPICallViaCloudTrailProps()
Remarks
Stability: Experimental
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.Mixins.Preview.AWS.ECS.Events;
var environment;
var inferenceAcceleratorOverrides;
var networkBindings;
var networkInterfaces;
var resourceRequirements;
var tags;
var aWSAPICallViaCloudTrailProps = new AWSAPICallViaCloudTrailProps {
AwsRegion = new [] { "awsRegion" },
EventId = new [] { "eventId" },
EventMetadata = new AWSEventMetadataProps {
Region = new [] { "region" },
Resources = new [] { "resources" },
Version = new [] { "version" }
},
EventName = new [] { "eventName" },
EventSource = new [] { "eventSource" },
EventTime = new [] { "eventTime" },
EventType = new [] { "eventType" },
EventVersion = new [] { "eventVersion" },
RequestId = new [] { "requestId" },
RequestParameters = new RequestParameters {
Cluster = new [] { "cluster" },
ContainerInstance = new [] { "containerInstance" },
Containers = new [] { new RequestParametersItem1 {
ContainerName = new [] { "containerName" },
ExitCode = new [] { "exitCode" },
NetworkBindings = new [] { networkBindings },
Status = new [] { "status" }
} },
Count = new [] { "count" },
EnableEcsManagedTags = new [] { "enableEcsManagedTags" },
ExecutionStoppedAt = new [] { "executionStoppedAt" },
LaunchType = new [] { "launchType" },
NetworkConfiguration = new NetworkConfiguration {
AwsvpcConfiguration = new AwsvpcConfiguration {
AssignPublicIp = new [] { "assignPublicIp" },
Subnets = new [] { "subnets" }
}
},
Overrides = new Overrides {
ContainerOverrides = new [] { new OverridesItem {
Command = new [] { "command" },
Cpu = new [] { "cpu" },
Environment = new [] { environment },
Memory = new [] { "memory" },
Name = new [] { "name" },
ResourceRequirements = new [] { resourceRequirements }
} }
},
PlacementConstraints = new [] { new RequestParametersItem {
Expression = new [] { "expression" },
Type = new [] { "type" }
} },
PullStartedAt = new [] { "pullStartedAt" },
PullStoppedAt = new [] { "pullStoppedAt" },
Reason = new [] { "reason" },
StartedBy = new [] { "startedBy" },
Status = new [] { "status" },
Task = new [] { "task" },
TaskDefinition = new [] { "taskDefinition" }
},
ResponseElements = new ResponseElements {
Acknowledgment = new [] { "acknowledgment" },
Endpoint = new [] { "endpoint" },
Failures = new [] { "failures" },
Tasks = new [] { new ResponseElementsItem {
Attachments = new [] { new ResponseElementsItemItem {
Details = new [] { new ResponseElementsItemItemItem {
Name = new [] { "name" },
Value = new [] { "value" }
} },
Id = new [] { "id" },
Status = new [] { "status" },
Type = new [] { "type" }
} },
ClusterArn = new [] { "clusterArn" },
ContainerInstanceArn = new [] { "containerInstanceArn" },
Containers = new [] { new ResponseElementsItemItem1 {
ContainerArn = new [] { "containerArn" },
Cpu = new [] { "cpu" },
Image = new [] { "image" },
LastStatus = new [] { "lastStatus" },
Memory = new [] { "memory" },
Name = new [] { "name" },
NetworkInterfaces = new [] { networkInterfaces },
TaskArn = new [] { "taskArn" }
} },
Cpu = new [] { "cpu" },
CreatedAt = new [] { "createdAt" },
DesiredStatus = new [] { "desiredStatus" },
Group = new [] { "group" },
LastStatus = new [] { "lastStatus" },
LaunchType = new [] { "launchType" },
Memory = new [] { "memory" },
Overrides = new Overrides1 {
ContainerOverrides = new [] { new Overrides1Item {
Command = new [] { "command" },
Cpu = new [] { "cpu" },
Environment = new [] { environment },
Memory = new [] { "memory" },
Name = new [] { "name" },
ResourceRequirements = new [] { resourceRequirements }
} },
InferenceAcceleratorOverrides = new [] { inferenceAcceleratorOverrides }
},
PlatformVersion = new [] { "platformVersion" },
StartedBy = new [] { "startedBy" },
Tags = new [] { tags },
TaskArn = new [] { "taskArn" },
TaskDefinitionArn = new [] { "taskDefinitionArn" },
Version = new [] { "version" }
} },
TelemetryEndpoint = new [] { "telemetryEndpoint" }
},
SourceIpAddress = new [] { "sourceIpAddress" },
UserAgent = new [] { "userAgent" },
UserIdentity = new UserIdentity {
AccessKeyId = new [] { "accessKeyId" },
AccountId = new [] { "accountId" },
Arn = new [] { "arn" },
InvokedBy = new [] { "invokedBy" },
PrincipalId = new [] { "principalId" },
SessionContext = new SessionContext {
Attributes = new Attributes {
CreationDate = new [] { "creationDate" },
MfaAuthenticated = new [] { "mfaAuthenticated" }
},
SessionIssuer = new SessionIssuer {
AccountId = new [] { "accountId" },
Arn = new [] { "arn" },
PrincipalId = new [] { "principalId" },
Type = new [] { "type" },
UserName = new [] { "userName" }
},
WebIdFederationData = new [] { "webIdFederationData" }
},
Type = new [] { "type" }
}
};
Properties
AwsRegion
(experimental) awsRegion property.
public string[]? AwsRegion { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
EventId
(experimental) eventID property.
public string[]? EventId { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
EventMetadata
(experimental) EventBridge event metadata.
public IAWSEventMetadataProps? EventMetadata { get; set; }
Property Value
Remarks
Default: - -
Stability: Experimental
EventName
(experimental) eventName property.
public string[]? EventName { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
EventSource
(experimental) eventSource property.
public string[]? EventSource { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
EventTime
(experimental) eventTime property.
public string[]? EventTime { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
EventType
(experimental) eventType property.
public string[]? EventType { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
EventVersion
(experimental) eventVersion property.
public string[]? EventVersion { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
RequestId
(experimental) requestID property.
public string[]? RequestId { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
RequestParameters
(experimental) requestParameters property.
public AWSAPICallViaCloudTrail.IRequestParameters? RequestParameters { get; set; }
Property Value
AWSAPICallViaCloudTrail.IRequestParameters
Remarks
Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
ResponseElements
(experimental) responseElements property.
public AWSAPICallViaCloudTrail.IResponseElements? ResponseElements { get; set; }
Property Value
AWSAPICallViaCloudTrail.IResponseElements
Remarks
Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
SourceIpAddress
(experimental) sourceIPAddress property.
public string[]? SourceIpAddress { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
UserAgent
(experimental) userAgent property.
public string[]? UserAgent { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
UserIdentity
(experimental) userIdentity property.
public AWSAPICallViaCloudTrail.IUserIdentity? UserIdentity { get; set; }
Property Value
AWSAPICallViaCloudTrail.IUserIdentity
Remarks
Specify an array of string values to match this event if the actual value of userIdentity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental