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

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.iot.getDimension

Explore with Pulumi AI

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 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>
Copy
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]
Copy
func LookupDimension(ctx *Context, args *LookupDimensionArgs, opts ...InvokeOption) (*LookupDimensionResult, error)
func LookupDimensionOutput(ctx *Context, args *LookupDimensionOutputArgs, opts ...InvokeOption) LookupDimensionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetDimensionResult> getDimension(GetDimensionArgs args, InvokeOptions options)
public static Output<GetDimensionResult> getDimension(GetDimensionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:iot:getDimension
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
A unique identifier for the dimension.
Name This property is required. string
A unique identifier for the dimension.
name This property is required. String
A unique identifier for the dimension.
name This property is required. string
A unique identifier for the dimension.
name This property is required. str
A unique identifier for the dimension.
name This property is required. 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 This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

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.27.0 published on Monday, Apr 14, 2025 by Pulumi