CfnCodeSecurityIntegrationProps
- class aws_cdk.aws_inspectorv2.CfnCodeSecurityIntegrationProps(*, create_integration_details=None, name=None, tags=None, type=None, update_integration_details=None)
Bases:
object
Properties for defining a
CfnCodeSecurityIntegration
.- Parameters:
create_integration_details (
Union
[IResolvable
,CreateDetailsProperty
,Dict
[str
,Any
],None
]) – Contains details required to create a code security integration with a specific repository provider.name (
Optional
[str
]) – The name of the code security integration.tags (
Optional
[Mapping
[str
,str
]]) – The tags to apply to the code security integration.type (
Optional
[str
]) – The type of repository provider for the integration.update_integration_details (
Union
[IResolvable
,UpdateDetailsProperty
,Dict
[str
,Any
],None
]) – The updated integration details specific to the repository provider type.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_inspectorv2 as inspectorv2 cfn_code_security_integration_props = inspectorv2.CfnCodeSecurityIntegrationProps( create_integration_details=inspectorv2.CfnCodeSecurityIntegration.CreateDetailsProperty( gitlab_self_managed=inspectorv2.CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty( access_token="accessToken", instance_url="instanceUrl" ) ), name="name", tags={ "tags_key": "tags" }, type="type", update_integration_details=inspectorv2.CfnCodeSecurityIntegration.UpdateDetailsProperty( github=inspectorv2.CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty( code="code", installation_id="installationId" ), gitlab_self_managed=inspectorv2.CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty( auth_code="authCode" ) ) )
Attributes
- create_integration_details
Contains details required to create a code security integration with a specific repository provider.
- name
The name of the code security integration.
- tags
The tags to apply to the code security integration.
- type
The type of repository provider for the integration.
- update_integration_details
The updated integration details specific to the repository provider type.