Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws.outposts.getOutpostInstanceTypes
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
Information about Outposts Instance Types.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.outposts.getOutpostInstanceTypes({
arn: exampleAwsOutpostsOutpost.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.outposts.get_outpost_instance_types(arn=example_aws_outposts_outpost["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/outposts"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outposts.GetOutpostInstanceTypes(ctx, &outposts.GetOutpostInstanceTypesArgs{
Arn: exampleAwsOutpostsOutpost.Arn,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Outposts.GetOutpostInstanceTypes.Invoke(new()
{
Arn = exampleAwsOutpostsOutpost.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.outposts.OutpostsFunctions;
import com.pulumi.aws.outposts.inputs.GetOutpostInstanceTypesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = OutpostsFunctions.getOutpostInstanceTypes(GetOutpostInstanceTypesArgs.builder()
.arn(exampleAwsOutpostsOutpost.arn())
.build());
}
}
variables:
example:
fn::invoke:
Function: aws:outposts:getOutpostInstanceTypes
Arguments:
arn: ${exampleAwsOutpostsOutpost.arn}
Using getOutpostInstanceTypes
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 getOutpostInstanceTypes(args: GetOutpostInstanceTypesArgs, opts?: InvokeOptions): Promise<GetOutpostInstanceTypesResult>
function getOutpostInstanceTypesOutput(args: GetOutpostInstanceTypesOutputArgs, opts?: InvokeOptions): Output<GetOutpostInstanceTypesResult>
def get_outpost_instance_types(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOutpostInstanceTypesResult
def get_outpost_instance_types_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOutpostInstanceTypesResult]
func GetOutpostInstanceTypes(ctx *Context, args *GetOutpostInstanceTypesArgs, opts ...InvokeOption) (*GetOutpostInstanceTypesResult, error)
func GetOutpostInstanceTypesOutput(ctx *Context, args *GetOutpostInstanceTypesOutputArgs, opts ...InvokeOption) GetOutpostInstanceTypesResultOutput
> Note: This function is named GetOutpostInstanceTypes
in the Go SDK.
public static class GetOutpostInstanceTypes
{
public static Task<GetOutpostInstanceTypesResult> InvokeAsync(GetOutpostInstanceTypesArgs args, InvokeOptions? opts = null)
public static Output<GetOutpostInstanceTypesResult> Invoke(GetOutpostInstanceTypesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOutpostInstanceTypesResult> getOutpostInstanceTypes(GetOutpostInstanceTypesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:outposts/getOutpostInstanceTypes:getOutpostInstanceTypes
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- Outpost ARN.
- Arn string
- Outpost ARN.
- arn String
- Outpost ARN.
- arn string
- Outpost ARN.
- arn str
- Outpost ARN.
- arn String
- Outpost ARN.
getOutpostInstanceTypes Result
The following output properties are available:
- Arn string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Types List<string> - Set of instance types.
- Arn string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Types []string - Set of instance types.
- arn String
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Types List<String> - Set of instance types.
- arn string
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Types string[] - Set of instance types.
- arn str
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
types Sequence[str] - Set of instance types.
- arn String
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Types List<String> - Set of instance types.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi