Documentation ¶
Index ¶
- func CfnFilter_CFN_RESOURCE_TYPE_NAME() *string
- func CfnFilter_IsCfnElement(x interface{}) *bool
- func CfnFilter_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnFilter_IsConstruct(x interface{}) *bool
- func NewCfnFilter_Override(c CfnFilter, scope awscdk.Construct, id *string, props *CfnFilterProps)
- type CfnFilter
- type CfnFilterProps
- type CfnFilter_DateFilterProperty
- type CfnFilter_FilterCriteriaProperty
- type CfnFilter_MapFilterProperty
- type CfnFilter_NumberFilterProperty
- type CfnFilter_PackageFilterProperty
- type CfnFilter_PortRangeFilterProperty
- type CfnFilter_StringFilterProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnFilter_CFN_RESOURCE_TYPE_NAME ¶
func CfnFilter_CFN_RESOURCE_TYPE_NAME() *string
func CfnFilter_IsCfnElement ¶
func CfnFilter_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnFilter_IsCfnResource ¶
func CfnFilter_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnFilter_IsConstruct ¶
func CfnFilter_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func NewCfnFilter_Override ¶
func NewCfnFilter_Override(c CfnFilter, scope awscdk.Construct, id *string, props *CfnFilterProps)
Create a new `AWS::InspectorV2::Filter`.
Types ¶
type CfnFilter ¶
type CfnFilter interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string Description() *string SetDescription(val *string) FilterAction() *string SetFilterAction(val *string) FilterCriteria() interface{} SetFilterCriteria(val interface{}) LogicalId() *string Name() *string SetName(val *string) Node() awscdk.ConstructNode Ref() *string Stack() awscdk.Stack UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::InspectorV2::Filter`.
TODO: EXAMPLE
func NewCfnFilter ¶
func NewCfnFilter(scope awscdk.Construct, id *string, props *CfnFilterProps) CfnFilter
Create a new `AWS::InspectorV2::Filter`.
type CfnFilterProps ¶
type CfnFilterProps struct { // `AWS::InspectorV2::Filter.FilterAction`. FilterAction *string `json:"filterAction" yaml:"filterAction"` // `AWS::InspectorV2::Filter.FilterCriteria`. FilterCriteria interface{} `json:"filterCriteria" yaml:"filterCriteria"` // `AWS::InspectorV2::Filter.Name`. Name *string `json:"name" yaml:"name"` // `AWS::InspectorV2::Filter.Description`. Description *string `json:"description" yaml:"description"` }
Properties for defining a `CfnFilter`.
TODO: EXAMPLE
type CfnFilter_DateFilterProperty ¶
type CfnFilter_DateFilterProperty struct { // `CfnFilter.DateFilterProperty.EndInclusive`. EndInclusive *float64 `json:"endInclusive" yaml:"endInclusive"` // `CfnFilter.DateFilterProperty.StartInclusive`. StartInclusive *float64 `json:"startInclusive" yaml:"startInclusive"` }
TODO: EXAMPLE
type CfnFilter_FilterCriteriaProperty ¶
type CfnFilter_FilterCriteriaProperty struct { // `CfnFilter.FilterCriteriaProperty.AwsAccountId`. AwsAccountId interface{} `json:"awsAccountId" yaml:"awsAccountId"` // `CfnFilter.FilterCriteriaProperty.ComponentId`. ComponentId interface{} `json:"componentId" yaml:"componentId"` // `CfnFilter.FilterCriteriaProperty.ComponentType`. ComponentType interface{} `json:"componentType" yaml:"componentType"` // `CfnFilter.FilterCriteriaProperty.Ec2InstanceImageId`. Ec2InstanceImageId interface{} `json:"ec2InstanceImageId" yaml:"ec2InstanceImageId"` // `CfnFilter.FilterCriteriaProperty.Ec2InstanceSubnetId`. Ec2InstanceSubnetId interface{} `json:"ec2InstanceSubnetId" yaml:"ec2InstanceSubnetId"` // `CfnFilter.FilterCriteriaProperty.Ec2InstanceVpcId`. Ec2InstanceVpcId interface{} `json:"ec2InstanceVpcId" yaml:"ec2InstanceVpcId"` // `CfnFilter.FilterCriteriaProperty.EcrImageArchitecture`. EcrImageArchitecture interface{} `json:"ecrImageArchitecture" yaml:"ecrImageArchitecture"` // `CfnFilter.FilterCriteriaProperty.EcrImageHash`. EcrImageHash interface{} `json:"ecrImageHash" yaml:"ecrImageHash"` // `CfnFilter.FilterCriteriaProperty.EcrImagePushedAt`. EcrImagePushedAt interface{} `json:"ecrImagePushedAt" yaml:"ecrImagePushedAt"` // `CfnFilter.FilterCriteriaProperty.EcrImageRegistry`. EcrImageRegistry interface{} `json:"ecrImageRegistry" yaml:"ecrImageRegistry"` // `CfnFilter.FilterCriteriaProperty.EcrImageRepositoryName`. EcrImageRepositoryName interface{} `json:"ecrImageRepositoryName" yaml:"ecrImageRepositoryName"` // `CfnFilter.FilterCriteriaProperty.EcrImageTags`. EcrImageTags interface{} `json:"ecrImageTags" yaml:"ecrImageTags"` // `CfnFilter.FilterCriteriaProperty.FindingArn`. FindingArn interface{} `json:"findingArn" yaml:"findingArn"` // `CfnFilter.FilterCriteriaProperty.FindingStatus`. FindingStatus interface{} `json:"findingStatus" yaml:"findingStatus"` // `CfnFilter.FilterCriteriaProperty.FindingType`. FindingType interface{} `json:"findingType" yaml:"findingType"` // `CfnFilter.FilterCriteriaProperty.FirstObservedAt`. FirstObservedAt interface{} `json:"firstObservedAt" yaml:"firstObservedAt"` // `CfnFilter.FilterCriteriaProperty.InspectorScore`. InspectorScore interface{} `json:"inspectorScore" yaml:"inspectorScore"` // `CfnFilter.FilterCriteriaProperty.LastObservedAt`. LastObservedAt interface{} `json:"lastObservedAt" yaml:"lastObservedAt"` // `CfnFilter.FilterCriteriaProperty.NetworkProtocol`. NetworkProtocol interface{} `json:"networkProtocol" yaml:"networkProtocol"` // `CfnFilter.FilterCriteriaProperty.PortRange`. PortRange interface{} `json:"portRange" yaml:"portRange"` // `CfnFilter.FilterCriteriaProperty.RelatedVulnerabilities`. RelatedVulnerabilities interface{} `json:"relatedVulnerabilities" yaml:"relatedVulnerabilities"` // `CfnFilter.FilterCriteriaProperty.ResourceId`. ResourceId interface{} `json:"resourceId" yaml:"resourceId"` // `CfnFilter.FilterCriteriaProperty.ResourceTags`. ResourceTags interface{} `json:"resourceTags" yaml:"resourceTags"` // `CfnFilter.FilterCriteriaProperty.ResourceType`. ResourceType interface{} `json:"resourceType" yaml:"resourceType"` // `CfnFilter.FilterCriteriaProperty.Severity`. Severity interface{} `json:"severity" yaml:"severity"` // `CfnFilter.FilterCriteriaProperty.Title`. Title interface{} `json:"title" yaml:"title"` // `CfnFilter.FilterCriteriaProperty.UpdatedAt`. UpdatedAt interface{} `json:"updatedAt" yaml:"updatedAt"` // `CfnFilter.FilterCriteriaProperty.VendorSeverity`. VendorSeverity interface{} `json:"vendorSeverity" yaml:"vendorSeverity"` // `CfnFilter.FilterCriteriaProperty.VulnerabilityId`. VulnerabilityId interface{} `json:"vulnerabilityId" yaml:"vulnerabilityId"` // `CfnFilter.FilterCriteriaProperty.VulnerabilitySource`. VulnerabilitySource interface{} `json:"vulnerabilitySource" yaml:"vulnerabilitySource"` // `CfnFilter.FilterCriteriaProperty.VulnerablePackages`. VulnerablePackages interface{} `json:"vulnerablePackages" yaml:"vulnerablePackages"` }
TODO: EXAMPLE
type CfnFilter_MapFilterProperty ¶
type CfnFilter_MapFilterProperty struct { // `CfnFilter.MapFilterProperty.Comparison`. Comparison *string `json:"comparison" yaml:"comparison"` // `CfnFilter.MapFilterProperty.Key`. Key *string `json:"key" yaml:"key"` // `CfnFilter.MapFilterProperty.Value`. Value *string `json:"value" yaml:"value"` }
TODO: EXAMPLE
type CfnFilter_NumberFilterProperty ¶
type CfnFilter_NumberFilterProperty struct { // `CfnFilter.NumberFilterProperty.LowerInclusive`. LowerInclusive *float64 `json:"lowerInclusive" yaml:"lowerInclusive"` // `CfnFilter.NumberFilterProperty.UpperInclusive`. UpperInclusive *float64 `json:"upperInclusive" yaml:"upperInclusive"` }
TODO: EXAMPLE
type CfnFilter_PackageFilterProperty ¶
type CfnFilter_PackageFilterProperty struct { // `CfnFilter.PackageFilterProperty.Architecture`. Architecture interface{} `json:"architecture" yaml:"architecture"` // `CfnFilter.PackageFilterProperty.Epoch`. Epoch interface{} `json:"epoch" yaml:"epoch"` // `CfnFilter.PackageFilterProperty.Name`. Name interface{} `json:"name" yaml:"name"` // `CfnFilter.PackageFilterProperty.Release`. Release interface{} `json:"release" yaml:"release"` // `CfnFilter.PackageFilterProperty.SourceLayerHash`. SourceLayerHash interface{} `json:"sourceLayerHash" yaml:"sourceLayerHash"` // `CfnFilter.PackageFilterProperty.Version`. Version interface{} `json:"version" yaml:"version"` }
TODO: EXAMPLE
type CfnFilter_PortRangeFilterProperty ¶
type CfnFilter_PortRangeFilterProperty struct { // `CfnFilter.PortRangeFilterProperty.BeginInclusive`. BeginInclusive *float64 `json:"beginInclusive" yaml:"beginInclusive"` // `CfnFilter.PortRangeFilterProperty.EndInclusive`. EndInclusive *float64 `json:"endInclusive" yaml:"endInclusive"` }
TODO: EXAMPLE
type CfnFilter_StringFilterProperty ¶
type CfnFilter_StringFilterProperty struct { // `CfnFilter.StringFilterProperty.Comparison`. Comparison *string `json:"comparison" yaml:"comparison"` // `CfnFilter.StringFilterProperty.Value`. Value *string `json:"value" yaml:"value"` }
TODO: EXAMPLE