Skip to content
v2.277.0

HealthIssueProperty Struct ​

A health issue associated with the connector.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from 'aws-cdk-lib';
const healthIssueProperty: securityhub.CfnConnectorV2.HealthIssueProperty = {
  code: 'code',
  message: 'message',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityhub as securityhub

health_issue_property = securityhub.CfnConnectorV2.HealthIssueProperty(
    code="code",
    message="message"
)
java
// 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.*;

HealthIssueProperty healthIssueProperty = HealthIssueProperty.builder()
        .code("code")
        .message("message")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityHub;

var healthIssueProperty = new HealthIssueProperty {
    Code = "code",
    Message = "message"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

healthIssueProperty := &HealthIssueProperty{
	Code: jsii.String("code"),
	Message: jsii.String("message"),
}

Properties ​

codestringcodestrcodeStringCodestringCode*string required #
The code identifying the type of health issue.
messagestringmessagestrmessageStringMessagestringMessage*string required #
The message describing the health issue.