Skip to content
v2.278.0

CrossAccountConfigurationProperty Struct ​

This structure contains information about the cross-account configuration in the account.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aiops as aiops } from 'aws-cdk-lib';
const crossAccountConfigurationProperty: aiops.CfnInvestigationGroup.CrossAccountConfigurationProperty = {
  sourceRoleArn: 'sourceRoleArn',
};
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_aiops as aiops

cross_account_configuration_property = aiops.CfnInvestigationGroup.CrossAccountConfigurationProperty(
    source_role_arn="sourceRoleArn"
)
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.aiops.*;

CrossAccountConfigurationProperty crossAccountConfigurationProperty = CrossAccountConfigurationProperty.builder()
        .sourceRoleArn("sourceRoleArn")
        .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.AIOps;

var crossAccountConfigurationProperty = new CrossAccountConfigurationProperty {
    SourceRoleArn = "sourceRoleArn"
};
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"

crossAccountConfigurationProperty := &CrossAccountConfigurationProperty{
	SourceRoleArn: jsii.String("sourceRoleArn"),
}

Properties ​

sourceRoleArnoptionalstringsource_role_arnoptionalstrsourceRoleArnoptionalStringSourceRoleArnoptionalstringSourceRoleArnoptional*string #
The ARN of an existing role which will be used to do investigations on your behalf.