AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getDimension

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.IoT.Outputs.DimensionTag>

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 []DimensionTag

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<DimensionTag>

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 DimensionTag[]

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[DimensionTag]

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

DimensionTag

Key string

The tag's key.

Value string

The tag's value.

Key string

The tag's key.

Value string

The tag's value.

key String

The tag's key.

value String

The tag's value.

key string

The tag's key.

value string

The tag's value.

key str

The tag's key.

value str

The tag's value.

key String

The tag's key.

value String

The tag's value.

Package Details

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