We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
aws-native.ec2.getVpcBlockPublicAccessExclusion
Start a Neo task
Explain and create an aws-native.ec2.getVpcBlockPublicAccessExclusion resource
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
Resource Type definition for AWS::EC2::VPCBlockPublicAccessExclusion.
Using getVpcBlockPublicAccessExclusion
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 getVpcBlockPublicAccessExclusion(args: GetVpcBlockPublicAccessExclusionArgs, opts?: InvokeOptions): Promise<GetVpcBlockPublicAccessExclusionResult>
function getVpcBlockPublicAccessExclusionOutput(args: GetVpcBlockPublicAccessExclusionOutputArgs, opts?: InvokeOptions): Output<GetVpcBlockPublicAccessExclusionResult>def get_vpc_block_public_access_exclusion(exclusion_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcBlockPublicAccessExclusionResult
def get_vpc_block_public_access_exclusion_output(exclusion_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcBlockPublicAccessExclusionResult]func LookupVpcBlockPublicAccessExclusion(ctx *Context, args *LookupVpcBlockPublicAccessExclusionArgs, opts ...InvokeOption) (*LookupVpcBlockPublicAccessExclusionResult, error)
func LookupVpcBlockPublicAccessExclusionOutput(ctx *Context, args *LookupVpcBlockPublicAccessExclusionOutputArgs, opts ...InvokeOption) LookupVpcBlockPublicAccessExclusionResultOutput> Note: This function is named LookupVpcBlockPublicAccessExclusion in the Go SDK.
public static class GetVpcBlockPublicAccessExclusion
{
public static Task<GetVpcBlockPublicAccessExclusionResult> InvokeAsync(GetVpcBlockPublicAccessExclusionArgs args, InvokeOptions? opts = null)
public static Output<GetVpcBlockPublicAccessExclusionResult> Invoke(GetVpcBlockPublicAccessExclusionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcBlockPublicAccessExclusionResult> getVpcBlockPublicAccessExclusion(GetVpcBlockPublicAccessExclusionArgs args, InvokeOptions options)
public static Output<GetVpcBlockPublicAccessExclusionResult> getVpcBlockPublicAccessExclusion(GetVpcBlockPublicAccessExclusionArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:ec2:getVpcBlockPublicAccessExclusion
arguments:
# arguments dictionaryThe following arguments are supported:
- Exclusion
Id string - The ID of the exclusion
- Exclusion
Id string - The ID of the exclusion
- exclusion
Id String - The ID of the exclusion
- exclusion
Id string - The ID of the exclusion
- exclusion_
id str - The ID of the exclusion
- exclusion
Id String - The ID of the exclusion
getVpcBlockPublicAccessExclusion Result
The following output properties are available:
- Exclusion
Id string - The ID of the exclusion
- Internet
Gateway Pulumi.Exclusion Mode Aws Native. Ec2. Vpc Block Public Access Exclusion Internet Gateway Exclusion Mode - The desired Block Public Access Exclusion Mode for a specific VPC/Subnet.
-
List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Exclusion
Id string - The ID of the exclusion
- Internet
Gateway VpcExclusion Mode Block Public Access Exclusion Internet Gateway Exclusion Mode - The desired Block Public Access Exclusion Mode for a specific VPC/Subnet.
- Tag
- An array of key-value pairs to apply to this resource.
- exclusion
Id String - The ID of the exclusion
- internet
Gateway VpcExclusion Mode Block Public Access Exclusion Internet Gateway Exclusion Mode - The desired Block Public Access Exclusion Mode for a specific VPC/Subnet.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- exclusion
Id string - The ID of the exclusion
- internet
Gateway VpcExclusion Mode Block Public Access Exclusion Internet Gateway Exclusion Mode - The desired Block Public Access Exclusion Mode for a specific VPC/Subnet.
- Tag[]
- An array of key-value pairs to apply to this resource.
- exclusion_
id str - The ID of the exclusion
- internet_
gateway_ Vpcexclusion_ mode Block Public Access Exclusion Internet Gateway Exclusion Mode - The desired Block Public Access Exclusion Mode for a specific VPC/Subnet.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- exclusion
Id String - The ID of the exclusion
- internet
Gateway "allow-bidirectional" | "allow-egress"Exclusion Mode - The desired Block Public Access Exclusion Mode for a specific VPC/Subnet.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
Tag
VpcBlockPublicAccessExclusionInternetGatewayExclusionMode
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.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
