Class CfnConnectorV2

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IConnectorV2Ref, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)", date="2025-12-05T22:26:45.478Z") @Stability(Stable) public class CfnConnectorV2 extends CfnResource implements IInspectable, IConnectorV2Ref, ITaggableV2
Resource schema for AWS::SecurityHub::ConnectorV2.

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.securityhub.*;
 CfnConnectorV2 cfnConnectorV2 = CfnConnectorV2.Builder.create(this, "MyCfnConnectorV2")
         .name("name")
         .provider(ProviderProperty.builder()
                 .jiraCloud(JiraCloudProperty.builder()
                         .projectKey("projectKey")
                         // the properties below are optional
                         .authStatus("authStatus")
                         .authUrl("authUrl")
                         .cloudId("cloudId")
                         .domain("domain")
                         .build())
                 .serviceNow(ServiceNowProperty.builder()
                         .instanceName("instanceName")
                         .secretArn("secretArn")
                         // the properties below are optional
                         .authStatus("authStatus")
                         .build())
                 .build())
         // the properties below are optional
         .description("description")
         .kmsKeyArn("kmsKeyArn")
         .tags(Map.of(
                 "tagsKey", "tags"))
         .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

    • CfnConnectorV2

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

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

      @Stability(Stable) public CfnConnectorV2(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnConnectorV2Props props)
      Create a new AWS::SecurityHub::ConnectorV2.

      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. This parameter is required.
  • Method Details

    • isCfnConnectorV2

      @Stability(Stable) @NotNull public static Boolean isCfnConnectorV2(@NotNull Object x)
      Checks whether the given object is a CfnConnectorV2.

      Parameters:
      x - This parameter is required.
    • 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.
    • getAttrConnectorArn

      @Stability(Stable) @NotNull public String getAttrConnectorArn()
      The ARN of the connector.
    • getAttrConnectorId

      @Stability(Stable) @NotNull public String getAttrConnectorId()
      The ID of the connector.
    • getAttrConnectorStatus

      @Stability(Stable) @NotNull public String getAttrConnectorStatus()
      The status of the connector.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp formatted in ISO8601.
    • getAttrLastCheckedAt

      @Stability(Stable) @NotNull public String getAttrLastCheckedAt()
      The timestamp formatted in ISO8601.
    • getAttrLastUpdatedAt

      @Stability(Stable) @NotNull public String getAttrLastUpdatedAt()
      The timestamp formatted in ISO8601.
    • getAttrMessage

      @Stability(Stable) @NotNull public String getAttrMessage()
      The message of the connector status change.
    • getAttrProviderJiraCloudAuthStatus

      @Stability(Stable) @NotNull public String getAttrProviderJiraCloudAuthStatus()
      The auth status of the connector.
    • getAttrProviderJiraCloudAuthUrl

      @Stability(Stable) @NotNull public String getAttrProviderJiraCloudAuthUrl()
      The authUrl of the JiraCloud connector.
    • getAttrProviderJiraCloudCloudId

      @Stability(Stable) @NotNull public String getAttrProviderJiraCloudCloudId()
    • getAttrProviderJiraCloudDomain

      @Stability(Stable) @NotNull public String getAttrProviderJiraCloudDomain()
    • getAttrProviderServiceNowAuthStatus

      @Stability(Stable) @NotNull public String getAttrProviderServiceNowAuthStatus()
      The auth status of the connector.
    • 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
    • getConnectorV2Ref

      @Stability(Stable) @NotNull public ConnectorV2Reference getConnectorV2Ref()
      A reference to a ConnectorV2 resource.
      Specified by:
      getConnectorV2Ref in interface IConnectorV2Ref
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the connector.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the connector.
    • getProvider

      @Stability(Stable) @NotNull public Object getProvider()
      The provider configuration of the connector.

      Returns union: either IResolvable or CfnConnectorV2.ProviderProperty

    • setProvider

      @Stability(Stable) public void setProvider(@NotNull IResolvable value)
      The provider configuration of the connector.
    • setProvider

      @Stability(Stable) public void setProvider(@NotNull CfnConnectorV2.ProviderProperty value)
      The provider configuration of the connector.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      A description of the connector.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      A description of the connector.
    • getKmsKeyArn

      @Stability(Stable) @Nullable public String getKmsKeyArn()
      The ARN of KMS key used for the connector.
    • setKmsKeyArn

      @Stability(Stable) public void setKmsKeyArn(@Nullable String value)
      The ARN of KMS key used for the connector.
    • getTags

      @Stability(Stable) @Nullable public Map<String,String> getTags()
      A key-value pair to associate with a resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable Map<String,String> value)
      A key-value pair to associate with a resource.