Class CfnAccessEntry.AccessScopeProperty
The scope of an AccessPolicy
that's associated to an AccessEntry
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAccessEntry.AccessScopeProperty : CfnAccessEntry.IAccessScopeProperty
Syntax (vb)
Public Class CfnAccessEntry.AccessScopeProperty 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() | The scope of an |
Properties
Namespaces | A Kubernetes |
Type | The scope type of an access policy. |
Constructors
AccessScopeProperty()
The scope of an AccessPolicy
that's associated to an AccessEntry
.
public AccessScopeProperty()
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" }
};
Properties
Namespaces
A Kubernetes namespace
that an access policy is scoped to.
public string[]? Namespaces { get; set; }
Property Value
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; }