Interface CfnAccessGrant.IGranteeProperty
The user, group, or role to which you are granting access.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IGranteeProperty
Syntax (vb)
Public Interface IGranteeProperty
Remarks
You can grant access to an IAM user or role. If you have added your corporate directory to AWS IAM Identity Center and associated your Identity Center instance with your S3 Access Grants instance, the grantee can also be a corporate directory user or group.
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.S3;
var granteeProperty = new GranteeProperty {
GranteeIdentifier = "granteeIdentifier",
GranteeType = "granteeType"
};
Synopsis
Properties
GranteeIdentifier | The unique identifier of the |
GranteeType | The type of the grantee to which access has been granted. It can be one of the following values:. |
Properties
GranteeIdentifier
The unique identifier of the Grantee
.
string GranteeIdentifier { get; }
Property Value
System.String
Remarks
If the grantee type is IAM
, the identifier is the IAM Amazon Resource Name (ARN) of the user or role. If the grantee type is a directory user or group, the identifier is 128-bit universally unique identifier (UUID) in the format a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
. You can obtain this UUID from your AWS IAM Identity Center instance.
GranteeType
The type of the grantee to which access has been granted. It can be one of the following values:.
string GranteeType { get; }
Property Value
System.String