1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getVpcEndpointServicePermissions

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.ec2.getVpcEndpointServicePermissions

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource Type definition for AWS::EC2::VPCEndpointServicePermissions

    Using getVpcEndpointServicePermissions

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getVpcEndpointServicePermissions(args: GetVpcEndpointServicePermissionsArgs, opts?: InvokeOptions): Promise<GetVpcEndpointServicePermissionsResult>
    function getVpcEndpointServicePermissionsOutput(args: GetVpcEndpointServicePermissionsOutputArgs, opts?: InvokeOptions): Output<GetVpcEndpointServicePermissionsResult>
    def get_vpc_endpoint_service_permissions(service_id: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetVpcEndpointServicePermissionsResult
    def get_vpc_endpoint_service_permissions_output(service_id: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetVpcEndpointServicePermissionsResult]
    func LookupVpcEndpointServicePermissions(ctx *Context, args *LookupVpcEndpointServicePermissionsArgs, opts ...InvokeOption) (*LookupVpcEndpointServicePermissionsResult, error)
    func LookupVpcEndpointServicePermissionsOutput(ctx *Context, args *LookupVpcEndpointServicePermissionsOutputArgs, opts ...InvokeOption) LookupVpcEndpointServicePermissionsResultOutput

    > Note: This function is named LookupVpcEndpointServicePermissions in the Go SDK.

    public static class GetVpcEndpointServicePermissions 
    {
        public static Task<GetVpcEndpointServicePermissionsResult> InvokeAsync(GetVpcEndpointServicePermissionsArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcEndpointServicePermissionsResult> Invoke(GetVpcEndpointServicePermissionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVpcEndpointServicePermissionsResult> getVpcEndpointServicePermissions(GetVpcEndpointServicePermissionsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ec2:getVpcEndpointServicePermissions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServiceId string
    The ID of the service.
    ServiceId string
    The ID of the service.
    serviceId String
    The ID of the service.
    serviceId string
    The ID of the service.
    service_id str
    The ID of the service.
    serviceId String
    The ID of the service.

    getVpcEndpointServicePermissions Result

    The following output properties are available:

    AllowedPrincipals List<string>
    The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ). 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.
    AllowedPrincipals []string
    The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ). 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.
    allowedPrincipals List<String>
    The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ). 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.
    allowedPrincipals string[]
    The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ). 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.
    allowed_principals Sequence[str]
    The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ). 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.
    allowedPrincipals List<String>
    The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ). 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.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi