1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getDhcpOptions

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.0.2 published on Friday, Oct 4, 2024 by Pulumi

aws-native.ec2.getDhcpOptions

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.0.2 published on Friday, Oct 4, 2024 by Pulumi

    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:

    DhcpOptionsId string
    The ID of the DHCP options set.
    DhcpOptionsId string
    The ID of the DHCP options set.
    dhcpOptionsId String
    The ID of the DHCP options set.
    dhcpOptionsId string
    The ID of the DHCP options set.
    dhcp_options_id str
    The ID of the DHCP options set.
    dhcpOptionsId String
    The ID of the DHCP options set.

    getDhcpOptions Result

    The following output properties are available:

    DhcpOptionsId string
    The ID of the DHCP options set.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Any tags assigned to the DHCP options set.
    DhcpOptionsId string
    The ID of the DHCP options set.
    Tags Tag
    Any tags assigned to the DHCP options set.
    dhcpOptionsId String
    The ID of the DHCP options set.
    tags List<Tag>
    Any tags assigned to the DHCP options set.
    dhcpOptionsId string
    The ID of the DHCP options set.
    tags Tag[]
    Any tags assigned to the DHCP options set.
    dhcp_options_id str
    The ID of the DHCP options set.
    tags Sequence[root_Tag]
    Any tags assigned to the DHCP options set.
    dhcpOptionsId String
    The ID of the DHCP options set.
    tags List<Property Map>
    Any tags assigned to the DHCP options set.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.0.2 published on Friday, Oct 4, 2024 by Pulumi