interface AccessScopeProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EKS.CfnAccessEntry.AccessScopeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseks#CfnAccessEntry_AccessScopeProperty |
Java | software.amazon.awscdk.services.eks.CfnAccessEntry.AccessScopeProperty |
Python | aws_cdk.aws_eks.CfnAccessEntry.AccessScopeProperty |
TypeScript | aws-cdk-lib » aws_eks » CfnAccessEntry » AccessScopeProperty |
The scope of an AccessPolicy
that's associated to an AccessEntry
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const accessScopeProperty: eks.CfnAccessEntry.AccessScopeProperty = {
type: 'type',
// the properties below are optional
namespaces: ['namespaces'],
};
Properties
Name | Type | Description |
---|---|---|
type | string | The scope type of an access policy. |
namespaces? | string[] | A Kubernetes namespace that an access policy is scoped to. |
type
Type:
string
The scope type of an access policy.
namespaces?
Type:
string[]
(optional)
A Kubernetes namespace
that an access policy is scoped to.
A value is required if you specified namespace
for Type
.