CfnConnectorPropsMixin
- class aws_cdk.cfn_property_mixins.aws_securityhub.CfnConnectorPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a connector to a third-party cloud provider in Security Hub CSPM.
A connector establishes a connection between Security Hub CSPM and a third-party cloud provider, enabling Security Hub CSPM to ingest security findings and resource data from the connected environment.
- See:
- CloudformationResource:
AWS::SecurityHub::Connector
- 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_props_mixin = securityhub.CfnConnectorPropsMixin(securityhub.CfnConnectorMixinProps( description="description", name="name", provider=securityhub.CfnConnectorPropsMixin.ProviderProperty( azure=securityhub.CfnConnectorPropsMixin.AzureProviderConfigurationProperty( aws_config_connector_arn="awsConfigConnectorArn", azure_regions=["azureRegions"], scope_configuration=securityhub.CfnConnectorPropsMixin.AzureScopeConfigurationProperty( scope_type="scopeType", scope_values=["scopeValues"] ) ) ), tags={ "tags_key": "tags" } ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::SecurityHub::Connector.- Parameters:
props (
Union[CfnConnectorMixinProps,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', '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 CfnConnectorPropsMixin.AzureProviderConfigurationProperty(*, aws_config_connector_arn=None, azure_regions=None, scope_configuration=None)
Bases:
objectThe configuration for connecting to an Azure environment.
- Parameters:
aws_config_connector_arn (
Optional[str]) – The ARN of the multi-cloud configuration connector used to establish the connection to Azure.azure_regions (
Optional[Sequence[str]]) – The list of Azure regions to monitor.scope_configuration (
Union[IResolvable,AzureScopeConfigurationProperty,Dict[str,Any],None]) – The scope configuration for an Azure connector, defining the tenant or subscription scope.
- 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.CfnConnectorPropsMixin.AzureProviderConfigurationProperty( aws_config_connector_arn="awsConfigConnectorArn", azure_regions=["azureRegions"], scope_configuration=securityhub.CfnConnectorPropsMixin.AzureScopeConfigurationProperty( scope_type="scopeType", scope_values=["scopeValues"] ) )
Attributes
- aws_config_connector_arn
The ARN of the multi-cloud configuration connector used to establish the connection to Azure.
- azure_regions
The list of Azure regions to monitor.
- scope_configuration
The scope configuration for an Azure connector, defining the tenant or subscription scope.
AzureScopeConfigurationProperty
- class CfnConnectorPropsMixin.AzureScopeConfigurationProperty(*, scope_type=None, scope_values=None)
Bases:
objectThe scope configuration for an Azure connector, defining the tenant or subscription scope.
- Parameters:
scope_type (
Optional[str]) – The type of scope. Valid values aretenantandsubscription.scope_values (
Optional[Sequence[str]]) – The list of scope values, such as subscription IDs, when the scope type issubscription.
- 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.CfnConnectorPropsMixin.AzureScopeConfigurationProperty( scope_type="scopeType", scope_values=["scopeValues"] )
Attributes
- scope_type
The type of scope.
Valid values are
tenantandsubscription.
- scope_values
The list of scope values, such as subscription IDs, when the scope type is
subscription.
HealthIssueProperty
- class CfnConnectorPropsMixin.HealthIssueProperty(*, code=None, message=None)
Bases:
objectRepresents a specific health issue detected for a connector.
- Parameters:
code (
Optional[str]) – The code identifying the type of health issue.message (
Optional[str]) – A human-readable message that describes 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.CfnConnectorPropsMixin.HealthIssueProperty( code="code", message="message" )
Attributes
- code
The code identifying the type of health issue.
- message
A human-readable message that describes the health issue.
ProviderProperty
- class CfnConnectorPropsMixin.ProviderProperty(*, azure=None)
Bases:
objectThe CSPM provider configuration for the connector.
- Parameters:
azure (
Union[IResolvable,AzureProviderConfigurationProperty,Dict[str,Any],None]) – The configuration for connecting to an Azure environment.- 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.CfnConnectorPropsMixin.ProviderProperty( azure=securityhub.CfnConnectorPropsMixin.AzureProviderConfigurationProperty( aws_config_connector_arn="awsConfigConnectorArn", azure_regions=["azureRegions"], scope_configuration=securityhub.CfnConnectorPropsMixin.AzureScopeConfigurationProperty( scope_type="scopeType", scope_values=["scopeValues"] ) ) )
Attributes
- azure
The configuration for connecting to an Azure environment.