We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 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?: InvokeOutputOptions): 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: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = 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 Output<GetVpcEndpointServicePermissionsResult> Invoke(GetVpcEndpointServicePermissionsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVpcEndpointServicePermissionsResult> getVpcEndpointServicePermissions(GetVpcEndpointServicePermissionsArgs args, InvokeOptions options)
public static Output<GetVpcEndpointServicePermissionsResult> getVpcEndpointServicePermissions(GetVpcEndpointServicePermissionsArgs args, InvokeOptions options)
public static Output<GetVpcEndpointServicePermissionsResult> getVpcEndpointServicePermissions(GetVpcEndpointServicePermissionsArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:ec2:getVpcEndpointServicePermissions
arguments:
# arguments dictionarydata "aws-native_ec2_get_vpc_endpoint_service_permissions" "name" {
# arguments
}The following arguments are supported:
- Service
Id string - The ID of the service.
- Service
Id string - The ID of the service.
- service_
id string - The ID of the service.
- service
Id String - The ID of the service.
- service
Id string - The ID of the service.
- service_
id str - The ID of the service.
- service
Id String - The ID of the service.
getVpcEndpointServicePermissions Result
The following output properties are available:
- Allowed
Principals 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.
- Transit
Gateway List<string>Attachment Allowed Principals - The AWS account root ARNs (arn:aws:iam::account-id:root) allowed to create transit gateway attachments that connect to this Gateway Load Balancer endpoint service.
- Allowed
Principals []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.
- Transit
Gateway []stringAttachment Allowed Principals - The AWS account root ARNs (arn:aws:iam::account-id:root) allowed to create transit gateway attachments that connect to this Gateway Load Balancer endpoint service.
- allowed_
principals 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.
- transit_
gateway_ list(string)attachment_ allowed_ principals - The AWS account root ARNs (arn:aws:iam::account-id:root) allowed to create transit gateway attachments that connect to this Gateway Load Balancer endpoint service.
- allowed
Principals 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.
- transit
Gateway List<String>Attachment Allowed Principals - The AWS account root ARNs (arn:aws:iam::account-id:root) allowed to create transit gateway attachments that connect to this Gateway Load Balancer endpoint service.
- allowed
Principals 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.
- transit
Gateway string[]Attachment Allowed Principals - The AWS account root ARNs (arn:aws:iam::account-id:root) allowed to create transit gateway attachments that connect to this Gateway Load Balancer endpoint service.
- 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.
- transit_
gateway_ Sequence[str]attachment_ allowed_ principals - The AWS account root ARNs (arn:aws:iam::account-id:root) allowed to create transit gateway attachments that connect to this Gateway Load Balancer endpoint service.
- allowed
Principals 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.
- transit
Gateway List<String>Attachment Allowed Principals - The AWS account root ARNs (arn:aws:iam::account-id:root) allowed to create transit gateway attachments that connect to this Gateway Load Balancer endpoint service.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi