We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 by Pulumi
aws-native.ec2.getSnapshotBlockPublicAccess
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 by Pulumi
Resource Type definition for AWS::EC2::SnapshotBlockPublicAccess
Using getSnapshotBlockPublicAccess
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 getSnapshotBlockPublicAccess(args: GetSnapshotBlockPublicAccessArgs, opts?: InvokeOptions): Promise<GetSnapshotBlockPublicAccessResult>
function getSnapshotBlockPublicAccessOutput(args: GetSnapshotBlockPublicAccessOutputArgs, opts?: InvokeOptions): Output<GetSnapshotBlockPublicAccessResult>
def get_snapshot_block_public_access(account_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotBlockPublicAccessResult
def get_snapshot_block_public_access_output(account_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotBlockPublicAccessResult]
func LookupSnapshotBlockPublicAccess(ctx *Context, args *LookupSnapshotBlockPublicAccessArgs, opts ...InvokeOption) (*LookupSnapshotBlockPublicAccessResult, error)
func LookupSnapshotBlockPublicAccessOutput(ctx *Context, args *LookupSnapshotBlockPublicAccessOutputArgs, opts ...InvokeOption) LookupSnapshotBlockPublicAccessResultOutput
> Note: This function is named LookupSnapshotBlockPublicAccess
in the Go SDK.
public static class GetSnapshotBlockPublicAccess
{
public static Task<GetSnapshotBlockPublicAccessResult> InvokeAsync(GetSnapshotBlockPublicAccessArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotBlockPublicAccessResult> Invoke(GetSnapshotBlockPublicAccessInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSnapshotBlockPublicAccessResult> getSnapshotBlockPublicAccess(GetSnapshotBlockPublicAccessArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ec2:getSnapshotBlockPublicAccess
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - The identifier for the specified AWS account.
- Account
Id string - The identifier for the specified AWS account.
- account
Id String - The identifier for the specified AWS account.
- account
Id string - The identifier for the specified AWS account.
- account_
id str - The identifier for the specified AWS account.
- account
Id String - The identifier for the specified AWS account.
getSnapshotBlockPublicAccess Result
The following output properties are available:
- Account
Id string - The identifier for the specified AWS account.
- State
Pulumi.
Aws Native. Ec2. Snapshot Block Public Access State - The state of EBS Snapshot Block Public Access.
- Account
Id string - The identifier for the specified AWS account.
- State
Snapshot
Block Public Access State Enum - The state of EBS Snapshot Block Public Access.
- account
Id String - The identifier for the specified AWS account.
- state
Snapshot
Block Public Access State - The state of EBS Snapshot Block Public Access.
- account
Id string - The identifier for the specified AWS account.
- state
Snapshot
Block Public Access State - The state of EBS Snapshot Block Public Access.
- account_
id str - The identifier for the specified AWS account.
- state
Snapshot
Block Public Access State - The state of EBS Snapshot Block Public Access.
- account
Id String - The identifier for the specified AWS account.
- state "block-all-sharing" | "block-new-sharing"
- The state of EBS Snapshot Block Public Access.
Supporting Types
SnapshotBlockPublicAccessState
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.0.1 published on Tuesday, Oct 1, 2024 by Pulumi