CfnConnectorV2PropsMixin
- class aws_cdk.mixins_preview.aws_securityhub.mixins.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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins cfn_connector_v2_props_mixin = securityhub_mixins.CfnConnectorV2PropsMixin(securityhub_mixins.CfnConnectorV2MixinProps( description="description", kms_key_arn="kmsKeyArn", name="name", provider=securityhub_mixins.CfnConnectorV2PropsMixin.ProviderProperty( jira_cloud=securityhub_mixins.CfnConnectorV2PropsMixin.JiraCloudProperty( auth_status="authStatus", auth_url="authUrl", cloud_id="cloudId", domain="domain", project_key="projectKey" ), service_now=securityhub_mixins.CfnConnectorV2PropsMixin.ServiceNowProperty( auth_status="authStatus", instance_name="instanceName", secret_arn="secretArn" ) ), tags={ "tags_key": "tags" } ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::SecurityHub::ConnectorV2.- Parameters:
props (
Union[CfnConnectorV2MixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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)
(experimental) 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.- Stability:
experimental
JiraCloudProperty
- class CfnConnectorV2PropsMixin.JiraCloudProperty(*, auth_status=None, auth_url=None, cloud_id=None, domain=None, project_key=None)
Bases:
objectInformation about the configuration and status of a Jira Cloud integration.
- Parameters:
auth_status (
Optional[str]) – The status of the authorization between Jira Cloud and the service.auth_url (
Optional[str]) – The URL to provide to customers for OAuth auth code flow.cloud_id (
Optional[str]) – The cloud id of the Jira Cloud.domain (
Optional[str]) – The URL domain of your Jira Cloud instance.project_key (
Optional[str]) – The projectKey of Jira Cloud.
- 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.mixins_preview.aws_securityhub import mixins as securityhub_mixins jira_cloud_property = securityhub_mixins.CfnConnectorV2PropsMixin.JiraCloudProperty( auth_status="authStatus", auth_url="authUrl", cloud_id="cloudId", domain="domain", project_key="projectKey" )
Attributes
- auth_status
The status of the authorization between Jira Cloud and the service.
- auth_url
The URL to provide to customers for OAuth auth code flow.
- cloud_id
The cloud id of the Jira Cloud.
- domain
The URL domain of your Jira Cloud instance.
- project_key
The projectKey of Jira Cloud.
ProviderProperty
- class CfnConnectorV2PropsMixin.ProviderProperty(*, jira_cloud=None, service_now=None)
Bases:
objectThe third-party provider detail for a service configuration.
- Parameters:
jira_cloud (
Union[IResolvable,JiraCloudProperty,Dict[str,Any],None]) – Details about a Jira Cloud integration.service_now (
Union[IResolvable,ServiceNowProperty,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.mixins_preview.aws_securityhub import mixins as securityhub_mixins provider_property = securityhub_mixins.CfnConnectorV2PropsMixin.ProviderProperty( jira_cloud=securityhub_mixins.CfnConnectorV2PropsMixin.JiraCloudProperty( auth_status="authStatus", auth_url="authUrl", cloud_id="cloudId", domain="domain", project_key="projectKey" ), service_now=securityhub_mixins.CfnConnectorV2PropsMixin.ServiceNowProperty( auth_status="authStatus", instance_name="instanceName", secret_arn="secretArn" ) )
Attributes
- jira_cloud
Details about a Jira Cloud integration.
- service_now
Details about a ServiceNow ITSM integration.
ServiceNowProperty
- class CfnConnectorV2PropsMixin.ServiceNowProperty(*, auth_status=None, instance_name=None, secret_arn=None)
Bases:
objectInformation about a ServiceNow ITSM integration.
- Parameters:
auth_status (
Optional[str]) – The status of the authorization between ServiceNow and the service.instance_name (
Optional[str]) – The instanceName 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.mixins_preview.aws_securityhub import mixins as securityhub_mixins service_now_property = securityhub_mixins.CfnConnectorV2PropsMixin.ServiceNowProperty( auth_status="authStatus", instance_name="instanceName", secret_arn="secretArn" )
Attributes
- auth_status
The status of the authorization between ServiceNow and the service.
- instance_name
The instanceName of ServiceNow ITSM.
- secret_arn
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the ServiceNow credentials.