awsinspectorv2

package
v2.226.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

README

AWS::InspectorV2 Construct Library

This module is part of the AWS Cloud Development Kit project.

import inspector "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::InspectorV2.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfnCisScanConfiguration_CFN_RESOURCE_TYPE_NAME added in v2.127.0

func CfnCisScanConfiguration_CFN_RESOURCE_TYPE_NAME() *string

func CfnCisScanConfiguration_IsCfnElement added in v2.127.0

func CfnCisScanConfiguration_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.

func CfnCisScanConfiguration_IsCfnResource added in v2.127.0

func CfnCisScanConfiguration_IsCfnResource(x interface{}) *bool

Check whether the given object is a CfnResource.

func CfnCisScanConfiguration_IsConstruct added in v2.127.0

func CfnCisScanConfiguration_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func CfnCodeSecurityIntegration_CFN_RESOURCE_TYPE_NAME added in v2.212.0

func CfnCodeSecurityIntegration_CFN_RESOURCE_TYPE_NAME() *string

func CfnCodeSecurityIntegration_IsCfnElement added in v2.212.0

func CfnCodeSecurityIntegration_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.

func CfnCodeSecurityIntegration_IsCfnResource added in v2.212.0

func CfnCodeSecurityIntegration_IsCfnResource(x interface{}) *bool

Check whether the given object is a CfnResource.

func CfnCodeSecurityIntegration_IsConstruct added in v2.212.0

func CfnCodeSecurityIntegration_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func CfnCodeSecurityScanConfiguration_CFN_RESOURCE_TYPE_NAME added in v2.212.0

func CfnCodeSecurityScanConfiguration_CFN_RESOURCE_TYPE_NAME() *string

func CfnCodeSecurityScanConfiguration_IsCfnElement added in v2.212.0

func CfnCodeSecurityScanConfiguration_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.

func CfnCodeSecurityScanConfiguration_IsCfnResource added in v2.212.0

func CfnCodeSecurityScanConfiguration_IsCfnResource(x interface{}) *bool

Check whether the given object is a CfnResource.

func CfnCodeSecurityScanConfiguration_IsConstruct added in v2.212.0

func CfnCodeSecurityScanConfiguration_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

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.

func CfnFilter_IsCfnResource

func CfnFilter_IsCfnResource(x interface{}) *bool

Check whether the given object is a CfnResource.

func CfnFilter_IsConstruct

func CfnFilter_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func NewCfnCisScanConfiguration_Override added in v2.127.0

func NewCfnCisScanConfiguration_Override(c CfnCisScanConfiguration, scope constructs.Construct, id *string, props *CfnCisScanConfigurationProps)

Create a new `AWS::InspectorV2::CisScanConfiguration`.

func NewCfnCodeSecurityIntegration_Override added in v2.212.0

func NewCfnCodeSecurityIntegration_Override(c CfnCodeSecurityIntegration, scope constructs.Construct, id *string, props *CfnCodeSecurityIntegrationProps)

Create a new `AWS::InspectorV2::CodeSecurityIntegration`.

func NewCfnCodeSecurityScanConfiguration_Override added in v2.212.0

func NewCfnCodeSecurityScanConfiguration_Override(c CfnCodeSecurityScanConfiguration, scope constructs.Construct, id *string, props *CfnCodeSecurityScanConfigurationProps)

Create a new `AWS::InspectorV2::CodeSecurityScanConfiguration`.

func NewCfnFilter_Override

func NewCfnFilter_Override(c CfnFilter, scope constructs.Construct, id *string, props *CfnFilterProps)

Create a new `AWS::InspectorV2::Filter`.

Types

type CfnCisScanConfiguration added in v2.127.0

