AWS Native is in preview. AWS Classic is fully supported.
aws-native.iot.getDimension
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
- String
Values List<string> Specifies the value or list of values for the dimension.
- List<Pulumi.
Aws Native. Io T. Outputs. Dimension Tag> Metadata that can be used to manage the dimension.
- Arn string
The ARN (Amazon resource name) of the created dimension.
- String
Values []string Specifies the value or list of values for the dimension.
- []Dimension
Tag Metadata that can be used to manage the dimension.
- arn String
The ARN (Amazon resource name) of the created dimension.
- string
Values List<String> Specifies the value or list of values for the dimension.
- List<Dimension
Tag> Metadata that can be used to manage the dimension.
- arn string
The ARN (Amazon resource name) of the created dimension.
- string
Values string[] Specifies the value or list of values for the dimension.
- Dimension
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.
- Sequence[Dimension
Tag] Metadata that can be used to manage the dimension.
- arn String
The ARN (Amazon resource name) of the created dimension.
- string
Values List<String> Specifies the value or list of values for the dimension.
- List<Property Map>
Metadata that can be used to manage the dimension.
Supporting Types
DimensionTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.