Interface CfnCodeSecurityIntegrationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCodeSecurityIntegrationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:22.374Z")
@Stability(Stable)
public interface CfnCodeSecurityIntegrationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCodeSecurityIntegration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.inspectorv2.*;
CfnCodeSecurityIntegrationProps cfnCodeSecurityIntegrationProps = CfnCodeSecurityIntegrationProps.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCodeSecurityIntegrationPropsstatic final classAn implementation forCfnCodeSecurityIntegrationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectContains details required to create a code security integration with a specific repository provider.default StringgetName()The name of the code security integration.getTags()The tags to apply to the code security integration.default StringgetType()The type of repository provider for the integration.default ObjectThe updated integration details specific to the repository provider type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCreateIntegrationDetails
Contains details required to create a code security integration with a specific repository provider.Returns union: either
IResolvableorCfnCodeSecurityIntegration.CreateDetailsProperty- See Also:
-
getName
The name of the code security integration.- See Also:
-
getTags
The tags to apply to the code security integration.- See Also:
-
getType
The type of repository provider for the integration.- See Also:
-
getUpdateIntegrationDetails
The updated integration details specific to the repository provider type.Returns union: either
IResolvableorCfnCodeSecurityIntegration.UpdateDetailsProperty- See Also:
-
builder
-