CfnCodeSecurityIntegrationMixinProps
- class aws_cdk.mixins_preview.aws_inspectorv2.mixins.CfnCodeSecurityIntegrationMixinProps(*, create_integration_details=None, name=None, tags=None, type=None, update_integration_details=None)
Bases:
objectProperties for CfnCodeSecurityIntegrationPropsMixin.
- 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.mixins_preview.aws_inspectorv2 import mixins as inspectorv2_mixins cfn_code_security_integration_mixin_props = inspectorv2_mixins.CfnCodeSecurityIntegrationMixinProps( create_integration_details=inspectorv2_mixins.CfnCodeSecurityIntegrationPropsMixin.CreateDetailsProperty( gitlab_self_managed=inspectorv2_mixins.CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty( access_token="accessToken", instance_url="instanceUrl" ) ), name="name", tags={ "tags_key": "tags" }, type="type", update_integration_details=inspectorv2_mixins.CfnCodeSecurityIntegrationPropsMixin.UpdateDetailsProperty( github=inspectorv2_mixins.CfnCodeSecurityIntegrationPropsMixin.UpdateGitHubIntegrationDetailProperty( code="code", installation_id="installationId" ), gitlab_self_managed=inspectorv2_mixins.CfnCodeSecurityIntegrationPropsMixin.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.