Class CfnFilterMixinProps
Properties for CfnFilterPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.InspectorV2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnFilterMixinProps : ICfnFilterMixinProps
Syntax (vb)
Public Class CfnFilterMixinProps Implements ICfnFilterMixinProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html
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.CfnPropertyMixins.AWS.InspectorV2;
var cfnFilterMixinProps = new CfnFilterMixinProps {
Description = "description",
FilterAction = "filterAction",
FilterCriteria = new FilterCriteriaProperty {
AwsAccountId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
CodeVulnerabilityDetectorName = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
CodeVulnerabilityDetectorTags = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
CodeVulnerabilityFilePath = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
ComponentId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
ComponentType = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
Ec2InstanceImageId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
Ec2InstanceSubnetId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
Ec2InstanceVpcId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EcrImageArchitecture = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EcrImageHash = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EcrImagePushedAt = new [] { new DateFilterProperty {
EndInclusive = 123,
StartInclusive = 123
} },
EcrImageRegistry = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EcrImageRepositoryName = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EcrImageTags = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EpssScore = new [] { new NumberFilterProperty {
LowerInclusive = 123,
UpperInclusive = 123
} },
ExploitAvailable = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
FindingArn = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
FindingStatus = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
FindingType = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
FirstObservedAt = new [] { new DateFilterProperty {
EndInclusive = 123,
StartInclusive = 123
} },
FixAvailable = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
InspectorScore = new [] { new NumberFilterProperty {
LowerInclusive = 123,
UpperInclusive = 123
} },
LambdaFunctionExecutionRoleArn = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
LambdaFunctionLastModifiedAt = new [] { new DateFilterProperty {
EndInclusive = 123,
StartInclusive = 123
} },
LambdaFunctionLayers = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
LambdaFunctionName = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
LambdaFunctionRuntime = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
LastObservedAt = new [] { new DateFilterProperty {
EndInclusive = 123,
StartInclusive = 123
} },
NetworkProtocol = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
PortRange = new [] { new PortRangeFilterProperty {
BeginInclusive = 123,
EndInclusive = 123
} },
RelatedVulnerabilities = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
ResourceId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
ResourceTags = new [] { new MapFilterProperty {
Comparison = "comparison",
Key = "key",
Value = "value"
} },
ResourceType = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
Severity = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
Title = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
UpdatedAt = new [] { new DateFilterProperty {
EndInclusive = 123,
StartInclusive = 123
} },
VendorSeverity = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
VulnerabilityId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
VulnerabilitySource = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
VulnerablePackages = new [] { new PackageFilterProperty {
Architecture = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
Epoch = new NumberFilterProperty {
LowerInclusive = 123,
UpperInclusive = 123
},
FilePath = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
Name = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
Release = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
SourceLambdaLayerArn = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
SourceLayerHash = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
Version = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
}
} }
},
Name = "name",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Synopsis
Constructors
| CfnFilterMixinProps() | Properties for CfnFilterPropsMixin. |
Properties
| Description | A description of the filter. |
| FilterAction | The action that is to be applied to the findings that match the filter. |
| FilterCriteria | Details on the filter criteria associated with this filter. |
| Name | The name of the filter. |
| Tags | The tags attached to the filter. |
Constructors
CfnFilterMixinProps()
Properties for CfnFilterPropsMixin.
public CfnFilterMixinProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html
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.CfnPropertyMixins.AWS.InspectorV2;
var cfnFilterMixinProps = new CfnFilterMixinProps {
Description = "description",
FilterAction = "filterAction",
FilterCriteria = new FilterCriteriaProperty {
AwsAccountId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
CodeVulnerabilityDetectorName = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
CodeVulnerabilityDetectorTags = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
CodeVulnerabilityFilePath = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
ComponentId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
ComponentType = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
Ec2InstanceImageId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
Ec2InstanceSubnetId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
Ec2InstanceVpcId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EcrImageArchitecture = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EcrImageHash = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EcrImagePushedAt = new [] { new DateFilterProperty {
EndInclusive = 123,
StartInclusive = 123
} },
EcrImageRegistry = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EcrImageRepositoryName = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EcrImageTags = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
EpssScore = new [] { new NumberFilterProperty {
LowerInclusive = 123,
UpperInclusive = 123
} },
ExploitAvailable = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
FindingArn = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
FindingStatus = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
FindingType = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
FirstObservedAt = new [] { new DateFilterProperty {
EndInclusive = 123,
StartInclusive = 123
} },
FixAvailable = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
InspectorScore = new [] { new NumberFilterProperty {
LowerInclusive = 123,
UpperInclusive = 123
} },
LambdaFunctionExecutionRoleArn = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
LambdaFunctionLastModifiedAt = new [] { new DateFilterProperty {
EndInclusive = 123,
StartInclusive = 123
} },
LambdaFunctionLayers = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
LambdaFunctionName = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
LambdaFunctionRuntime = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
LastObservedAt = new [] { new DateFilterProperty {
EndInclusive = 123,
StartInclusive = 123
} },
NetworkProtocol = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
PortRange = new [] { new PortRangeFilterProperty {
BeginInclusive = 123,
EndInclusive = 123
} },
RelatedVulnerabilities = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
ResourceId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
ResourceTags = new [] { new MapFilterProperty {
Comparison = "comparison",
Key = "key",
Value = "value"
} },
ResourceType = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
Severity = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
Title = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
UpdatedAt = new [] { new DateFilterProperty {
EndInclusive = 123,
StartInclusive = 123
} },
VendorSeverity = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
VulnerabilityId = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
VulnerabilitySource = new [] { new StringFilterProperty {
Comparison = "comparison",
Value = "value"
} },
VulnerablePackages = new [] { new PackageFilterProperty {
Architecture = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
Epoch = new NumberFilterProperty {
LowerInclusive = 123,
UpperInclusive = 123
},
FilePath = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
Name = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
Release = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
SourceLambdaLayerArn = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
SourceLayerHash = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
},
Version = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
}
} }
},
Name = "name",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Properties
Description
A description of the filter.
public string? Description { get; set; }
Property Value
Remarks
FilterAction
The action that is to be applied to the findings that match the filter.
public string? FilterAction { get; set; }
Property Value
Remarks
FilterCriteria
Details on the filter criteria associated with this filter.
public object? FilterCriteria { get; set; }
Property Value
Remarks
Name
The name of the filter.
public string? Name { get; set; }
Property Value
Remarks
Tags
The tags attached to the filter.
public IDictionary<string, string>? Tags { get; set; }