Class CfnCodeSecurityIntegrationPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.inspectorv2.CfnCodeSecurityIntegrationPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:00.104Z")
@Stability(Stable)
public class CfnCodeSecurityIntegrationPropsMixin
extends Mixin
implements software.constructs.IMixin
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 software.amazon.awscdk.cfnpropertymixins.services.inspectorv2.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnCodeSecurityIntegrationPropsMixin cfnCodeSecurityIntegrationPropsMixin = CfnCodeSecurityIntegrationPropsMixin.Builder.create(CfnCodeSecurityIntegrationMixinProps.builder()
.createIntegrationDetails(CreateDetailsProperty.builder()
.gitlabSelfManaged(CreateGitLabSelfManagedIntegrationDetailProperty.builder()
.accessToken("accessToken")
.instanceUrl("instanceUrl")
.build())
.build())
.name("name")
.tags(Map.of(
"tagsKey", "tags"))
.type("type")
.updateIntegrationDetails(UpdateDetailsProperty.builder()
.github(UpdateGitHubIntegrationDetailProperty.builder()
.code("code")
.installationId("installationId")
.build())
.gitlabSelfManaged(UpdateGitLabSelfManagedIntegrationDetailProperty.builder()
.authCode("authCode")
.build())
.build())
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnCodeSecurityIntegrationPropsMixin.static interfaceContains details required to create a code security integration with a specific repository provider.static interfaceContains details required to create an integration with a self-managed GitLab instance.static interfaceContains details required to update a code security integration with a specific repository provider.static interfaceContains details required to update an integration with GitHub.static interfaceContains details required to update an integration with a self-managed GitLab instance.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::InspectorV2::CodeSecurityIntegration.CfnCodeSecurityIntegrationPropsMixin(CfnCodeSecurityIntegrationMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::InspectorV2::CodeSecurityIntegration.protectedCfnCodeSecurityIntegrationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCodeSecurityIntegrationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnCodeSecurityIntegrationMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnCodeSecurityIntegrationPropsMixin
protected CfnCodeSecurityIntegrationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCodeSecurityIntegrationPropsMixin
protected CfnCodeSecurityIntegrationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCodeSecurityIntegrationPropsMixin
@Stability(Stable) public CfnCodeSecurityIntegrationPropsMixin(@NotNull CfnCodeSecurityIntegrationMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::InspectorV2::CodeSecurityIntegration.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnCodeSecurityIntegrationPropsMixin
@Stability(Stable) public CfnCodeSecurityIntegrationPropsMixin(@NotNull CfnCodeSecurityIntegrationMixinProps props) Create a mixin to apply properties toAWS::InspectorV2::CodeSecurityIntegration.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-