CfnConnectorV2PropsMixin
- class aws_cdk.cfn_property_mixins.aws_securityhub.CfnConnectorV2PropsMixin(props, *, strategy=None)
Bases:
MixinGrants permission to create a connectorV2 based on input parameters.
- See:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
AzureProviderConfigurationProperty
- class CfnConnectorV2PropsMixin.AzureProviderConfigurationProperty(*, aws_config_connector_arn=None, azure_regions=None, scope_configuration=None)
Bases:
objectThe 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:
- 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.
- azure_regions
The list of Azure regions to include in the connector scope.
- scope_configuration
The scope configuration for an Azure connector.
AzureScopeConfigurationProperty
- class CfnConnectorV2PropsMixin.AzureScopeConfigurationProperty(*, scope_type=None, scope_values=None)
Bases:
objectThe 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:
- 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.
- scope_values
The list of scope values for the Azure connector.
HealthIssueProperty
- class CfnConnectorV2PropsMixin.HealthIssueProperty(*, code=None, message=None)
Bases:
objectA 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:
- 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.
- message
The message describing the health issue.
JiraCloudProviderConfigurationProperty
- class CfnConnectorV2PropsMixin.JiraCloudProviderConfigurationProperty(*, project_key=None)
Bases:
objectThe 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:
- 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.
ProviderProperty
- class CfnConnectorV2PropsMixin.ProviderProperty(*, azure=None, jira_cloud=None, service_now=None)
Bases:
objectThe third-party provider detail for a service configuration.
- Parameters:
azure (
Union[IResolvable,AzureProviderConfigurationProperty,Dict[str,Any],None]) – The configuration settings required to establish an integration between AWS Security Hub and Azure.jira_cloud (
Union[IResolvable,JiraCloudProviderConfigurationProperty,Dict[str,Any],None]) – Details about a Jira Cloud integration.service_now (
Union[IResolvable,ServiceNowProviderConfigurationProperty,Dict[str,Any],None]) – Details about a ServiceNow ITSM integration.
- See:
- 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.
- jira_cloud
Details about a Jira Cloud integration.
- service_now
Details about a ServiceNow ITSM integration.
ServiceNowProviderConfigurationProperty
- class CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty(*, instance_name=None, secret_arn=None)
Bases:
objectThe 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:
- 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.
- secret_arn
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the ServiceNow credentials.