InternalAccessConfigurationProperty Struct
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 | |
|---|---|
| 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_accessanalyzer as accessanalyzer } from 'aws-cdk-lib';
const internalAccessConfigurationProperty: accessanalyzer.CfnAnalyzer.InternalAccessConfigurationProperty = {
internalAccessAnalysisRule: {
inclusions: [{
accountIds: ['accountIds'],
resourceArns: ['resourceArns'],
resourceTypes: ['resourceTypes'],
}],
},
};
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
// 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();
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" }
} }
}
};
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
internalAccessAnalysisRuleoptionalIResolvable | CfnAnalyzer.internal_access_analysis_ruleoptionaltyping.Union[IResolvable, InternalAccessAnalysisRuleProperty]internalAccessAnalysisRuleoptionalIResolvableInternalAccessAnalysisRuleoptionalIResolvableInternalAccessAnalysisRuleoptionalinterface{} #Contains information about analysis rules for the internal access analyzer.
These rules determine which resources and access patterns will be analyzed.