This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::InspectorV2::CodeSecurityScanConfiguration
Creates a scan configuration for code security scanning.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::InspectorV2::CodeSecurityScanConfiguration", "Properties" : { "Configuration" :
CodeSecurityScanConfiguration
, "Level" :String
, "Name" :String
, "ScopeSettings" :ScopeSettings
, "Tags" :{
} }Key
:Value
, ...}
YAML
Type: AWS::InspectorV2::CodeSecurityScanConfiguration Properties: Configuration:
CodeSecurityScanConfiguration
Level:String
Name:String
ScopeSettings:ScopeSettings
Tags:
Key
:Value
Properties
Configuration
-
The configuration settings for the code security scan.
Required: No
Type: CodeSecurityScanConfiguration
Update requires: No interruption
Level
-
The security level for the scan configuration.
Required: No
Type: String
Allowed values:
ORGANIZATION | ACCOUNT
Update requires: Replacement
Name
-
The name of the scan configuration.
Required: No
Type: String
Pattern:
^[a-zA-Z0-9-_$:.]*$
Minimum:
1
Maximum:
60
Update requires: Replacement
ScopeSettings
-
The scope settings that define which repositories will be scanned.
Required: No
Type: ScopeSettings
Update requires: Replacement
-
The tags to apply to the scan configuration.
Required: No
Type: Object of String
Pattern:
^.{2,127}$
Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns the ARN of the scan configuration.
For more information about using the Ref
function, see Ref
.
Fn::GetAtt
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt
.
Arn
-
The Amazon Resource Name (ARN) of the scan configuration.