AWS Native

v0.43.0 published on Thursday, Dec 1, 2022 by Pulumi

getDHCPOptions

Resource Type definition for AWS::EC2::DHCPOptions

Using getDHCPOptions

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 getDHCPOptions(args: GetDHCPOptionsArgs, opts?: InvokeOptions): Promise<GetDHCPOptionsResult>
function getDHCPOptionsOutput(args: GetDHCPOptionsOutputArgs, opts?: InvokeOptions): Output<GetDHCPOptionsResult>
def get_dhcp_options(dhcp_options_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetDHCPOptionsResult
def get_dhcp_options_output(dhcp_options_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetDHCPOptionsResult]
func LookupDHCPOptions(ctx *Context, args *LookupDHCPOptionsArgs, opts ...InvokeOption) (*LookupDHCPOptionsResult, error)
func LookupDHCPOptionsOutput(ctx *Context, args *LookupDHCPOptionsOutputArgs, opts ...InvokeOption) LookupDHCPOptionsResultOutput

> Note: This function is named LookupDHCPOptions in the Go SDK.

public static class GetDHCPOptions 
{
    public static Task<GetDHCPOptionsResult> InvokeAsync(GetDHCPOptionsArgs args, InvokeOptions? opts = null)
    public static Output<GetDHCPOptionsResult> Invoke(GetDHCPOptionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDHCPOptionsResult> getDHCPOptions(GetDHCPOptionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:ec2:getDHCPOptions
  arguments:
    # arguments dictionary

The following arguments are supported:

getDHCPOptions Result

The following output properties are available:

DhcpOptionsId string
Tags List<Pulumi.AwsNative.EC2.Outputs.DHCPOptionsTag>

Any tags assigned to the DHCP options set.

DhcpOptionsId string
Tags []DHCPOptionsTag

Any tags assigned to the DHCP options set.

dhcpOptionsId String
tags List<DHCPOptionsTag>

Any tags assigned to the DHCP options set.

dhcpOptionsId string
tags DHCPOptionsTag[]

Any tags assigned to the DHCP options set.

dhcp_options_id str
tags Sequence[DHCPOptionsTag]

Any tags assigned to the DHCP options set.

dhcpOptionsId String
tags List<Property Map>

Any tags assigned to the DHCP options set.

Supporting Types

DHCPOptionsTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0