Class CfnVPCEndpointServicePermissionsProps
Properties for defining a CfnVPCEndpointServicePermissions
.
Inheritance
System.Object
CfnVPCEndpointServicePermissionsProps
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVPCEndpointServicePermissionsProps : Object, ICfnVPCEndpointServicePermissionsProps
Syntax (vb)
Public Class CfnVPCEndpointServicePermissionsProps
Inherits Object
Implements 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
Constructors
CfnVPCEndpointServicePermissionsProps() |
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. |
Constructors
CfnVPCEndpointServicePermissionsProps()
public CfnVPCEndpointServicePermissionsProps()
Properties
AllowedPrincipals
The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ).
public string[] AllowedPrincipals { get; set; }
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.
public string ServiceId { get; set; }
Property Value
System.String