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
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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
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