Skip to content
v2.277.0

AzureScopeConfigurationProperty Struct ​

The scope configuration for an Azure connector, defining the tenant or subscription scope.

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 azureScopeConfigurationProperty: securityhub.CfnConnector.AzureScopeConfigurationProperty = {
  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

azure_scope_configuration_property = 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.*;

AzureScopeConfigurationProperty azureScopeConfigurationProperty = AzureScopeConfigurationProperty.builder()
        .scopeType("scopeType")

        // the properties below are optional
        .scopeValues(List.of("scopeValues"))
        .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 azureScopeConfigurationProperty = 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"

azureScopeConfigurationProperty := &AzureScopeConfigurationProperty{
	ScopeType: jsii.String("scopeType"),

	// the properties below are optional
	ScopeValues: []*string{
		jsii.String("scopeValues"),
	},
}

Properties ​

scopeTypestringscope_typestrscopeTypeStringScopeTypestringScopeType*string required #
The type of scope.

Valid values are tenant and subscription.

scopeValuesoptionalstring[]scope_valuesoptionaltyping.List[str]scopeValuesoptionalList<String>ScopeValuesoptionalstring[]ScopeValuesoptional*[]*string #
The list of scope values, such as subscription IDs, when the scope type is ``subscription``.