We recommend new projects start with resources from the AWS provider.
aws-native.inspectorv2.CodeSecurityScanConfiguration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Inspector CodeSecurityScanConfiguration resource schema
Create CodeSecurityScanConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CodeSecurityScanConfiguration(name: string, args?: CodeSecurityScanConfigurationArgs, opts?: CustomResourceOptions);
@overload
def CodeSecurityScanConfiguration(resource_name: str,
args: Optional[CodeSecurityScanConfigurationInitArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CodeSecurityScanConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[CodeSecurityScanConfigurationArgs] = None,
level: Optional[CodeSecurityScanConfigurationConfigurationLevel] = None,
name: Optional[str] = None,
scope_settings: Optional[CodeSecurityScanConfigurationScopeSettingsArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewCodeSecurityScanConfiguration(ctx *Context, name string, args *CodeSecurityScanConfigurationArgs, opts ...ResourceOption) (*CodeSecurityScanConfiguration, error)
public CodeSecurityScanConfiguration(string name, CodeSecurityScanConfigurationArgs? args = null, CustomResourceOptions? opts = null)
public CodeSecurityScanConfiguration(String name, CodeSecurityScanConfigurationArgs args)
public CodeSecurityScanConfiguration(String name, CodeSecurityScanConfigurationArgs args, CustomResourceOptions options)
type: aws-native:inspectorv2:CodeSecurityScanConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CodeSecurityScanConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CodeSecurityScanConfigurationInitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CodeSecurityScanConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CodeSecurityScanConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CodeSecurityScanConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CodeSecurityScanConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CodeSecurityScanConfiguration resource accepts the following input properties:
- Configuration
Pulumi.
Aws Native. Inspector V2. Inputs. Code Security Scan Configuration - Code Security Scan Configuration
- Level
Pulumi.
Aws Native. Inspector V2. Code Security Scan Configuration Configuration Level - Configuration Level
- Name string
- Code Security Scan Configuration name
- Scope
Settings Pulumi.Aws Native. Inspector V2. Inputs. Code Security Scan Configuration Scope Settings - Scope Settings
- Dictionary<string, string>
- The tags to apply to the scan configuration.
- Configuration
Code
Security Scan Configuration Type Args - Code Security Scan Configuration
- Level
Code
Security Scan Configuration Configuration Level - Configuration Level
- Name string
- Code Security Scan Configuration name
- Scope
Settings CodeSecurity Scan Configuration Scope Settings Args - Scope Settings
- map[string]string
- The tags to apply to the scan configuration.
- configuration
Code
Security Scan Configuration - Code Security Scan Configuration
- level
Code
Security Scan Configuration Configuration Level - Configuration Level
- name String
- Code Security Scan Configuration name
- scope
Settings CodeSecurity Scan Configuration Scope Settings - Scope Settings
- Map<String,String>
- The tags to apply to the scan configuration.
- configuration
Code
Security Scan Configuration - Code Security Scan Configuration
- level
Code
Security Scan Configuration Configuration Level - Configuration Level
- name string
- Code Security Scan Configuration name
- scope
Settings CodeSecurity Scan Configuration Scope Settings - Scope Settings
- {[key: string]: string}
- The tags to apply to the scan configuration.
- configuration
Code
Security Scan Configuration Args - Code Security Scan Configuration
- level
Code
Security Scan Configuration Configuration Level - Configuration Level
- name str
- Code Security Scan Configuration name
- scope_
settings CodeSecurity Scan Configuration Scope Settings Args - Scope Settings
- Mapping[str, str]
- The tags to apply to the scan configuration.
- configuration Property Map
- Code Security Scan Configuration
- level "ORGANIZATION" | "ACCOUNT"
- Configuration Level
- name String
- Code Security Scan Configuration name
- scope
Settings Property Map - Scope Settings
- Map<String>
- The tags to apply to the scan configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the CodeSecurityScanConfiguration resource produces the following output properties:
Supporting Types
CodeSecurityScanConfiguration, CodeSecurityScanConfigurationArgs
- Rule
Set List<Pulumi.Categories Aws Native. Inspector V2. Code Security Scan Configuration Rule Set Category> - The categories of security rules to be applied during the scan.
- Continuous
Integration Pulumi.Scan Configuration Aws Native. Inspector V2. Inputs. Code Security Scan Configuration Continuous Integration Scan Configuration - Configuration settings for continuous integration scans that run automatically when code changes are made.
- Periodic
Scan Pulumi.Configuration Aws Native. Inspector V2. Inputs. Code Security Scan Configuration Periodic Scan Configuration - Configuration settings for periodic scans that run on a scheduled basis.
- Rule
Set []CodeCategories Security Scan Configuration Rule Set Category - The categories of security rules to be applied during the scan.
- Continuous
Integration CodeScan Configuration Security Scan Configuration Continuous Integration Scan Configuration - Configuration settings for continuous integration scans that run automatically when code changes are made.
- Periodic
Scan CodeConfiguration Security Scan Configuration Periodic Scan Configuration - Configuration settings for periodic scans that run on a scheduled basis.
- rule
Set List<CodeCategories Security Scan Configuration Rule Set Category> - The categories of security rules to be applied during the scan.
- continuous
Integration CodeScan Configuration Security Scan Configuration Continuous Integration Scan Configuration - Configuration settings for continuous integration scans that run automatically when code changes are made.
- periodic
Scan CodeConfiguration Security Scan Configuration Periodic Scan Configuration - Configuration settings for periodic scans that run on a scheduled basis.
- rule
Set CodeCategories Security Scan Configuration Rule Set Category[] - The categories of security rules to be applied during the scan.
- continuous
Integration CodeScan Configuration Security Scan Configuration Continuous Integration Scan Configuration - Configuration settings for continuous integration scans that run automatically when code changes are made.
- periodic
Scan CodeConfiguration Security Scan Configuration Periodic Scan Configuration - Configuration settings for periodic scans that run on a scheduled basis.
- rule_
set_ Sequence[Codecategories Security Scan Configuration Rule Set Category] - The categories of security rules to be applied during the scan.
- continuous_
integration_ Codescan_ configuration Security Scan Configuration Continuous Integration Scan Configuration - Configuration settings for continuous integration scans that run automatically when code changes are made.
- periodic_
scan_ Codeconfiguration Security Scan Configuration Periodic Scan Configuration - Configuration settings for periodic scans that run on a scheduled basis.
- rule
Set List<"SAST" | "IAC" | "SCA">Categories - The categories of security rules to be applied during the scan.
- continuous
Integration Property MapScan Configuration - Configuration settings for continuous integration scans that run automatically when code changes are made.
- periodic
Scan Property MapConfiguration - Configuration settings for periodic scans that run on a scheduled basis.
CodeSecurityScanConfigurationConfigurationLevel, CodeSecurityScanConfigurationConfigurationLevelArgs
- Organization
- ORGANIZATION
- Account
- ACCOUNT
- Code
Security Scan Configuration Configuration Level Organization - ORGANIZATION
- Code
Security Scan Configuration Configuration Level Account - ACCOUNT
- Organization
- ORGANIZATION
- Account
- ACCOUNT
- Organization
- ORGANIZATION
- Account
- ACCOUNT
- ORGANIZATION
- ORGANIZATION
- ACCOUNT
- ACCOUNT
- "ORGANIZATION"
- ORGANIZATION
- "ACCOUNT"
- ACCOUNT
CodeSecurityScanConfigurationContinuousIntegrationScanConfiguration, CodeSecurityScanConfigurationContinuousIntegrationScanConfigurationArgs
- Supported
Events List<Pulumi.Aws Native. Inspector V2. Code Security Scan Configuration Continuous Integration Scan Event> - The repository events that trigger continuous integration scans, such as pull requests or commits.
- Supported
Events []CodeSecurity Scan Configuration Continuous Integration Scan Event - The repository events that trigger continuous integration scans, such as pull requests or commits.
- supported
Events List<CodeSecurity Scan Configuration Continuous Integration Scan Event> - The repository events that trigger continuous integration scans, such as pull requests or commits.
- supported
Events CodeSecurity Scan Configuration Continuous Integration Scan Event[] - The repository events that trigger continuous integration scans, such as pull requests or commits.
- supported_
events Sequence[CodeSecurity Scan Configuration Continuous Integration Scan Event] - The repository events that trigger continuous integration scans, such as pull requests or commits.
- supported
Events List<"PULL_REQUEST" | "PUSH"> - The repository events that trigger continuous integration scans, such as pull requests or commits.
CodeSecurityScanConfigurationContinuousIntegrationScanEvent, CodeSecurityScanConfigurationContinuousIntegrationScanEventArgs
- Pull
Request - PULL_REQUEST
- Push
- PUSH
- Code
Security Scan Configuration Continuous Integration Scan Event Pull Request - PULL_REQUEST
- Code
Security Scan Configuration Continuous Integration Scan Event Push - PUSH
- Pull
Request - PULL_REQUEST
- Push
- PUSH
- Pull
Request - PULL_REQUEST
- Push
- PUSH
- PULL_REQUEST
- PULL_REQUEST
- PUSH
- PUSH
- "PULL_REQUEST"
- PULL_REQUEST
- "PUSH"
- PUSH
CodeSecurityScanConfigurationPeriodicScanConfiguration, CodeSecurityScanConfigurationPeriodicScanConfigurationArgs
- Frequency
Pulumi.
Aws Native. Inspector V2. Code Security Scan Configuration Periodic Scan Frequency 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 thefrequencyExpression
, the schedule must match the specifiedfrequency
.- Frequency
Expression string - The schedule expression for periodic scans, in cron format.
- Frequency
Code
Security Scan Configuration Periodic Scan Frequency 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 thefrequencyExpression
, the schedule must match the specifiedfrequency
.- Frequency
Expression string - The schedule expression for periodic scans, in cron format.
- frequency
Code
Security Scan Configuration Periodic Scan Frequency 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 thefrequencyExpression
, the schedule must match the specifiedfrequency
.- frequency
Expression String - The schedule expression for periodic scans, in cron format.
- frequency
Code
Security Scan Configuration Periodic Scan Frequency 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 thefrequencyExpression
, the schedule must match the specifiedfrequency
.- frequency
Expression string - The schedule expression for periodic scans, in cron format.
- frequency
Code
Security Scan Configuration Periodic Scan Frequency 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 thefrequencyExpression
, the schedule must match the specifiedfrequency
.- frequency_
expression str - The schedule expression for periodic scans, in cron format.
- frequency "WEEKLY" | "MONTHLY" | "NEVER"
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 thefrequencyExpression
, the schedule must match the specifiedfrequency
.- frequency
Expression String - The schedule expression for periodic scans, in cron format.
CodeSecurityScanConfigurationPeriodicScanFrequency, CodeSecurityScanConfigurationPeriodicScanFrequencyArgs
- Weekly
- WEEKLY
- Monthly
- MONTHLY
- Never
- NEVER
- Code
Security Scan Configuration Periodic Scan Frequency Weekly - WEEKLY
- Code
Security Scan Configuration Periodic Scan Frequency Monthly - MONTHLY
- Code
Security Scan Configuration Periodic Scan Frequency Never - NEVER
- Weekly
- WEEKLY
- Monthly
- MONTHLY
- Never
- NEVER
- Weekly
- WEEKLY
- Monthly
- MONTHLY
- Never
- NEVER
- WEEKLY
- WEEKLY
- MONTHLY
- MONTHLY
- NEVER
- NEVER
- "WEEKLY"
- WEEKLY
- "MONTHLY"
- MONTHLY
- "NEVER"
- NEVER
CodeSecurityScanConfigurationProjectSelectionScope, CodeSecurityScanConfigurationProjectSelectionScopeArgs
- All
- ALL
- Code
Security Scan Configuration Project Selection Scope All - ALL
- All
- ALL
- All
- ALL
- ALL
- ALL
- "ALL"
- ALL
CodeSecurityScanConfigurationRuleSetCategory, CodeSecurityScanConfigurationRuleSetCategoryArgs
- Sast
- SAST
- Iac
- IAC
- Sca
- SCA
- Code
Security Scan Configuration Rule Set Category Sast - SAST
- Code
Security Scan Configuration Rule Set Category Iac - IAC
- Code
Security Scan Configuration Rule Set Category Sca - SCA
- Sast
- SAST
- Iac
- IAC
- Sca
- SCA
- Sast
- SAST
- Iac
- IAC
- Sca
- SCA
- SAST
- SAST
- IAC
- IAC
- SCA
- SCA
- "SAST"
- SAST
- "IAC"
- IAC
- "SCA"
- SCA
CodeSecurityScanConfigurationScopeSettings, CodeSecurityScanConfigurationScopeSettingsArgs
- Project
Selection Pulumi.Scope Aws Native. Inspector V2. Code Security Scan Configuration Project Selection Scope - The scope of projects to be selected for scanning within the integrated repositories.
- Project
Selection CodeScope Security Scan Configuration Project Selection Scope - The scope of projects to be selected for scanning within the integrated repositories.
- project
Selection CodeScope Security Scan Configuration Project Selection Scope - The scope of projects to be selected for scanning within the integrated repositories.
- project
Selection CodeScope Security Scan Configuration Project Selection Scope - The scope of projects to be selected for scanning within the integrated repositories.
- project_
selection_ Codescope Security Scan Configuration Project Selection Scope - The scope of projects to be selected for scanning within the integrated repositories.
- project
Selection "ALL"Scope - The scope of projects to be selected for scanning within the integrated repositories.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.