type CfnCisScanConfiguration interface {
	awscdk.CfnResource
	awscdk.IInspectable
	interfacesawsinspectorv2.ICisScanConfigurationRef
	awscdk.ITaggableV2
	// The CIS scan configuration's scan configuration ARN.
	AttrArn() *string
	// Tag Manager which manages the tags for this resource.
	CdkTagManager() awscdk.TagManager
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// A reference to a CisScanConfiguration resource.
	CisScanConfigurationRef() *interfacesawsinspectorv2.CisScanConfigurationReference
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	Env() *interfaces.ResourceEnvironment
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The tree node.
	Node() constructs.Node
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// The name of the CIS scan configuration.
	ScanName() *string
	SetScanName(val *string)
	// The CIS scan configuration's schedule.
	Schedule() interface{}
	SetSchedule(val interface{})
	// The CIS scan configuration's CIS Benchmark level.
	SecurityLevel() *string
	SetSecurityLevel(val *string)
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// The CIS scan configuration's tags.
	Tags() *map[string]*string
	SetTags(val *map[string]*string)
	// The CIS scan configuration's targets.
	Targets() interface{}
	SetTargets(val interface{})
	// Deprecated.
	// Deprecated: use `updatedProperties`
	//
	// Return properties modified after initiation
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperties() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependency(target awscdk.CfnResource)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	// Deprecated: use addDependency.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//   "GlobalSecondaryIndexes": [
	//     {
	//       "Projection": {
	//         "NonKeyAttributes": [ "myattribute" ]
	//         ...
	//       }
	//       ...
	//     },
	//     {
	//       "ProjectionType": "INCLUDE"
	//       ...
	//     },
	//   ]
	//   ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
	// cases, a snapshot can be taken of the resource prior to deletion
	// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
	// can be found in the following link:.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
	//
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Retrieves an array of resources this resource depends on.
	//
	// This assembles dependencies on resources across stacks (including nested stacks)
	// automatically.
	ObtainDependencies() *[]interface{}
	// Get a shallow copy of dependencies between this resource and other resources in the same stack.
	ObtainResourceDependencies() *[]awscdk.CfnResource
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Indicates that this resource no longer depends on another resource.
	//
	// This can be used for resources across stacks (including nested stacks)
	// and the dependency will automatically be removed from the relevant scope.
	RemoveDependency(target awscdk.CfnResource)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Replaces one dependency with another.
	ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

The CIS scan configuration.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var oneTime interface{}

cfnCisScanConfiguration := awscdk.Aws_inspectorv2.NewCfnCisScanConfiguration(this, jsii.String("MyCfnCisScanConfiguration"), &CfnCisScanConfigurationProps{
	ScanName: jsii.String("scanName"),
	Schedule: &ScheduleProperty{
		Daily: &DailyScheduleProperty{
			StartTime: &TimeProperty{
				TimeOfDay: jsii.String("timeOfDay"),
				TimeZone: jsii.String("timeZone"),
			},
		},
		Monthly: &MonthlyScheduleProperty{
			Day: jsii.String("day"),
			StartTime: &TimeProperty{
				TimeOfDay: jsii.String("timeOfDay"),
				TimeZone: jsii.String("timeZone"),
			},
		},
		OneTime: oneTime,
		Weekly: &WeeklyScheduleProperty{
			Days: []*string{
				jsii.String("days"),
			},
			StartTime: &TimeProperty{
				TimeOfDay: jsii.String("timeOfDay"),
				TimeZone: jsii.String("timeZone"),
			},
		},
	},
	SecurityLevel: jsii.String("securityLevel"),
	Targets: &CisTargetsProperty{
		AccountIds: []*string{
			jsii.String("accountIds"),
		},
		TargetResourceTags: map[string][]*string{
			"targetResourceTagsKey": []*string{
				jsii.String("targetResourceTags"),
			},
		},
	},

	// the properties below are optional
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
})

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html

func NewCfnCisScanConfiguration added in v2.127.0

func NewCfnCisScanConfiguration(scope constructs.Construct, id *string, props *CfnCisScanConfigurationProps) CfnCisScanConfiguration

Create a new `AWS::InspectorV2::CisScanConfiguration`.

type CfnCisScanConfigurationProps added in v2.127.0

type CfnCisScanConfigurationProps struct {
	// The name of the CIS scan configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#cfn-inspectorv2-cisscanconfiguration-scanname
	//
	ScanName *string `field:"required" json:"scanName" yaml:"scanName"`
	// The CIS scan configuration's schedule.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#cfn-inspectorv2-cisscanconfiguration-schedule
	//
	Schedule interface{} `field:"required" json:"schedule" yaml:"schedule"`
	// The CIS scan configuration's CIS Benchmark level.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#cfn-inspectorv2-cisscanconfiguration-securitylevel
	//
	SecurityLevel *string `field:"required" json:"securityLevel" yaml:"securityLevel"`
	// The CIS scan configuration's targets.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#cfn-inspectorv2-cisscanconfiguration-targets
	//
	Targets interface{} `field:"required" json:"targets" yaml:"targets"`
	// The CIS scan configuration's tags.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#cfn-inspectorv2-cisscanconfiguration-tags
	//
	Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `CfnCisScanConfiguration`.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var oneTime interface{}

cfnCisScanConfigurationProps := &CfnCisScanConfigurationProps{
	ScanName: jsii.String("scanName"),
	Schedule: &ScheduleProperty{
		Daily: &DailyScheduleProperty{
			StartTime: &TimeProperty{
				TimeOfDay: jsii.String("timeOfDay"),
				TimeZone: jsii.String("timeZone"),
			},
		},
		Monthly: &MonthlyScheduleProperty{
			Day: jsii.String("day"),
			StartTime: &TimeProperty{
				TimeOfDay: jsii.String("timeOfDay"),
				TimeZone: jsii.String("timeZone"),
			},
		},
		OneTime: oneTime,
		Weekly: &WeeklyScheduleProperty{
			Days: []*string{
				jsii.String("days"),
			},
			StartTime: &TimeProperty{
				TimeOfDay: jsii.String("timeOfDay"),
				TimeZone: jsii.String("timeZone"),
			},
		},
	},
	SecurityLevel: jsii.String("securityLevel"),
	Targets: &CisTargetsProperty{
		AccountIds: []*string{
			jsii.String("accountIds"),
		},
		TargetResourceTags: map[string][]*string{
			"targetResourceTagsKey": []*string{
				jsii.String("targetResourceTags"),
			},
		},
	},

	// the properties below are optional
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html

type CfnCisScanConfiguration_CisTargetsProperty added in v2.127.0

type CfnCisScanConfiguration_CisTargetsProperty struct {
	// The CIS target account ids.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-cistargets.html#cfn-inspectorv2-cisscanconfiguration-cistargets-accountids
	//
	AccountIds *[]*string `field:"required" json:"accountIds" yaml:"accountIds"`
	// The CIS target resource tags.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-cistargets.html#cfn-inspectorv2-cisscanconfiguration-cistargets-targetresourcetags
	//
	TargetResourceTags interface{} `field:"required" json:"targetResourceTags" yaml:"targetResourceTags"`
}

The CIS targets.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cisTargetsProperty := &CisTargetsProperty{
	AccountIds: []*string{
		jsii.String("accountIds"),
	},
	TargetResourceTags: map[string][]*string{
		"targetResourceTagsKey": []*string{
			jsii.String("targetResourceTags"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-cistargets.html

type CfnCisScanConfiguration_DailyScheduleProperty added in v2.127.0

type CfnCisScanConfiguration_DailyScheduleProperty struct {
	// The schedule start time.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-dailyschedule.html#cfn-inspectorv2-cisscanconfiguration-dailyschedule-starttime
	//
	StartTime interface{} `field:"required" json:"startTime" yaml:"startTime"`
}

A daily schedule.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

dailyScheduleProperty := &DailyScheduleProperty{
	StartTime: &TimeProperty{
		TimeOfDay: jsii.String("timeOfDay"),
		TimeZone: jsii.String("timeZone"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-dailyschedule.html

type CfnCisScanConfiguration_MonthlyScheduleProperty added in v2.127.0

type CfnCisScanConfiguration_MonthlyScheduleProperty struct {
	// The monthly schedule's day.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-monthlyschedule.html#cfn-inspectorv2-cisscanconfiguration-monthlyschedule-day
	//
	Day *string `field:"required" json:"day" yaml:"day"`
	// The monthly schedule's start time.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-monthlyschedule.html#cfn-inspectorv2-cisscanconfiguration-monthlyschedule-starttime
	//
	StartTime interface{} `field:"required" json:"startTime" yaml:"startTime"`
}

A monthly schedule.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

monthlyScheduleProperty := &MonthlyScheduleProperty{
	Day: jsii.String("day"),
	StartTime: &TimeProperty{
		TimeOfDay: jsii.String("timeOfDay"),
		TimeZone: jsii.String("timeZone"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-monthlyschedule.html

type CfnCisScanConfiguration_ScheduleProperty added in v2.127.0

The schedule the CIS scan configuration runs on.

Each CIS scan configuration has exactly one type of schedule.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var oneTime interface{}

scheduleProperty := &ScheduleProperty{
	Daily: &DailyScheduleProperty{
		StartTime: &TimeProperty{
			TimeOfDay: jsii.String("timeOfDay"),
			TimeZone: jsii.String("timeZone"),
		},
	},
	Monthly: &MonthlyScheduleProperty{
		Day: jsii.String("day"),
		StartTime: &TimeProperty{
			TimeOfDay: jsii.String("timeOfDay"),
			TimeZone: jsii.String("timeZone"),
		},
	},
	OneTime: oneTime,
	Weekly: &WeeklyScheduleProperty{
		Days: []*string{
			jsii.String("days"),
		},
		StartTime: &TimeProperty{
			TimeOfDay: jsii.String("timeOfDay"),
			TimeZone: jsii.String("timeZone"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-schedule.html

type CfnCisScanConfiguration_TimeProperty added in v2.127.0

type CfnCisScanConfiguration_TimeProperty struct {
	// The time of day in 24-hour format (00:00).
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-time.html#cfn-inspectorv2-cisscanconfiguration-time-timeofday
	//
	TimeOfDay *string `field:"required" json:"timeOfDay" yaml:"timeOfDay"`
	// The timezone.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-time.html#cfn-inspectorv2-cisscanconfiguration-time-timezone
	//
	TimeZone *string `field:"required" json:"timeZone" yaml:"timeZone"`
}

The time.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

timeProperty := &TimeProperty{
	TimeOfDay: jsii.String("timeOfDay"),
	TimeZone: jsii.String("timeZone"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-time.html

type CfnCisScanConfiguration_WeeklyScheduleProperty added in v2.127.0

type CfnCisScanConfiguration_WeeklyScheduleProperty struct {
	// The weekly schedule's days.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-weeklyschedule.html#cfn-inspectorv2-cisscanconfiguration-weeklyschedule-days
	//
	Days *[]*string `field:"required" json:"days" yaml:"days"`
	// The weekly schedule's start time.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-weeklyschedule.html#cfn-inspectorv2-cisscanconfiguration-weeklyschedule-starttime
	//
	StartTime interface{} `field:"required" json:"startTime" yaml:"startTime"`
}

A weekly schedule.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

weeklyScheduleProperty := &WeeklyScheduleProperty{
	Days: []*string{
		jsii.String("days"),
	},
	StartTime: &TimeProperty{
		TimeOfDay: jsii.String("timeOfDay"),
		TimeZone: jsii.String("timeZone"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-weeklyschedule.html

type CfnCodeSecurityIntegration added in v2.212.0

type CfnCodeSecurityIntegration interface {
	awscdk.CfnResource
	awscdk.IInspectable
	interfacesawsinspectorv2.ICodeSecurityIntegrationRef
	awscdk.ITaggableV2
	// The Amazon Resource Name (ARN) of the code security integration.
	AttrArn() *string
	// The URL used to authorize the integration with the repository provider.
	AttrAuthorizationUrl() *string
	// The timestamp when the code security integration was created.
	AttrCreatedAt() *string
	// The timestamp when the code security integration was last updated.
	AttrLastUpdatedAt() *string
	// The current status of the integration.
	AttrStatus() *string
	// The reason for the current status of the code security integration.
	AttrStatusReason() *string
	// Tag Manager which manages the tags for this resource.
	CdkTagManager() awscdk.TagManager
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// A reference to a CodeSecurityIntegration resource.
	CodeSecurityIntegrationRef() *interfacesawsinspectorv2.CodeSecurityIntegrationReference
	// Contains details required to create a code security integration with a specific repository provider.
	CreateIntegrationDetails() interface{}
	SetCreateIntegrationDetails(val interface{})
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	Env() *interfaces.ResourceEnvironment
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The name of the code security integration.
	Name() *string
	SetName(val *string)
	// The tree node.
	Node() constructs.Node
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// The tags to apply to the code security integration.
	Tags() *map[string]*string
	SetTags(val *map[string]*string)
	// The type of repository provider for the integration.
	Type() *string
	SetType(val *string)
	// Deprecated.
	// Deprecated: use `updatedProperties`
	//
	// Return properties modified after initiation
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperties() *map[string]interface{}
	// The updated integration details specific to the repository provider type.
	UpdateIntegrationDetails() interface{}
	SetUpdateIntegrationDetails(val interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependency(target awscdk.CfnResource)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	// Deprecated: use addDependency.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//   "GlobalSecondaryIndexes": [
	//     {
	//       "Projection": {
	//         "NonKeyAttributes": [ "myattribute" ]
	//         ...
	//       }
	//       ...
	//     },
	//     {
	//       "ProjectionType": "INCLUDE"
	//       ...
	//     },
	//   ]
	//   ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
	// cases, a snapshot can be taken of the resource prior to deletion
	// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
	// can be found in the following link:.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
	//
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Retrieves an array of resources this resource depends on.
	//
	// This assembles dependencies on resources across stacks (including nested stacks)
	// automatically.
	ObtainDependencies() *[]interface{}
	// Get a shallow copy of dependencies between this resource and other resources in the same stack.
	ObtainResourceDependencies() *[]awscdk.CfnResource
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Indicates that this resource no longer depends on another resource.
	//
	// This can be used for resources across stacks (including nested stacks)
	// and the dependency will automatically be removed from the relevant scope.
	RemoveDependency(target awscdk.CfnResource)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Replaces one dependency with another.
	ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

Creates a code security integration with a source code repository provider.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnCodeSecurityIntegration := awscdk.Aws_inspectorv2.NewCfnCodeSecurityIntegration(this, jsii.String("MyCfnCodeSecurityIntegration"), &CfnCodeSecurityIntegrationProps{
	CreateIntegrationDetails: &CreateDetailsProperty{
		GitlabSelfManaged: &CreateGitLabSelfManagedIntegrationDetailProperty{
			AccessToken: jsii.String("accessToken"),
			InstanceUrl: jsii.String("instanceUrl"),
		},
	},
	Name: jsii.String("name"),
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
	Type: jsii.String("type"),
	UpdateIntegrationDetails: &UpdateDetailsProperty{
		Github: &UpdateGitHubIntegrationDetailProperty{
			Code: jsii.String("code"),
			InstallationId: jsii.String("installationId"),
		},
		GitlabSelfManaged: &UpdateGitLabSelfManagedIntegrationDetailProperty{
			AuthCode: jsii.String("authCode"),
		},
	},
})

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html

func NewCfnCodeSecurityIntegration added in v2.212.0

func NewCfnCodeSecurityIntegration(scope constructs.Construct, id *string, props *CfnCodeSecurityIntegrationProps) CfnCodeSecurityIntegration

Create a new `AWS::InspectorV2::CodeSecurityIntegration`.

type CfnCodeSecurityIntegrationProps added in v2.212.0

type CfnCodeSecurityIntegrationProps struct {
	// Contains details required to create a code security integration with a specific repository provider.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-createintegrationdetails
	//
	CreateIntegrationDetails interface{} `field:"optional" json:"createIntegrationDetails" yaml:"createIntegrationDetails"`
	// The name of the code security integration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-name
	//
	Name *string `field:"optional" json:"name" yaml:"name"`
	// The tags to apply to the code security integration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-tags
	//
	Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
	// The type of repository provider for the integration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-type
	//
	Type *string `field:"optional" json:"type" yaml:"type"`
	// The updated integration details specific to the repository provider type.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-updateintegrationdetails
	//
	UpdateIntegrationDetails interface{} `field:"optional" json:"updateIntegrationDetails" yaml:"updateIntegrationDetails"`
}

Properties for defining a `CfnCodeSecurityIntegration`.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnCodeSecurityIntegrationProps := &CfnCodeSecurityIntegrationProps{
	CreateIntegrationDetails: &CreateDetailsProperty{
		GitlabSelfManaged: &CreateGitLabSelfManagedIntegrationDetailProperty{
			AccessToken: jsii.String("accessToken"),
			InstanceUrl: jsii.String("instanceUrl"),
		},
	},
	Name: jsii.String("name"),
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
	Type: jsii.String("type"),
	UpdateIntegrationDetails: &UpdateDetailsProperty{
		Github: &UpdateGitHubIntegrationDetailProperty{
			Code: jsii.String("code"),
			InstallationId: jsii.String("installationId"),
		},
		GitlabSelfManaged: &UpdateGitLabSelfManagedIntegrationDetailProperty{
			AuthCode: jsii.String("authCode"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html

type CfnCodeSecurityIntegration_CreateDetailsProperty added in v2.212.0

type CfnCodeSecurityIntegration_CreateDetailsProperty struct {
	// Details specific to creating an integration with a self-managed GitLab instance.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-createdetails.html#cfn-inspectorv2-codesecurityintegration-createdetails-gitlabselfmanaged
	//
	GitlabSelfManaged interface{} `field:"required" json:"gitlabSelfManaged" yaml:"gitlabSelfManaged"`
}

Contains details required to create a code security integration with a specific repository provider.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

createDetailsProperty := &CreateDetailsProperty{
	GitlabSelfManaged: &CreateGitLabSelfManagedIntegrationDetailProperty{
		AccessToken: jsii.String("accessToken"),
		InstanceUrl: jsii.String("instanceUrl"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-createdetails.html

type CfnCodeSecurityIntegration_CreateGitLabSelfManagedIntegrationDetailProperty added in v2.212.0

type CfnCodeSecurityIntegration_CreateGitLabSelfManagedIntegrationDetailProperty struct {
	// The personal access token used to authenticate with the self-managed GitLab instance.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail-accesstoken
	//
	AccessToken *string `field:"required" json:"accessToken" yaml:"accessToken"`
	// The URL of the self-managed GitLab instance.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail-instanceurl
	//
	InstanceUrl *string `field:"required" json:"instanceUrl" yaml:"instanceUrl"`
}

Contains details required to create an integration with a self-managed GitLab instance.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

createGitLabSelfManagedIntegrationDetailProperty := &CreateGitLabSelfManagedIntegrationDetailProperty{
	AccessToken: jsii.String("accessToken"),
	InstanceUrl: jsii.String("instanceUrl"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail.html

type CfnCodeSecurityIntegration_UpdateDetailsProperty added in v2.212.0

type CfnCodeSecurityIntegration_UpdateDetailsProperty struct {
	// Details specific to updating an integration with GitHub.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updatedetails.html#cfn-inspectorv2-codesecurityintegration-updatedetails-github
	//
	Github interface{} `field:"optional" json:"github" yaml:"github"`
	// Details specific to updating an integration with a self-managed GitLab instance.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updatedetails.html#cfn-inspectorv2-codesecurityintegration-updatedetails-gitlabselfmanaged
	//
	GitlabSelfManaged interface{} `field:"optional" json:"gitlabSelfManaged" yaml:"gitlabSelfManaged"`
}

Contains details required to update a code security integration with a specific repository provider.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

updateDetailsProperty := &UpdateDetailsProperty{
	Github: &UpdateGitHubIntegrationDetailProperty{
		Code: jsii.String("code"),
		InstallationId: jsii.String("installationId"),
	},
	GitlabSelfManaged: &UpdateGitLabSelfManagedIntegrationDetailProperty{
		AuthCode: jsii.String("authCode"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updatedetails.html

type CfnCodeSecurityIntegration_UpdateGitHubIntegrationDetailProperty added in v2.212.0

type CfnCodeSecurityIntegration_UpdateGitHubIntegrationDetailProperty struct {
	// The authorization code received from GitHub to update the integration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategithubintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-updategithubintegrationdetail-code
	//
	Code *string `field:"required" json:"code" yaml:"code"`
	// The installation ID of the GitHub App associated with the integration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategithubintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-updategithubintegrationdetail-installationid
	//
	InstallationId *string `field:"required" json:"installationId" yaml:"installationId"`
}

Contains details required to update an integration with GitHub.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

updateGitHubIntegrationDetailProperty := &UpdateGitHubIntegrationDetailProperty{
	Code: jsii.String("code"),
	InstallationId: jsii.String("installationId"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategithubintegrationdetail.html

type CfnCodeSecurityIntegration_UpdateGitLabSelfManagedIntegrationDetailProperty added in v2.212.0

type CfnCodeSecurityIntegration_UpdateGitLabSelfManagedIntegrationDetailProperty struct {
	// The authorization code received from the self-managed GitLab instance to update the integration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategitlabselfmanagedintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-updategitlabselfmanagedintegrationdetail-authcode
	//
	AuthCode *string `field:"required" json:"authCode" yaml:"authCode"`
}

Contains details required to update an integration with a self-managed GitLab instance.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

updateGitLabSelfManagedIntegrationDetailProperty := &UpdateGitLabSelfManagedIntegrationDetailProperty{
	AuthCode: jsii.String("authCode"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategitlabselfmanagedintegrationdetail.html

type CfnCodeSecurityScanConfiguration added in v2.212.0

type CfnCodeSecurityScanConfiguration interface {
	awscdk.CfnResource
	awscdk.IInspectable
	interfacesawsinspectorv2.ICodeSecurityScanConfigurationRef
	awscdk.ITaggableV2
	// The Amazon Resource Name (ARN) of the scan configuration.
	AttrArn() *string
	// Tag Manager which manages the tags for this resource.
	CdkTagManager() awscdk.TagManager
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// A reference to a CodeSecurityScanConfiguration resource.
	CodeSecurityScanConfigurationRef() *interfacesawsinspectorv2.CodeSecurityScanConfigurationReference
	// The configuration settings for the code security scan.
	Configuration() interface{}
	SetConfiguration(val interface{})
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	Env() *interfaces.ResourceEnvironment
	// The security level for the scan configuration.
	Level() *string
	SetLevel(val *string)
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The name of the scan configuration.
	Name() *string
	SetName(val *string)
	// The tree node.
	Node() constructs.Node
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// The scope settings that define which repositories will be scanned.
	ScopeSettings() interface{}
	SetScopeSettings(val interface{})
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// The tags to apply to the scan configuration.
	Tags() *map[string]*string
	SetTags(val *map[string]*string)
	// Deprecated.
	// Deprecated: use `updatedProperties`
	//
	// Return properties modified after initiation
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperties() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependency(target awscdk.CfnResource)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	// Deprecated: use addDependency.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//   "GlobalSecondaryIndexes": [
	//     {
	//       "Projection": {
	//         "NonKeyAttributes": [ "myattribute" ]
	//         ...
	//       }
	//       ...
	//     },
	//     {
	//       "ProjectionType": "INCLUDE"
	//       ...
	//     },
	//   ]
	//   ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
	// cases, a snapshot can be taken of the resource prior to deletion
	// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
	// can be found in the following link:.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
	//
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Retrieves an array of resources this resource depends on.
	//
	// This assembles dependencies on resources across stacks (including nested stacks)
	// automatically.
	ObtainDependencies() *[]interface{}
	// Get a shallow copy of dependencies between this resource and other resources in the same stack.
	ObtainResourceDependencies() *[]awscdk.CfnResource
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Indicates that this resource no longer depends on another resource.
	//
	// This can be used for resources across stacks (including nested stacks)
	// and the dependency will automatically be removed from the relevant scope.
	RemoveDependency(target awscdk.CfnResource)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Replaces one dependency with another.
	ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

Creates a scan configuration for code security scanning.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnCodeSecurityScanConfiguration := awscdk.Aws_inspectorv2.NewCfnCodeSecurityScanConfiguration(this, jsii.String("MyCfnCodeSecurityScanConfiguration"), &CfnCodeSecurityScanConfigurationProps{
	Configuration: &CodeSecurityScanConfigurationProperty{
		RuleSetCategories: []*string{
			jsii.String("ruleSetCategories"),
		},

		// the properties below are optional
		ContinuousIntegrationScanConfiguration: &ContinuousIntegrationScanConfigurationProperty{
			SupportedEvents: []*string{
				jsii.String("supportedEvents"),
			},
		},
		PeriodicScanConfiguration: &PeriodicScanConfigurationProperty{
			Frequency: jsii.String("frequency"),
			FrequencyExpression: jsii.String("frequencyExpression"),
		},
	},
	Level: jsii.String("level"),
	Name: jsii.String("name"),
	ScopeSettings: &ScopeSettingsProperty{
		ProjectSelectionScope: jsii.String("projectSelectionScope"),
	},
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
})

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html

func NewCfnCodeSecurityScanConfiguration added in v2.212.0

func NewCfnCodeSecurityScanConfiguration(scope constructs.Construct, id *string, props *CfnCodeSecurityScanConfigurationProps) CfnCodeSecurityScanConfiguration

Create a new `AWS::InspectorV2::CodeSecurityScanConfiguration`.

type CfnCodeSecurityScanConfigurationProps added in v2.212.0

type CfnCodeSecurityScanConfigurationProps struct {
	// The configuration settings for the code security scan.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-configuration
	//
	Configuration interface{} `field:"optional" json:"configuration" yaml:"configuration"`
	// The security level for the scan configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-level
	//
	Level *string `field:"optional" json:"level" yaml:"level"`
	// The name of the scan configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-name
	//
	Name *string `field:"optional" json:"name" yaml:"name"`
	// The scope settings that define which repositories will be scanned.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-scopesettings
	//
	ScopeSettings interface{} `field:"optional" json:"scopeSettings" yaml:"scopeSettings"`
	// The tags to apply to the scan configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-tags
	//
	Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `CfnCodeSecurityScanConfiguration`.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnCodeSecurityScanConfigurationProps := &CfnCodeSecurityScanConfigurationProps{
	Configuration: &CodeSecurityScanConfigurationProperty{
		RuleSetCategories: []*string{
			jsii.String("ruleSetCategories"),
		},

		// the properties below are optional
		ContinuousIntegrationScanConfiguration: &ContinuousIntegrationScanConfigurationProperty{
			SupportedEvents: []*string{
				jsii.String("supportedEvents"),
			},
		},
		PeriodicScanConfiguration: &PeriodicScanConfigurationProperty{
			Frequency: jsii.String("frequency"),
			FrequencyExpression: jsii.String("frequencyExpression"),
		},
	},
	Level: jsii.String("level"),
	Name: jsii.String("name"),
	ScopeSettings: &ScopeSettingsProperty{
		ProjectSelectionScope: jsii.String("projectSelectionScope"),
	},
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html

type CfnCodeSecurityScanConfiguration_CodeSecurityScanConfigurationProperty added in v2.212.0

type CfnCodeSecurityScanConfiguration_CodeSecurityScanConfigurationProperty struct {
	// The categories of security rules to be applied during the scan.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration-rulesetcategories
	//
	RuleSetCategories *[]*string `field:"required" json:"ruleSetCategories" yaml:"ruleSetCategories"`
	// Configuration settings for continuous integration scans that run automatically when code changes are made.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration-continuousintegrationscanconfiguration
	//
	ContinuousIntegrationScanConfiguration interface{} `field:"optional" json:"continuousIntegrationScanConfiguration" yaml:"continuousIntegrationScanConfiguration"`
	// Configuration settings for periodic scans that run on a scheduled basis.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration-periodicscanconfiguration
	//
	PeriodicScanConfiguration interface{} `field:"optional" json:"periodicScanConfiguration" yaml:"periodicScanConfiguration"`
}

Contains the configuration settings for code security scans.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

codeSecurityScanConfigurationProperty := &CodeSecurityScanConfigurationProperty{
	RuleSetCategories: []*string{
		jsii.String("ruleSetCategories"),
	},

	// the properties below are optional
	ContinuousIntegrationScanConfiguration: &ContinuousIntegrationScanConfigurationProperty{
		SupportedEvents: []*string{
			jsii.String("supportedEvents"),
		},
	},
	PeriodicScanConfiguration: &PeriodicScanConfigurationProperty{
		Frequency: jsii.String("frequency"),
		FrequencyExpression: jsii.String("frequencyExpression"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html

type CfnCodeSecurityScanConfiguration_ContinuousIntegrationScanConfigurationProperty added in v2.212.0

type CfnCodeSecurityScanConfiguration_ContinuousIntegrationScanConfigurationProperty struct {
	// The repository events that trigger continuous integration scans, such as pull requests or commits.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-continuousintegrationscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-continuousintegrationscanconfiguration-supportedevents
	//
	SupportedEvents *[]*string `field:"required" json:"supportedEvents" yaml:"supportedEvents"`
}

Configuration settings for continuous integration scans that run automatically when code changes are made.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

continuousIntegrationScanConfigurationProperty := &ContinuousIntegrationScanConfigurationProperty{
	SupportedEvents: []*string{
		jsii.String("supportedEvents"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-continuousintegrationscanconfiguration.html

type CfnCodeSecurityScanConfiguration_PeriodicScanConfigurationProperty added in v2.212.0

type CfnCodeSecurityScanConfiguration_PeriodicScanConfigurationProperty struct {
	// The frequency at which periodic scans are performed (such as weekly or monthly).
	//
	// If you don't provide the `frequencyExpression` Amazon Inspector chooses day for the scan to run. If you provide the `frequencyExpression` , the schedule must match the specified `frequency` .
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration-frequency
	//
	Frequency *string `field:"optional" json:"frequency" yaml:"frequency"`
	// The schedule expression for periodic scans, in cron format.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration-frequencyexpression
	//
	FrequencyExpression *string `field:"optional" json:"frequencyExpression" yaml:"frequencyExpression"`
}

Configuration settings for periodic scans that run on a scheduled basis.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

periodicScanConfigurationProperty := &PeriodicScanConfigurationProperty{
	Frequency: jsii.String("frequency"),
	FrequencyExpression: jsii.String("frequencyExpression"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration.html

type CfnCodeSecurityScanConfiguration_ScopeSettingsProperty added in v2.212.0

type CfnCodeSecurityScanConfiguration_ScopeSettingsProperty struct {
	// The scope of projects to be selected for scanning within the integrated repositories.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-scopesettings.html#cfn-inspectorv2-codesecurityscanconfiguration-scopesettings-projectselectionscope
	//
	ProjectSelectionScope *string `field:"optional" json:"projectSelectionScope" yaml:"projectSelectionScope"`
}

The scope settings that define which repositories will be scanned.

If the `ScopeSetting` parameter is `ALL` the scan configuration applies to all existing and future projects imported into Amazon Inspector .

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

scopeSettingsProperty := &ScopeSettingsProperty{
	ProjectSelectionScope: jsii.String("projectSelectionScope"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-scopesettings.html

type CfnFilter

type CfnFilter interface {
	awscdk.CfnResource
	awscdk.IInspectable
	interfacesawsinspectorv2.IFilterRef
	awscdk.ITaggableV2
	// The Amazon Resource Number (ARN) associated with this filter.
	AttrArn() *string
	// Tag Manager which manages the tags for this resource.
	CdkTagManager() awscdk.TagManager
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	// A description of the filter.
	Description() *string
	SetDescription(val *string)
	Env() *interfaces.ResourceEnvironment
	// The action that is to be applied to the findings that match the filter.
	FilterAction() *string
	SetFilterAction(val *string)
	// Details on the filter criteria associated with this filter.
	FilterCriteria() interface{}
	SetFilterCriteria(val interface{})
	// A reference to a Filter resource.
	FilterRef() *interfacesawsinspectorv2.FilterReference
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The name of the filter.
	Name() *string
	SetName(val *string)
	// The tree node.
	Node() constructs.Node
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// The tags attached to the filter.
	Tags() *map[string]*string
	SetTags(val *map[string]*string)
	// Deprecated.
	// Deprecated: use `updatedProperties`
	//
	// Return properties modified after initiation
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperties() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependency(target awscdk.CfnResource)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	// Deprecated: use addDependency.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//   "GlobalSecondaryIndexes": [
	//     {
	//       "Projection": {
	//         "NonKeyAttributes": [ "myattribute" ]
	//         ...
	//       }
	//       ...
	//     },
	//     {
	//       "ProjectionType": "INCLUDE"
	//       ...
	//     },
	//   ]
	//   ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
	// cases, a snapshot can be taken of the resource prior to deletion
	// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
	// can be found in the following link:.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
	//
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Retrieves an array of resources this resource depends on.
	//
	// This assembles dependencies on resources across stacks (including nested stacks)
	// automatically.
	ObtainDependencies() *[]interface{}
	// Get a shallow copy of dependencies between this resource and other resources in the same stack.
	ObtainResourceDependencies() *[]awscdk.CfnResource
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Indicates that this resource no longer depends on another resource.
	//
	// This can be used for resources across stacks (including nested stacks)
	// and the dependency will automatically be removed from the relevant scope.
	RemoveDependency(target awscdk.CfnResource)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Replaces one dependency with another.
	ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

Details about a filter.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnFilter := awscdk.Aws_inspectorv2.NewCfnFilter(this, jsii.String("MyCfnFilter"), &CfnFilterProps{
	FilterAction: jsii.String("filterAction"),
	FilterCriteria: &FilterCriteriaProperty{
		AwsAccountId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		CodeVulnerabilityDetectorName: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		CodeVulnerabilityDetectorTags: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		CodeVulnerabilityFilePath: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		ComponentId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		ComponentType: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		Ec2InstanceImageId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		Ec2InstanceSubnetId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		Ec2InstanceVpcId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EcrImageArchitecture: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EcrImageHash: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EcrImagePushedAt: []interface{}{
			&DateFilterProperty{
				EndInclusive: jsii.Number(123),
				StartInclusive: jsii.Number(123),
			},
		},
		EcrImageRegistry: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EcrImageRepositoryName: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EcrImageTags: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EpssScore: []interface{}{
			&NumberFilterProperty{
				LowerInclusive: jsii.Number(123),
				UpperInclusive: jsii.Number(123),
			},
		},
		ExploitAvailable: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		FindingArn: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		FindingStatus: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		FindingType: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		FirstObservedAt: []interface{}{
			&DateFilterProperty{
				EndInclusive: jsii.Number(123),
				StartInclusive: jsii.Number(123),
			},
		},
		FixAvailable: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		InspectorScore: []interface{}{
			&NumberFilterProperty{
				LowerInclusive: jsii.Number(123),
				UpperInclusive: jsii.Number(123),
			},
		},
		LambdaFunctionExecutionRoleArn: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		LambdaFunctionLastModifiedAt: []interface{}{
			&DateFilterProperty{
				EndInclusive: jsii.Number(123),
				StartInclusive: jsii.Number(123),
			},
		},
		LambdaFunctionLayers: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		LambdaFunctionName: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		LambdaFunctionRuntime: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		LastObservedAt: []interface{}{
			&DateFilterProperty{
				EndInclusive: jsii.Number(123),
				StartInclusive: jsii.Number(123),
			},
		},
		NetworkProtocol: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		PortRange: []interface{}{
			&PortRangeFilterProperty{
				BeginInclusive: jsii.Number(123),
				EndInclusive: jsii.Number(123),
			},
		},
		RelatedVulnerabilities: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		ResourceId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		ResourceTags: []interface{}{
			&MapFilterProperty{
				Comparison: jsii.String("comparison"),

				// the properties below are optional
				Key: jsii.String("key"),
				Value: jsii.String("value"),
			},
		},
		ResourceType: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		Severity: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		Title: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		UpdatedAt: []interface{}{
			&DateFilterProperty{
				EndInclusive: jsii.Number(123),
				StartInclusive: jsii.Number(123),
			},
		},
		VendorSeverity: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		VulnerabilityId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		VulnerabilitySource: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		VulnerablePackages: []interface{}{
			&PackageFilterProperty{
				Architecture: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				Epoch: &NumberFilterProperty{
					LowerInclusive: jsii.Number(123),
					UpperInclusive: jsii.Number(123),
				},
				FilePath: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				Name: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				Release: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				SourceLambdaLayerArn: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				SourceLayerHash: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				Version: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
			},
		},
	},
	Name: jsii.String("name"),

	// the properties below are optional
	Description: jsii.String("description"),
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
})

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html

func NewCfnFilter

func NewCfnFilter(scope constructs.Construct, id *string, props *CfnFilterProps) CfnFilter

Create a new `AWS::InspectorV2::Filter`.

type CfnFilterProps

type CfnFilterProps struct {
	// The action that is to be applied to the findings that match the filter.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html#cfn-inspectorv2-filter-filteraction
	//
	FilterAction *string `field:"required" json:"filterAction" yaml:"filterAction"`
	// Details on the filter criteria associated with this filter.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html#cfn-inspectorv2-filter-filtercriteria
	//
	FilterCriteria interface{} `field:"required" json:"filterCriteria" yaml:"filterCriteria"`
	// The name of the filter.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html#cfn-inspectorv2-filter-name
	//
	Name *string `field:"required" json:"name" yaml:"name"`
	// A description of the filter.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html#cfn-inspectorv2-filter-description
	//
	Description *string `field:"optional" json:"description" yaml:"description"`
	// The tags attached to the filter.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html#cfn-inspectorv2-filter-tags
	//
	Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `CfnFilter`.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnFilterProps := &CfnFilterProps{
	FilterAction: jsii.String("filterAction"),
	FilterCriteria: &FilterCriteriaProperty{
		AwsAccountId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		CodeVulnerabilityDetectorName: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		CodeVulnerabilityDetectorTags: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		CodeVulnerabilityFilePath: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		ComponentId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		ComponentType: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		Ec2InstanceImageId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		Ec2InstanceSubnetId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		Ec2InstanceVpcId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EcrImageArchitecture: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EcrImageHash: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EcrImagePushedAt: []interface{}{
			&DateFilterProperty{
				EndInclusive: jsii.Number(123),
				StartInclusive: jsii.Number(123),
			},
		},
		EcrImageRegistry: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EcrImageRepositoryName: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EcrImageTags: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		EpssScore: []interface{}{
			&NumberFilterProperty{
				LowerInclusive: jsii.Number(123),
				UpperInclusive: jsii.Number(123),
			},
		},
		ExploitAvailable: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		FindingArn: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		FindingStatus: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		FindingType: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		FirstObservedAt: []interface{}{
			&DateFilterProperty{
				EndInclusive: jsii.Number(123),
				StartInclusive: jsii.Number(123),
			},
		},
		FixAvailable: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		InspectorScore: []interface{}{
			&NumberFilterProperty{
				LowerInclusive: jsii.Number(123),
				UpperInclusive: jsii.Number(123),
			},
		},
		LambdaFunctionExecutionRoleArn: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		LambdaFunctionLastModifiedAt: []interface{}{
			&DateFilterProperty{
				EndInclusive: jsii.Number(123),
				StartInclusive: jsii.Number(123),
			},
		},
		LambdaFunctionLayers: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		LambdaFunctionName: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		LambdaFunctionRuntime: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		LastObservedAt: []interface{}{
			&DateFilterProperty{
				EndInclusive: jsii.Number(123),
				StartInclusive: jsii.Number(123),
			},
		},
		NetworkProtocol: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		PortRange: []interface{}{
			&PortRangeFilterProperty{
				BeginInclusive: jsii.Number(123),
				EndInclusive: jsii.Number(123),
			},
		},
		RelatedVulnerabilities: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		ResourceId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		ResourceTags: []interface{}{
			&MapFilterProperty{
				Comparison: jsii.String("comparison"),

				// the properties below are optional
				Key: jsii.String("key"),
				Value: jsii.String("value"),
			},
		},
		ResourceType: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		Severity: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		Title: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		UpdatedAt: []interface{}{
			&DateFilterProperty{
				EndInclusive: jsii.Number(123),
				StartInclusive: jsii.Number(123),
			},
		},
		VendorSeverity: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		VulnerabilityId: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		VulnerabilitySource: []interface{}{
			&StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
		VulnerablePackages: []interface{}{
			&PackageFilterProperty{
				Architecture: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				Epoch: &NumberFilterProperty{
					LowerInclusive: jsii.Number(123),
					UpperInclusive: jsii.Number(123),
				},
				FilePath: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				Name: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				Release: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				SourceLambdaLayerArn: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				SourceLayerHash: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
				Version: &StringFilterProperty{
					Comparison: jsii.String("comparison"),
					Value: jsii.String("value"),
				},
			},
		},
	},
	Name: jsii.String("name"),

	// the properties below are optional
	Description: jsii.String("description"),
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html

type CfnFilter_DateFilterProperty

type CfnFilter_DateFilterProperty struct {
	// A timestamp representing the end of the time period filtered on.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-datefilter.html#cfn-inspectorv2-filter-datefilter-endinclusive
	//
	EndInclusive *float64 `field:"optional" json:"endInclusive" yaml:"endInclusive"`
	// A timestamp representing the start of the time period filtered on.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-datefilter.html#cfn-inspectorv2-filter-datefilter-startinclusive
	//
	StartInclusive *float64 `field:"optional" json:"startInclusive" yaml:"startInclusive"`
}

Contains details on the time range used to filter findings.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

dateFilterProperty := &DateFilterProperty{
	EndInclusive: jsii.Number(123),
	StartInclusive: jsii.Number(123),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-datefilter.html

type CfnFilter_FilterCriteriaProperty

type CfnFilter_FilterCriteriaProperty struct {
	// Details of the AWS account IDs used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-awsaccountid
	//
	AwsAccountId interface{} `field:"optional" json:"awsAccountId" yaml:"awsAccountId"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-codevulnerabilitydetectorname
	//
	CodeVulnerabilityDetectorName interface{} `field:"optional" json:"codeVulnerabilityDetectorName" yaml:"codeVulnerabilityDetectorName"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-codevulnerabilitydetectortags
	//
	CodeVulnerabilityDetectorTags interface{} `field:"optional" json:"codeVulnerabilityDetectorTags" yaml:"codeVulnerabilityDetectorTags"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-codevulnerabilityfilepath
	//
	CodeVulnerabilityFilePath interface{} `field:"optional" json:"codeVulnerabilityFilePath" yaml:"codeVulnerabilityFilePath"`
	// Details of the component IDs used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-componentid
	//
	ComponentId interface{} `field:"optional" json:"componentId" yaml:"componentId"`
	// Details of the component types used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-componenttype
	//
	ComponentType interface{} `field:"optional" json:"componentType" yaml:"componentType"`
	// Details of the Amazon EC2 instance image IDs used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ec2instanceimageid
	//
	Ec2InstanceImageId interface{} `field:"optional" json:"ec2InstanceImageId" yaml:"ec2InstanceImageId"`
	// Details of the Amazon EC2 instance subnet IDs used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ec2instancesubnetid
	//
	Ec2InstanceSubnetId interface{} `field:"optional" json:"ec2InstanceSubnetId" yaml:"ec2InstanceSubnetId"`
	// Details of the Amazon EC2 instance VPC IDs used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ec2instancevpcid
	//
	Ec2InstanceVpcId interface{} `field:"optional" json:"ec2InstanceVpcId" yaml:"ec2InstanceVpcId"`
	// Details of the Amazon ECR image architecture types used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimagearchitecture
	//
	EcrImageArchitecture interface{} `field:"optional" json:"ecrImageArchitecture" yaml:"ecrImageArchitecture"`
	// Details of the Amazon ECR image hashes used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimagehash
	//
	EcrImageHash interface{} `field:"optional" json:"ecrImageHash" yaml:"ecrImageHash"`
	// Details on the Amazon ECR image push date and time used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimagepushedat
	//
	EcrImagePushedAt interface{} `field:"optional" json:"ecrImagePushedAt" yaml:"ecrImagePushedAt"`
	// Details on the Amazon ECR registry used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimageregistry
	//
	EcrImageRegistry interface{} `field:"optional" json:"ecrImageRegistry" yaml:"ecrImageRegistry"`
	// Details on the name of the Amazon ECR repository used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimagerepositoryname
	//
	EcrImageRepositoryName interface{} `field:"optional" json:"ecrImageRepositoryName" yaml:"ecrImageRepositoryName"`
	// The tags attached to the Amazon ECR container image.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-ecrimagetags
	//
	EcrImageTags interface{} `field:"optional" json:"ecrImageTags" yaml:"ecrImageTags"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-epssscore
	//
	EpssScore interface{} `field:"optional" json:"epssScore" yaml:"epssScore"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-exploitavailable
	//
	ExploitAvailable interface{} `field:"optional" json:"exploitAvailable" yaml:"exploitAvailable"`
	// Details on the finding ARNs used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-findingarn
	//
	FindingArn interface{} `field:"optional" json:"findingArn" yaml:"findingArn"`
	// Details on the finding status types used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-findingstatus
	//
	FindingStatus interface{} `field:"optional" json:"findingStatus" yaml:"findingStatus"`
	// Details on the finding types used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-findingtype
	//
	FindingType interface{} `field:"optional" json:"findingType" yaml:"findingType"`
	// Details on the date and time a finding was first seen used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-firstobservedat
	//
	FirstObservedAt interface{} `field:"optional" json:"firstObservedAt" yaml:"firstObservedAt"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-fixavailable
	//
	FixAvailable interface{} `field:"optional" json:"fixAvailable" yaml:"fixAvailable"`
	// The Amazon Inspector score to filter on.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-inspectorscore
	//
	InspectorScore interface{} `field:"optional" json:"inspectorScore" yaml:"inspectorScore"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lambdafunctionexecutionrolearn
	//
	LambdaFunctionExecutionRoleArn interface{} `field:"optional" json:"lambdaFunctionExecutionRoleArn" yaml:"lambdaFunctionExecutionRoleArn"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lambdafunctionlastmodifiedat
	//
	LambdaFunctionLastModifiedAt interface{} `field:"optional" json:"lambdaFunctionLastModifiedAt" yaml:"lambdaFunctionLastModifiedAt"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lambdafunctionlayers
	//
	LambdaFunctionLayers interface{} `field:"optional" json:"lambdaFunctionLayers" yaml:"lambdaFunctionLayers"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lambdafunctionname
	//
	LambdaFunctionName interface{} `field:"optional" json:"lambdaFunctionName" yaml:"lambdaFunctionName"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lambdafunctionruntime
	//
	LambdaFunctionRuntime interface{} `field:"optional" json:"lambdaFunctionRuntime" yaml:"lambdaFunctionRuntime"`
	// Details on the date and time a finding was last seen used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lastobservedat
	//
	LastObservedAt interface{} `field:"optional" json:"lastObservedAt" yaml:"lastObservedAt"`
	// Details on network protocol used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-networkprotocol
	//
	NetworkProtocol interface{} `field:"optional" json:"networkProtocol" yaml:"networkProtocol"`
	// Details on the port ranges used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-portrange
	//
	PortRange interface{} `field:"optional" json:"portRange" yaml:"portRange"`
	// Details on the related vulnerabilities used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-relatedvulnerabilities
	//
	RelatedVulnerabilities interface{} `field:"optional" json:"relatedVulnerabilities" yaml:"relatedVulnerabilities"`
	// Details on the resource IDs used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-resourceid
	//
	ResourceId interface{} `field:"optional" json:"resourceId" yaml:"resourceId"`
	// Details on the resource tags used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-resourcetags
	//
	ResourceTags interface{} `field:"optional" json:"resourceTags" yaml:"resourceTags"`
	// Details on the resource types used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-resourcetype
	//
	ResourceType interface{} `field:"optional" json:"resourceType" yaml:"resourceType"`
	// Details on the severity used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-severity
	//
	Severity interface{} `field:"optional" json:"severity" yaml:"severity"`
	// Details on the finding title used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-title
	//
	Title interface{} `field:"optional" json:"title" yaml:"title"`
	// Details on the date and time a finding was last updated at used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-updatedat
	//
	UpdatedAt interface{} `field:"optional" json:"updatedAt" yaml:"updatedAt"`
	// Details on the vendor severity used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-vendorseverity
	//
	VendorSeverity interface{} `field:"optional" json:"vendorSeverity" yaml:"vendorSeverity"`
	// Details on the vulnerability ID used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-vulnerabilityid
	//
	VulnerabilityId interface{} `field:"optional" json:"vulnerabilityId" yaml:"vulnerabilityId"`
	// Details on the vulnerability score to filter findings by.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-vulnerabilitysource
	//
	VulnerabilitySource interface{} `field:"optional" json:"vulnerabilitySource" yaml:"vulnerabilitySource"`
	// Details on the vulnerable packages used to filter findings.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-vulnerablepackages
	//
	VulnerablePackages interface{} `field:"optional" json:"vulnerablePackages" yaml:"vulnerablePackages"`
}

Details on the criteria used to define the filter.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

filterCriteriaProperty := &FilterCriteriaProperty{
	AwsAccountId: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	CodeVulnerabilityDetectorName: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	CodeVulnerabilityDetectorTags: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	CodeVulnerabilityFilePath: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	ComponentId: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	ComponentType: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	Ec2InstanceImageId: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	Ec2InstanceSubnetId: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	Ec2InstanceVpcId: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	EcrImageArchitecture: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	EcrImageHash: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	EcrImagePushedAt: []interface{}{
		&DateFilterProperty{
			EndInclusive: jsii.Number(123),
			StartInclusive: jsii.Number(123),
		},
	},
	EcrImageRegistry: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	EcrImageRepositoryName: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	EcrImageTags: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	EpssScore: []interface{}{
		&NumberFilterProperty{
			LowerInclusive: jsii.Number(123),
			UpperInclusive: jsii.Number(123),
		},
	},
	ExploitAvailable: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	FindingArn: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	FindingStatus: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	FindingType: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	FirstObservedAt: []interface{}{
		&DateFilterProperty{
			EndInclusive: jsii.Number(123),
			StartInclusive: jsii.Number(123),
		},
	},
	FixAvailable: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	InspectorScore: []interface{}{
		&NumberFilterProperty{
			LowerInclusive: jsii.Number(123),
			UpperInclusive: jsii.Number(123),
		},
	},
	LambdaFunctionExecutionRoleArn: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	LambdaFunctionLastModifiedAt: []interface{}{
		&DateFilterProperty{
			EndInclusive: jsii.Number(123),
			StartInclusive: jsii.Number(123),
		},
	},
	LambdaFunctionLayers: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	LambdaFunctionName: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	LambdaFunctionRuntime: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	LastObservedAt: []interface{}{
		&DateFilterProperty{
			EndInclusive: jsii.Number(123),
			StartInclusive: jsii.Number(123),
		},
	},
	NetworkProtocol: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	PortRange: []interface{}{
		&PortRangeFilterProperty{
			BeginInclusive: jsii.Number(123),
			EndInclusive: jsii.Number(123),
		},
	},
	RelatedVulnerabilities: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	ResourceId: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	ResourceTags: []interface{}{
		&MapFilterProperty{
			Comparison: jsii.String("comparison"),

			// the properties below are optional
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	ResourceType: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	Severity: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	Title: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	UpdatedAt: []interface{}{
		&DateFilterProperty{
			EndInclusive: jsii.Number(123),
			StartInclusive: jsii.Number(123),
		},
	},
	VendorSeverity: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	VulnerabilityId: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	VulnerabilitySource: []interface{}{
		&StringFilterProperty{
			Comparison: jsii.String("comparison"),
			Value: jsii.String("value"),
		},
	},
	VulnerablePackages: []interface{}{
		&PackageFilterProperty{
			Architecture: &StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
			Epoch: &NumberFilterProperty{
				LowerInclusive: jsii.Number(123),
				UpperInclusive: jsii.Number(123),
			},
			FilePath: &StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
			Name: &StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
			Release: &StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
			SourceLambdaLayerArn: &StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
			SourceLayerHash: &StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
			Version: &StringFilterProperty{
				Comparison: jsii.String("comparison"),
				Value: jsii.String("value"),
			},
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html

type CfnFilter_MapFilterProperty

type CfnFilter_MapFilterProperty struct {
	// The operator to use when comparing values in the filter.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-mapfilter.html#cfn-inspectorv2-filter-mapfilter-comparison
	//
	Comparison *string `field:"required" json:"comparison" yaml:"comparison"`
	// The tag key used in the filter.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-mapfilter.html#cfn-inspectorv2-filter-mapfilter-key
	//
	Key *string `field:"optional" json:"key" yaml:"key"`
	// The tag value used in the filter.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-mapfilter.html#cfn-inspectorv2-filter-mapfilter-value
	//
	Value *string `field:"optional" json:"value" yaml:"value"`
}

An object that describes details of a map filter.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

mapFilterProperty := &MapFilterProperty{
	Comparison: jsii.String("comparison"),

	// the properties below are optional
	Key: jsii.String("key"),
	Value: jsii.String("value"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-mapfilter.html

type CfnFilter_NumberFilterProperty

type CfnFilter_NumberFilterProperty struct {
	// The lowest number to be included in the filter.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-numberfilter.html#cfn-inspectorv2-filter-numberfilter-lowerinclusive
	//
	LowerInclusive *float64 `field:"optional" json:"lowerInclusive" yaml:"lowerInclusive"`
	// The highest number to be included in the filter.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-numberfilter.html#cfn-inspectorv2-filter-numberfilter-upperinclusive
	//
	UpperInclusive *float64 `field:"optional" json:"upperInclusive" yaml:"upperInclusive"`
}

An object that describes the details of a number filter.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

numberFilterProperty := &NumberFilterProperty{
	LowerInclusive: jsii.Number(123),
	UpperInclusive: jsii.Number(123),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-numberfilter.html

type CfnFilter_PackageFilterProperty

type CfnFilter_PackageFilterProperty struct {
	// An object that contains details on the package architecture type to filter on.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-packagefilter.html#cfn-inspectorv2-filter-packagefilter-architecture
	//
	Architecture interface{} `field:"optional" json:"architecture" yaml:"architecture"`
	// An object that contains details on the package epoch to filter on.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-packagefilter.html#cfn-inspectorv2-filter-packagefilter-epoch
	//
	Epoch interface{} `field:"optional" json:"epoch" yaml:"epoch"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-packagefilter.html#cfn-inspectorv2-filter-packagefilter-filepath
	//
	FilePath interface{} `field:"optional" json:"filePath" yaml:"filePath"`
	// An object that contains details on the name of the package to filter on.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-packagefilter.html#cfn-inspectorv2-filter-packagefilter-name
	//
	Name interface{} `field:"optional" json:"name" yaml:"name"`
	// An object that contains details on the package release to filter on.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-packagefilter.html#cfn-inspectorv2-filter-packagefilter-release
	//
	Release interface{} `field:"optional" json:"release" yaml:"release"`
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-packagefilter.html#cfn-inspectorv2-filter-packagefilter-sourcelambdalayerarn
	//
	SourceLambdaLayerArn interface{} `field:"optional" json:"sourceLambdaLayerArn" yaml:"sourceLambdaLayerArn"`
	// An object that contains details on the source layer hash to filter on.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-packagefilter.html#cfn-inspectorv2-filter-packagefilter-sourcelayerhash
	//
	SourceLayerHash interface{} `field:"optional" json:"sourceLayerHash" yaml:"sourceLayerHash"`
	// The package version to filter on.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-packagefilter.html#cfn-inspectorv2-filter-packagefilter-version
	//
	Version interface{} `field:"optional" json:"version" yaml:"version"`
}

Contains information on the details of a package filter.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

packageFilterProperty := &PackageFilterProperty{
	Architecture: &StringFilterProperty{
		Comparison: jsii.String("comparison"),
		Value: jsii.String("value"),
	},
	Epoch: &NumberFilterProperty{
		LowerInclusive: jsii.Number(123),
		UpperInclusive: jsii.Number(123),
	},
	FilePath: &StringFilterProperty{
		Comparison: jsii.String("comparison"),
		Value: jsii.String("value"),
	},
	Name: &StringFilterProperty{
		Comparison: jsii.String("comparison"),
		Value: jsii.String("value"),
	},
	Release: &StringFilterProperty{
		Comparison: jsii.String("comparison"),
		Value: jsii.String("value"),
	},
	SourceLambdaLayerArn: &StringFilterProperty{
		Comparison: jsii.String("comparison"),
		Value: jsii.String("value"),
	},
	SourceLayerHash: &StringFilterProperty{
		Comparison: jsii.String("comparison"),
		Value: jsii.String("value"),
	},
	Version: &StringFilterProperty{
		Comparison: jsii.String("comparison"),
		Value: jsii.String("value"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-packagefilter.html

type CfnFilter_PortRangeFilterProperty

type CfnFilter_PortRangeFilterProperty struct {
	// The port number the port range begins at.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-portrangefilter.html#cfn-inspectorv2-filter-portrangefilter-begininclusive
	//
	BeginInclusive *float64 `field:"optional" json:"beginInclusive" yaml:"beginInclusive"`
	// The port number the port range ends at.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-portrangefilter.html#cfn-inspectorv2-filter-portrangefilter-endinclusive
	//
	EndInclusive *float64 `field:"optional" json:"endInclusive" yaml:"endInclusive"`
}

An object that describes the details of a port range filter.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

portRangeFilterProperty := &PortRangeFilterProperty{
	BeginInclusive: jsii.Number(123),
	EndInclusive: jsii.Number(123),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-portrangefilter.html

type CfnFilter_StringFilterProperty

type CfnFilter_StringFilterProperty struct {
	// The operator to use when comparing values in the filter.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-stringfilter.html#cfn-inspectorv2-filter-stringfilter-comparison
	//
	Comparison *string `field:"required" json:"comparison" yaml:"comparison"`
	// The value to filter on.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-stringfilter.html#cfn-inspectorv2-filter-stringfilter-value
	//
	Value *string `field:"required" json:"value" yaml:"value"`
}

An object that describes the details of a string filter.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

stringFilterProperty := &StringFilterProperty{
	Comparison: jsii.String("comparison"),
	Value: jsii.String("value"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-stringfilter.html

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL