AWS SDK for .NET Documentation
Permission Class
AmazonAmazon.OpsWorks.ModelPermission Did this page help you?   Yes   No    Tell us about it...
Describes stack or user permissions.
Declaration Syntax
C#
public class Permission
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Permission()()()()
Initializes a new instance of the Permission class

AllowSsh
Gets and sets the property AllowSsh.

Whether the user can use SSH.


AllowSudo
Gets and sets the property AllowSudo.

Whether the user can use sudo.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IamUserArn
Gets and sets the property IamUserArn.

The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.


Level
Gets and sets the property Level.

The user's permission level, which must be the following:

  • CopyC#
    deny
  • CopyC#
    show
  • CopyC#
    deploy
  • CopyC#
    manage
  • CopyC#
    iam_only

For more information on the permissions associated with these levels, see Managing User Permissions


StackId
Gets and sets the property StackId.

A stack ID.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAllowSsh(Boolean) Obsolete.
Sets the AllowSsh property

WithAllowSudo(Boolean) Obsolete.
Sets the AllowSudo property

WithIamUserArn(String) Obsolete.
Sets the IamUserArn property

WithLevel(String) Obsolete.
Sets the Level property

WithStackId(String) Obsolete.
Sets the StackId property

Inheritance Hierarchy
Object
Permission

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)