CfnConnectorV2PropsMixin

class aws_cdk.cfn_property_mixins.aws_securityhub.CfnConnectorV2PropsMixin(props, *, strategy=None)

Bases: Mixin

Grants permission to create a connectorV2 based on input parameters.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-connectorv2.html

CloudformationResource:

AWS::SecurityHub::ConnectorV2

Mixin:

true

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.cfn_property_mixins import aws_securityhub as securityhub
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_connector_v2_props_mixin = securityhub.CfnConnectorV2PropsMixin(securityhub.CfnConnectorV2MixinProps(
    description="description",
    kms_key_arn="kmsKeyArn",
    name="name",
    provider=securityhub.CfnConnectorV2PropsMixin.ProviderProperty(
        azure=securityhub.CfnConnectorV2PropsMixin.AzureProviderConfigurationProperty(
            aws_config_connector_arn="awsConfigConnectorArn",
            azure_regions=["azureRegions"],
            scope_configuration=securityhub.CfnConnectorV2PropsMixin.AzureScopeConfigurationProperty(
                scope_type="scopeType",
                scope_values=["scopeValues"]
            )
        ),
        jira_cloud=securityhub.CfnConnectorV2PropsMixin.JiraCloudProviderConfigurationProperty(
            project_key="projectKey"
        ),
        service_now=securityhub.CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty(
            instance_name="instanceName",
            secret_arn="secretArn"
        )
    ),
    tags={
        "tags_key": "tags"
    }
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::SecurityHub::ConnectorV2.

Parameters:
  • props (Union[CfnConnectorV2MixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['description', 'kmsKeyArn', 'name', 'provider', 'tags']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

AzureProviderConfigurationProperty

class CfnConnectorV2PropsMixin.AzureProviderConfigurationProperty(*, aws_config_connector_arn=None, azure_regions=None, scope_configuration=None)

Bases: object

The configuration settings required to establish an integration between AWS Security Hub and Azure.

Parameters:
  • aws_config_connector_arn (Optional[str]) – The ARN of the AWS Config connector used for the Azure integration.

  • azure_regions (Optional[Sequence[str]]) – The list of Azure regions to include in the connector scope.

  • scope_configuration (Union[IResolvable, AzureScopeConfigurationProperty, Dict[str, Any], None]) – The scope configuration for an Azure connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-azureproviderconfiguration.html

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.cfn_property_mixins import aws_securityhub as securityhub

azure_provider_configuration_property = securityhub.CfnConnectorV2PropsMixin.AzureProviderConfigurationProperty(
    aws_config_connector_arn="awsConfigConnectorArn",
    azure_regions=["azureRegions"],
    scope_configuration=securityhub.CfnConnectorV2PropsMixin.AzureScopeConfigurationProperty(
        scope_type="scopeType",
        scope_values=["scopeValues"]
    )
)

Attributes

aws_config_connector_arn

The ARN of the AWS Config connector used for the Azure integration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-azureproviderconfiguration.html#cfn-securityhub-connectorv2-azureproviderconfiguration-awsconfigconnectorarn

azure_regions

The list of Azure regions to include in the connector scope.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-azureproviderconfiguration.html#cfn-securityhub-connectorv2-azureproviderconfiguration-azureregions

scope_configuration

The scope configuration for an Azure connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-azureproviderconfiguration.html#cfn-securityhub-connectorv2-azureproviderconfiguration-scopeconfiguration

AzureScopeConfigurationProperty

class CfnConnectorV2PropsMixin.AzureScopeConfigurationProperty(*, scope_type=None, scope_values=None)

Bases: object

The scope configuration for an Azure connector.

Parameters:
  • scope_type (Optional[str]) – The scope type for the Azure connector.

  • scope_values (Optional[Sequence[str]]) – The list of scope values for the Azure connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-azurescopeconfiguration.html

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.cfn_property_mixins import aws_securityhub as securityhub

azure_scope_configuration_property = securityhub.CfnConnectorV2PropsMixin.AzureScopeConfigurationProperty(
    scope_type="scopeType",
    scope_values=["scopeValues"]
)

Attributes

scope_type

The scope type for the Azure connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-azurescopeconfiguration.html#cfn-securityhub-connectorv2-azurescopeconfiguration-scopetype

scope_values

The list of scope values for the Azure connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-azurescopeconfiguration.html#cfn-securityhub-connectorv2-azurescopeconfiguration-scopevalues

HealthIssueProperty

class CfnConnectorV2PropsMixin.HealthIssueProperty(*, code=None, message=None)

Bases: object

A health issue associated with the connector.

Parameters:
  • code (Optional[str]) – The code identifying the type of health issue.

  • message (Optional[str]) – The message describing the health issue.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-healthissue.html

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.cfn_property_mixins import aws_securityhub as securityhub

health_issue_property = securityhub.CfnConnectorV2PropsMixin.HealthIssueProperty(
    code="code",
    message="message"
)

Attributes

code

The code identifying the type of health issue.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-healthissue.html#cfn-securityhub-connectorv2-healthissue-code

message

The message describing the health issue.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-healthissue.html#cfn-securityhub-connectorv2-healthissue-message

JiraCloudProviderConfigurationProperty

class CfnConnectorV2PropsMixin.JiraCloudProviderConfigurationProperty(*, project_key=None)

Bases: object

The initial configuration settings required to establish an integration between Security Hub CSPM and Jira Cloud.

Parameters:

project_key (Optional[str]) – The project key for a JiraCloud instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-jiracloudproviderconfiguration.html

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.cfn_property_mixins import aws_securityhub as securityhub

jira_cloud_provider_configuration_property = securityhub.CfnConnectorV2PropsMixin.JiraCloudProviderConfigurationProperty(
    project_key="projectKey"
)

Attributes

project_key

The project key for a JiraCloud instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-jiracloudproviderconfiguration.html#cfn-securityhub-connectorv2-jiracloudproviderconfiguration-projectkey

ProviderProperty

class CfnConnectorV2PropsMixin.ProviderProperty(*, azure=None, jira_cloud=None, service_now=None)

Bases: object

The third-party provider detail for a service configuration.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-provider.html

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.cfn_property_mixins import aws_securityhub as securityhub

provider_property = securityhub.CfnConnectorV2PropsMixin.ProviderProperty(
    azure=securityhub.CfnConnectorV2PropsMixin.AzureProviderConfigurationProperty(
        aws_config_connector_arn="awsConfigConnectorArn",
        azure_regions=["azureRegions"],
        scope_configuration=securityhub.CfnConnectorV2PropsMixin.AzureScopeConfigurationProperty(
            scope_type="scopeType",
            scope_values=["scopeValues"]
        )
    ),
    jira_cloud=securityhub.CfnConnectorV2PropsMixin.JiraCloudProviderConfigurationProperty(
        project_key="projectKey"
    ),
    service_now=securityhub.CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty(
        instance_name="instanceName",
        secret_arn="secretArn"
    )
)

Attributes

azure

The configuration settings required to establish an integration between AWS Security Hub and Azure.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-provider.html#cfn-securityhub-connectorv2-provider-azure

jira_cloud

Details about a Jira Cloud integration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-provider.html#cfn-securityhub-connectorv2-provider-jiracloud

service_now

Details about a ServiceNow ITSM integration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-provider.html#cfn-securityhub-connectorv2-provider-servicenow

ServiceNowProviderConfigurationProperty

class CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty(*, instance_name=None, secret_arn=None)

Bases: object

The initial configuration settings required to establish an integration between Security Hub CSPM and ServiceNow ITSM.

Parameters:
  • instance_name (Optional[str]) – The instance name of ServiceNow ITSM.

  • secret_arn (Optional[str]) – The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the ServiceNow credentials.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-servicenowproviderconfiguration.html

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.cfn_property_mixins import aws_securityhub as securityhub

service_now_provider_configuration_property = securityhub.CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty(
    instance_name="instanceName",
    secret_arn="secretArn"
)

Attributes

instance_name

The instance name of ServiceNow ITSM.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-servicenowproviderconfiguration.html#cfn-securityhub-connectorv2-servicenowproviderconfiguration-instancename

secret_arn

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the ServiceNow credentials.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-servicenowproviderconfiguration.html#cfn-securityhub-connectorv2-servicenowproviderconfiguration-secretarn