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

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

    Create Lens Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Lens(name: string, args?: LensArgs, opts?: CustomResourceOptions);
    @overload
    def Lens(resource_name: str,
             args: Optional[LensArgs] = None,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Lens(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             json_string: Optional[str] = None,
             lens_version: Optional[str] = None,
             tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewLens(ctx *Context, name string, args *LensArgs, opts ...ResourceOption) (*Lens, error)
    public Lens(string name, LensArgs? args = null, CustomResourceOptions? opts = null)
    public Lens(String name, LensArgs args)
    public Lens(String name, LensArgs args, CustomResourceOptions options)
    
    type: aws-native:wellarchitected:Lens
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_wellarchitected_lens" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args LensArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LensArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LensArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LensArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LensArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Lens Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Lens resource accepts the following input properties:

    JsonString string
    The JSON representation of a lens.
    LensVersion string
    The version of the lens.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags assigned to the lens.
    JsonString string
    The JSON representation of a lens.
    LensVersion string
    The version of the lens.
    Tags TagArgs
    The tags assigned to the lens.
    json_string string
    The JSON representation of a lens.
    lens_version string
    The version of the lens.
    tags list(object)
    The tags assigned to the lens.
    jsonString String
    The JSON representation of a lens.
    lensVersion String
    The version of the lens.
    tags List<Tag>
    The tags assigned to the lens.
    jsonString string
    The JSON representation of a lens.
    lensVersion string
    The version of the lens.
    tags Tag[]
    The tags assigned to the lens.
    json_string str
    The JSON representation of a lens.
    lens_version str
    The version of the lens.
    tags Sequence[TagArgs]
    The tags assigned to the lens.
    jsonString String
    The JSON representation of a lens.
    lensVersion String
    The version of the lens.
    tags List<Property Map>
    The tags assigned to the lens.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Lens resource produces the following output properties:

    Description string
    The description of the lens.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    Description string
    The description of the lens.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    description string
    The description of the lens.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    description String
    The description of the lens.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    description string
    The description of the lens.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    description str
    The description of the lens.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    description String
    The description of the lens.
    id String
    The provider-assigned unique ID for this managed resource.
    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.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.
    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