ProviderProperty Struct
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.CfnConnector.ProviderProperty = {
azure: {
awsConfigConnectorArn: 'awsConfigConnectorArn',
azureRegions: ['azureRegions'],
scopeConfiguration: {
scopeType: 'scopeType',
// the properties below are optional
scopeValues: ['scopeValues'],
},
},
};
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.CfnConnector.ProviderProperty(
azure=securityhub.CfnConnector.AzureProviderConfigurationProperty(
aws_config_connector_arn="awsConfigConnectorArn",
azure_regions=["azureRegions"],
scope_configuration=securityhub.CfnConnector.AzureScopeConfigurationProperty(
scope_type="scopeType",
# the properties below are optional
scope_values=["scopeValues"]
)
)
)
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())
.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" }
}
}
};
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"),
},
},
},
}
Properties
azureIResolvable | CfnConnector.AzureProviderConfigurationPropertyazuretyping.Union[IResolvable, AzureProviderConfigurationProperty]azureIResolvableAzureIResolvableAzureinterface{}required#The configuration for connecting to an Azure environment.