1. Packages
  2. AWS Native
  3. API Docs
  4. iot
  5. getDimension

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

aws-native.iot.getDimension

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

    A dimension can be used to limit the scope of a metric used in a security profile for AWS IoT Device Defender.

    Using getDimension

    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 getDimension(args: GetDimensionArgs, opts?: InvokeOptions): Promise<GetDimensionResult>
    function getDimensionOutput(args: GetDimensionOutputArgs, opts?: InvokeOptions): Output<GetDimensionResult>
    def get_dimension(name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetDimensionResult
    def get_dimension_output(name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetDimensionResult]
    func LookupDimension(ctx *Context, args *LookupDimensionArgs, opts ...InvokeOption) (*LookupDimensionResult, error)
    func LookupDimensionOutput(ctx *Context, args *LookupDimensionOutputArgs, opts ...InvokeOption) LookupDimensionResultOutput

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

    public static class GetDimension 
    {
        public static Task<GetDimensionResult> InvokeAsync(GetDimensionArgs args, InvokeOptions? opts = null)
        public static Output<GetDimensionResult> Invoke(GetDimensionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDimensionResult> getDimension(GetDimensionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:iot:getDimension
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    A unique identifier for the dimension.
    Name string
    A unique identifier for the dimension.
    name String
    A unique identifier for the dimension.
    name string
    A unique identifier for the dimension.
    name str
    A unique identifier for the dimension.
    name String
    A unique identifier for the dimension.

    getDimension Result

    The following output properties are available:

    Arn string
    The ARN (Amazon resource name) of the created dimension.
    StringValues List<string>
    Specifies the value or list of values for the dimension.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Metadata that can be used to manage the dimension.
    Arn string
    The ARN (Amazon resource name) of the created dimension.
    StringValues []string
    Specifies the value or list of values for the dimension.
    Tags Tag
    Metadata that can be used to manage the dimension.
    arn String
    The ARN (Amazon resource name) of the created dimension.
    stringValues List<String>
    Specifies the value or list of values for the dimension.
    tags List<Tag>
    Metadata that can be used to manage the dimension.
    arn string
    The ARN (Amazon resource name) of the created dimension.
    stringValues string[]
    Specifies the value or list of values for the dimension.
    tags Tag[]
    Metadata that can be used to manage the dimension.
    arn str
    The ARN (Amazon resource name) of the created dimension.
    string_values Sequence[str]
    Specifies the value or list of values for the dimension.
    tags Sequence[root_Tag]
    Metadata that can be used to manage the dimension.
    arn String
    The ARN (Amazon resource name) of the created dimension.
    stringValues List<String>
    Specifies the value or list of values for the dimension.
    tags List<Property Map>
    Metadata that can be used to manage the dimension.

    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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi