Class CfnCodeSecurityIntegration

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.inspectorv2.CfnCodeSecurityIntegration
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-08-20T12:34:44.273Z") @Stability(Stable) public class CfnCodeSecurityIntegration extends CfnResource implements IInspectable, ITaggableV2
Inspector CodeSecurityIntegration resource schema.

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.*;
 CfnCodeSecurityIntegration cfnCodeSecurityIntegration = CfnCodeSecurityIntegration.Builder.create(this, "MyCfnCodeSecurityIntegration")
         .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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnCodeSecurityIntegration

      protected CfnCodeSecurityIntegration(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnCodeSecurityIntegration

      protected CfnCodeSecurityIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnCodeSecurityIntegration

      @Stability(Stable) public CfnCodeSecurityIntegration(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnCodeSecurityIntegrationProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnCodeSecurityIntegration

      @Stability(Stable) public CfnCodeSecurityIntegration(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      Code Security Integration ARN.
    • getAttrAuthorizationUrl

      @Stability(Stable) @NotNull public String getAttrAuthorizationUrl()
      Authorization URL for OAuth flow.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      Creation timestamp.
    • getAttrLastUpdatedAt

      @Stability(Stable) @NotNull public String getAttrLastUpdatedAt()
      Last update timestamp.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
    • getAttrStatusReason

      @Stability(Stable) @NotNull public String getAttrStatusReason()
      Reason for the current status.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCreateIntegrationDetails

      @Stability(Stable) @Nullable public Object getCreateIntegrationDetails()
    • setCreateIntegrationDetails

      @Stability(Stable) public void setCreateIntegrationDetails(@Nullable IResolvable value)
    • setCreateIntegrationDetails

      @Stability(Stable) public void setCreateIntegrationDetails(@Nullable CfnCodeSecurityIntegration.CreateDetailsProperty value)
    • getName

      @Stability(Stable) @Nullable public String getName()
      Code Security Integration name.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      Code Security Integration name.
    • getTags

      @Stability(Stable) @Nullable public Map<String,String> getTags()
    • setTags

      @Stability(Stable) public void setTags(@Nullable Map<String,String> value)
    • getType

      @Stability(Stable) @Nullable public String getType()
    • setType

      @Stability(Stable) public void setType(@Nullable String value)
    • getUpdateIntegrationDetails

      @Stability(Stable) @Nullable public Object getUpdateIntegrationDetails()
    • setUpdateIntegrationDetails

      @Stability(Stable) public void setUpdateIntegrationDetails(@Nullable IResolvable value)
    • setUpdateIntegrationDetails

      @Stability(Stable) public void setUpdateIntegrationDetails(@Nullable CfnCodeSecurityIntegration.UpdateDetailsProperty value)