Interface AWSAPICallViaCloudTrail.IAWSAPICallViaCloudTrailProps
(experimental) Props type for aws.autoscaling@AWSAPICallViaCloudTrail event.
Namespace: Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface AWSAPICallViaCloudTrail.IAWSAPICallViaCloudTrailProps
Syntax (vb)
Public Interface 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.AutoScaling.Events;
var alarms;
var failedScheduledActions;
var failedScheduledUpdateGroupActions;
var lifecycleHookSpecificationList;
var overrides;
var scheduledUpdateGroupActions;
var aWSAPICallViaCloudTrailProps = new AWSAPICallViaCloudTrailProps {
AwsRegion = new [] { "awsRegion" },
ErrorCode = new [] { "errorCode" },
ErrorMessage = new [] { "errorMessage" },
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 {
AdjustmentType = new [] { "adjustmentType" },
AutoScalingGroupName = new [] { "autoScalingGroupName" },
AvailabilityZones = new [] { "availabilityZones" },
BreachThreshold = new [] { "breachThreshold" },
DefaultCooldown = new [] { "defaultCooldown" },
DesiredCapacity = new [] { "desiredCapacity" },
ForceDelete = new [] { "forceDelete" },
Granularity = new [] { "granularity" },
HealthCheckGracePeriod = new [] { "healthCheckGracePeriod" },
HealthCheckType = new [] { "healthCheckType" },
HonorCooldown = new [] { "honorCooldown" },
ImageId = new [] { "imageId" },
InstanceIds = new [] { "instanceIds" },
InstanceType = new [] { "instanceType" },
LaunchConfigurationName = new [] { "launchConfigurationName" },
LaunchTemplate = new LaunchTemplate {
LaunchTemplateName = new [] { "launchTemplateName" }
},
LifecycleHookSpecificationList = new [] { lifecycleHookSpecificationList },
LoadBalancerNames = new [] { "loadBalancerNames" },
MaxSize = new [] { "maxSize" },
Metrics = new [] { "metrics" },
MetricValue = new [] { "metricValue" },
MinSize = new [] { "minSize" },
MixedInstancesPolicy = new MixedInstancesPolicy {
InstancesDistribution = new InstancesDistribution {
OnDemandAllocationStrategy = new [] { "onDemandAllocationStrategy" },
OnDemandBaseCapacity = new [] { "onDemandBaseCapacity" },
OnDemandPercentageAboveBaseCapacity = new [] { "onDemandPercentageAboveBaseCapacity" },
SpotAllocationStrategy = new [] { "spotAllocationStrategy" },
SpotInstancePools = new [] { "spotInstancePools" }
},
LaunchTemplate = new LaunchTemplate1 {
LaunchTemplateSpecification = new LaunchTemplateSpecification {
LaunchTemplateName = new [] { "launchTemplateName" },
Version = new [] { "version" }
},
Overrides = new [] { overrides }
}
},
NewInstancesProtectedFromScaleIn = new [] { "newInstancesProtectedFromScaleIn" },
NotificationTypes = new [] { "notificationTypes" },
PolicyName = new [] { "policyName" },
PolicyType = new [] { "policyType" },
ProtectedFromScaleIn = new [] { "protectedFromScaleIn" },
ScalingAdjustment = new [] { "scalingAdjustment" },
ScheduledActionName = new [] { "scheduledActionName" },
ScheduledActionNames = new [] { "scheduledActionNames" },
ScheduledUpdateGroupActions = new [] { scheduledUpdateGroupActions },
SecurityGroups = new [] { "securityGroups" },
ServiceLinkedRoleArn = new [] { "serviceLinkedRoleArn" },
SpotPrice = new [] { "spotPrice" },
StartTime = new [] { "startTime" },
StepAdjustments = new [] { new RequestParametersItem1 {
MetricIntervalLowerBound = new [] { "metricIntervalLowerBound" },
ScalingAdjustment = new [] { "scalingAdjustment" }
} },
Tags = new [] { new RequestParametersItem {
Key = new [] { "key" },
PropagateAtLaunch = new [] { "propagateAtLaunch" },
ResourceId = new [] { "resourceId" },
ResourceType = new [] { "resourceType" },
Value = new [] { "value" }
} },
TargetGroupArns = new [] { "targetGroupArns" },
TargetTrackingConfiguration = new TargetTrackingConfiguration {
CustomizedMetricSpecification = new CustomizedMetricSpecification {
Dimensions = new [] { new CustomizedMetricSpecificationItem {
Name = new [] { "name" },
Value = new [] { "value" }
} },
MetricName = new [] { "metricName" },
Namespace = new [] { "namespace" },
Statistic = new [] { "statistic" },
Unit = new [] { "unit" }
},
PredefinedMetricSpecification = new PredefinedMetricSpecification {
PredefinedMetricType = new [] { "predefinedMetricType" }
},
TargetValue = new [] { "targetValue" }
},
Time = new [] { "time" },
TopicArn = new [] { "topicArn" },
UserData = new [] { "userData" },
VPcZoneIdentifier = new [] { "vPcZoneIdentifier" }
},
ResponseElements = new ResponseElements {
Alarms = new [] { alarms },
FailedScheduledActions = new [] { failedScheduledActions },
FailedScheduledUpdateGroupActions = new [] { failedScheduledUpdateGroupActions },
PolicyArn = new [] { "policyArn" }
},
SourceIpAddress = new [] { "sourceIpAddress" },
UserAgent = new [] { "userAgent" },
UserIdentity = new UserIdentity {
AccessKeyId = new [] { "accessKeyId" },
AccountId = new [] { "accountId" },
Arn = new [] { "arn" },
PrincipalId = new [] { "principalId" },
Type = new [] { "type" }
}
};
Synopsis
Properties
| AwsRegion | (experimental) awsRegion property. |
| ErrorCode | (experimental) errorCode property. |
| ErrorMessage | (experimental) errorMessage 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. |
Properties
AwsRegion
(experimental) awsRegion property.
string[]? AwsRegion { get; }
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
ErrorCode
(experimental) errorCode property.
string[]? ErrorCode { get; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of errorCode 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
ErrorMessage
(experimental) errorMessage property.
string[]? ErrorMessage { get; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of errorMessage 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.
string[]? EventId { get; }
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.
IAWSEventMetadataProps? EventMetadata { get; }
Property Value
Remarks
Default: - -
Stability: Experimental
EventName
(experimental) eventName property.
string[]? EventName { get; }
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.
string[]? EventSource { get; }
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.
string[]? EventTime { get; }
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.
string[]? EventType { get; }
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.
string[]? EventVersion { get; }
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.
string[]? RequestId { get; }
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.
AWSAPICallViaCloudTrail.IRequestParameters? RequestParameters { get; }
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.
AWSAPICallViaCloudTrail.IResponseElements? ResponseElements { get; }
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.
string[]? SourceIpAddress { get; }
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.
string[]? UserAgent { get; }
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.
AWSAPICallViaCloudTrail.IUserIdentity? UserIdentity { get; }
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