Show / Hide Table of Contents

Class CfnVPCEndpointServicePermissionsProps

Properties for defining a CfnVPCEndpointServicePermissions.

Inheritance
object
CfnVPCEndpointServicePermissionsProps
Implements
ICfnVPCEndpointServicePermissionsProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVPCEndpointServicePermissionsProps : ICfnVPCEndpointServicePermissionsProps
Syntax (vb)
Public Class CfnVPCEndpointServicePermissionsProps Implements ICfnVPCEndpointServicePermissionsProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservicepermissions.html

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 for defining a CfnVPCEndpointServicePermissions.

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()

Properties for defining a CfnVPCEndpointServicePermissions.

public CfnVPCEndpointServicePermissionsProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservicepermissions.html

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" }
             };

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

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservicepermissions.html#cfn-ec2-vpcendpointservicepermissions-allowedprincipals

ServiceId

The ID of the service.

public string ServiceId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservicepermissions.html#cfn-ec2-vpcendpointservicepermissions-serviceid

Implements

ICfnVPCEndpointServicePermissionsProps
Back to top Generated by DocFX