Class CfnAccessEntry.AccessScopeProperty
The scope of an AccessPolicy
that's associated to an AccessEntry
.
Inheritance
System.Object
CfnAccessEntry.AccessScopeProperty
Implements
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AccessScopeProperty : Object, CfnAccessEntry.IAccessScopeProperty
Syntax (vb)
Public Class AccessScopeProperty
Inherits Object
Implements CfnAccessEntry.IAccessScopeProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS;
var accessScopeProperty = new AccessScopeProperty {
Type = "type",
// the properties below are optional
Namespaces = new [] { "namespaces" }
};
Synopsis
Constructors
AccessScopeProperty() |
Properties
Namespaces | A Kubernetes |
Type | The scope type of an access policy. |
Constructors
AccessScopeProperty()
public AccessScopeProperty()
Properties
Namespaces
A Kubernetes namespace
that an access policy is scoped to.
public string[] Namespaces { get; set; }
Property Value
System.String[]
Remarks
A value is required if you specified namespace
for Type
.
Type
The scope type of an access policy.
public string Type { get; set; }
Property Value
System.String