Skip to content
v2.275.0

AccessScopeProperty Struct ​

The scope of an AccessPolicy that's associated to an AccessEntry .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks_v2 as eks_v2 } from 'aws-cdk-lib';
const accessScopeProperty: eks_v2.CfnAccessEntry.AccessScopeProperty = {
  type: 'type',

  // the properties below are optional
  namespaces: ['namespaces'],
};

Properties ​

namespacesoptionalstring[]namespacesoptionaltyping.List[str]namespacesoptionalList<String>Namespacesoptionalstring[]Namespacesoptional*[]*string#
A Kubernetes `namespace` that an access policy is scoped to.

A value is required if you specified namespace for Type .

typestringtypestrtypeStringTypestringType*stringrequired#
The scope type of an access policy.