ProviderProperty Struct
The third-party provider detail for a service configuration.
| Source | |
|---|---|
| Type last changed |
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 providerProperty: securityhub.CfnConnectorV2.ProviderProperty = {
azure: {
awsConfigConnectorArn: 'awsConfigConnectorArn',
azureRegions: ['azureRegions'],
scopeConfiguration: {
scopeType: 'scopeType',
// the properties below are optional
scopeValues: ['scopeValues'],
},
},
jiraCloud: {
projectKey: 'projectKey',
},
serviceNow: {
instanceName: 'instanceName',
secretArn: 'secretArn',
},
};
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
provider_property = securityhub.CfnConnectorV2.ProviderProperty(
azure=securityhub.CfnConnectorV2.AzureProviderConfigurationProperty(
aws_config_connector_arn="awsConfigConnectorArn",
azure_regions=["azureRegions"],
scope_configuration=securityhub.CfnConnectorV2.AzureScopeConfigurationProperty(
scope_type="scopeType",
# the properties below are optional
scope_values=["scopeValues"]
)
),
jira_cloud=securityhub.CfnConnectorV2.JiraCloudProviderConfigurationProperty(
project_key="projectKey"
),
service_now=securityhub.CfnConnectorV2.ServiceNowProviderConfigurationProperty(
instance_name="instanceName",
secret_arn="secretArn"
)
)
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.*;
ProviderProperty providerProperty = ProviderProperty.builder()
.azure(AzureProviderConfigurationProperty.builder()
.awsConfigConnectorArn("awsConfigConnectorArn")
.azureRegions(List.of("azureRegions"))
.scopeConfiguration(AzureScopeConfigurationProperty.builder()
.scopeType("scopeType")
// the properties below are optional
.scopeValues(List.of("scopeValues"))
.build())
.build())
.jiraCloud(JiraCloudProviderConfigurationProperty.builder()
.projectKey("projectKey")
.build())
.serviceNow(ServiceNowProviderConfigurationProperty.builder()
.instanceName("instanceName")
.secretArn("secretArn")
.build())
.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 providerProperty = new ProviderProperty {
Azure = new AzureProviderConfigurationProperty {
AwsConfigConnectorArn = "awsConfigConnectorArn",
AzureRegions = new [] { "azureRegions" },
ScopeConfiguration = new AzureScopeConfigurationProperty {
ScopeType = "scopeType",
// the properties below are optional
ScopeValues = new [] { "scopeValues" }
}
},
JiraCloud = new JiraCloudProviderConfigurationProperty {
ProjectKey = "projectKey"
},
ServiceNow = new ServiceNowProviderConfigurationProperty {
InstanceName = "instanceName",
SecretArn = "secretArn"
}
};
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"
providerProperty := &ProviderProperty{
Azure: &AzureProviderConfigurationProperty{
AwsConfigConnectorArn: jsii.String("awsConfigConnectorArn"),
AzureRegions: []*string{
jsii.String("azureRegions"),
},
ScopeConfiguration: &AzureScopeConfigurationProperty{
ScopeType: jsii.String("scopeType"),
// the properties below are optional
ScopeValues: []*string{
jsii.String("scopeValues"),
},
},
},
JiraCloud: &JiraCloudProviderConfigurationProperty{
ProjectKey: jsii.String("projectKey"),
},
ServiceNow: &ServiceNowProviderConfigurationProperty{
InstanceName: jsii.String("instanceName"),
SecretArn: jsii.String("secretArn"),
},
}
Properties
azureoptionalIResolvable | CfnConnectorV2.azureoptionaltyping.Union[IResolvable, AzureProviderConfigurationProperty]azureoptionalIResolvableAzureoptionalIResolvableAzureoptionalinterface{} #The configuration settings required to establish an integration between AWS Security Hub and Azure.
jiraCloudoptionalIResolvable | CfnConnectorV2.jira_cloudoptionaltyping.Union[IResolvable, JiraCloudProviderConfigurationProperty]jiraCloudoptionalIResolvableJiraCloudoptionalIResolvableJiraCloudoptionalinterface{} #Details about a Jira Cloud integration.
serviceNowoptionalIResolvable | CfnConnectorV2.service_nowoptionaltyping.Union[IResolvable, ServiceNowProviderConfigurationProperty]serviceNowoptionalIResolvableServiceNowoptionalIResolvableServiceNowoptionalinterface{} #Details about a ServiceNow ITSM integration.