1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. wellarchitected
  6. getLens

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

Viewing docs for AWS Cloud Control v1.74.1
published on Monday, Aug 3, 2026 by Pulumi
aws-native logo

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

Viewing docs for AWS Cloud Control v1.74.1
published on Monday, Aug 3, 2026 by Pulumi

    Definition of AWS::WellArchitected::Lens Resource Type

    Using getLens

    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 getLens(args: GetLensArgs, opts?: InvokeOptions): Promise<GetLensResult>
    function getLensOutput(args: GetLensOutputArgs, opts?: InvokeOptions): Output<GetLensResult>
    def get_lens(lens_arn: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetLensResult
    def get_lens_output(lens_arn: pulumi.Input[Optional[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetLensResult]
    func LookupLens(ctx *Context, args *LookupLensArgs, opts ...InvokeOption) (*LookupLensResult, error)
    func LookupLensOutput(ctx *Context, args *LookupLensOutputArgs, opts ...InvokeOption) LookupLensResultOutput

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

    public static class GetLens 
    {
        public static Task<GetLensResult> InvokeAsync(GetLensArgs args, InvokeOptions? opts = null)
        public static Output<GetLensResult> Invoke(GetLensInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLensResult> getLens(GetLensArgs args, InvokeOptions options)
    public static Output<GetLensResult> getLens(GetLensArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:wellarchitected:getLens
      arguments:
        # arguments dictionary
    data "aws-native_wellarchitected_get_lens" "name" {
        # arguments
    }

    The following arguments are supported:

    LensArn string
    The ARN of the lens.
    LensArn string
    The ARN of the lens.
    lens_arn string
    The ARN of the lens.
    lensArn String
    The ARN of the lens.
    lensArn string
    The ARN of the lens.
    lens_arn str
    The ARN of the lens.
    lensArn String
    The ARN of the lens.

    getLens Result

    The following output properties are available:

    Description string
    The description of the lens.
    LensArn string
    The ARN of the lens.
    LensId string
    The unique identifier of the lens.
    Name string
    The full name of the lens.
    Owner string
    The Amazon Web Services account ID that owns the lens.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags assigned to the lens.
    Description string
    The description of the lens.
    LensArn string
    The ARN of the lens.
    LensId string
    The unique identifier of the lens.
    Name string
    The full name of the lens.
    Owner string
    The Amazon Web Services account ID that owns the lens.
    Tags Tag
    The tags assigned to the lens.
    description string
    The description of the lens.
    lens_arn string
    The ARN of the lens.
    lens_id string
    The unique identifier of the lens.
    name string
    The full name of the lens.
    owner string
    The Amazon Web Services account ID that owns the lens.
    tags list(object)
    The tags assigned to the lens.
    description String
    The description of the lens.
    lensArn String
    The ARN of the lens.
    lensId String
    The unique identifier of the lens.
    name String
    The full name of the lens.
    owner String
    The Amazon Web Services account ID that owns the lens.
    tags List<Tag>
    The tags assigned to the lens.
    description string
    The description of the lens.
    lensArn string
    The ARN of the lens.
    lensId string
    The unique identifier of the lens.
    name string
    The full name of the lens.
    owner string
    The Amazon Web Services account ID that owns the lens.
    tags Tag[]
    The tags assigned to the lens.
    description str
    The description of the lens.
    lens_arn str
    The ARN of the lens.
    lens_id str
    The unique identifier of the lens.
    name str
    The full name of the lens.
    owner str
    The Amazon Web Services account ID that owns the lens.
    tags Sequence[root_Tag]
    The tags assigned to the lens.
    description String
    The description of the lens.
    lensArn String
    The ARN of the lens.
    lensId String
    The unique identifier of the lens.
    name String
    The full name of the lens.
    owner String
    The Amazon Web Services account ID that owns the lens.
    tags List<Property Map>
    The tags assigned to the lens.

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

    Viewing docs for AWS Cloud Control v1.74.1
    published on Monday, Aug 3, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial