# InternalAccessConfigurationProperty

Specifies the configuration of an internal access analyzer for an AWS organization or account.

This configuration determines how the analyzer evaluates internal access within your AWS environment.

- Source: Generated at build time
- Type last changed: v2.203.0 · 1 Jul 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_accessanalyzer as accessanalyzer } from 'aws-cdk-lib';
const internalAccessConfigurationProperty: accessanalyzer.CfnAnalyzer.InternalAccessConfigurationProperty = {
  internalAccessAnalysisRule: {
    inclusions: [{
      accountIds: ['accountIds'],
      resourceArns: ['resourceArns'],
      resourceTypes: ['resourceTypes'],
    }],
  },
};
```

Python:

```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_accessanalyzer as accessanalyzer

internal_access_configuration_property = accessanalyzer.CfnAnalyzer.InternalAccessConfigurationProperty(
    internal_access_analysis_rule=accessanalyzer.CfnAnalyzer.InternalAccessAnalysisRuleProperty(
        inclusions=[accessanalyzer.CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty(
            account_ids=["accountIds"],
            resource_arns=["resourceArns"],
            resource_types=["resourceTypes"]
        )]
    )
)
```

Java:

```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.accessanalyzer.*;

InternalAccessConfigurationProperty internalAccessConfigurationProperty = InternalAccessConfigurationProperty.builder()
        .internalAccessAnalysisRule(InternalAccessAnalysisRuleProperty.builder()
                .inclusions(List.of(InternalAccessAnalysisRuleCriteriaProperty.builder()
                        .accountIds(List.of("accountIds"))
                        .resourceArns(List.of("resourceArns"))
                        .resourceTypes(List.of("resourceTypes"))
                        .build()))
                .build())
        .build();
```

C# / .NET:

```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.AccessAnalyzer;

var internalAccessConfigurationProperty = new InternalAccessConfigurationProperty {
    InternalAccessAnalysisRule = new InternalAccessAnalysisRuleProperty {
        Inclusions = new [] { new InternalAccessAnalysisRuleCriteriaProperty {
            AccountIds = new [] { "accountIds" },
            ResourceArns = new [] { "resourceArns" },
            ResourceTypes = new [] { "resourceTypes" }
        } }
    }
};
```

Golang:

```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"

internalAccessConfigurationProperty := &InternalAccessConfigurationProperty{
	InternalAccessAnalysisRule: &InternalAccessAnalysisRuleProperty{
		Inclusions: []interface{}{
			&InternalAccessAnalysisRuleCriteriaProperty{
				AccountIds: []*string{
					jsii.String("accountIds"),
				},
				ResourceArns: []*string{
					jsii.String("resourceArns"),
				},
				ResourceTypes: []*string{
					jsii.String("resourceTypes"),
				},
			},
		},
	},
}
```

## Properties

- `internalAccessAnalysisRule`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalyzer.InternalAccessAnalysisRuleProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_accessanalyzer.CfnAnalyzer.InternalAccessAnalysisRuleProperty.html) — Contains information about analysis rules for the internal access analyzer.

  These rules determine which resources and access patterns will be analyzed.
