AccessPolicyProps
- class aws_cdk.aws_eks.AccessPolicyProps(*, access_scope, policy)
Bases:
objectProperties for configuring an Amazon EKS Access Policy.
- Parameters:
access_scope (
Union[AccessScope,Dict[str,Any]]) – The scope of the access policy, which determines the level of access granted.policy (
AccessPolicyArn) – The access policy itself, which defines the specific permissions.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_eks as eks # access_policy_arn: eks.AccessPolicyArn access_policy_props = eks.AccessPolicyProps( access_scope=eks.AccessScope( type=eks.AccessScopeType.NAMESPACE, # the properties below are optional namespaces=["namespaces"] ), policy=access_policy_arn )
Attributes
- access_scope
The scope of the access policy, which determines the level of access granted.
- policy
The access policy itself, which defines the specific permissions.