Interface ICfnVPCEndpointServicePermissionsProps
Properties for defining a CfnVPCEndpointServicePermissions
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ICfnVPCEndpointServicePermissionsProps
Syntax (vb)
Public Interface ICfnVPCEndpointServicePermissionsProps
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.EC2;
var cfnVPCEndpointServicePermissionsProps = new CfnVPCEndpointServicePermissionsProps {
ServiceId = "serviceId",
// the properties below are optional
AllowedPrincipals = new [] { "allowedPrincipals" }
};
Synopsis
Properties
AllowedPrincipals | The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ). |
ServiceId | The ID of the service. |
Properties
AllowedPrincipals
The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ).
virtual string[] AllowedPrincipals { get; }
Property Value
System.String[]
Remarks
Permissions are granted to the principals in this list. To grant permissions to all principals, specify an asterisk (*). Permissions are revoked for principals not in this list. If the list is empty, then all permissions are revoked.
ServiceId
The ID of the service.
string ServiceId { get; }
Property Value
System.String