AWS Fundamentals Logo
AWS Fundamentals
AWS::WellArchitected::Lens

WellArchitected Lens

Definition of AWS::WellArchitected::Lens Resource Type

Properties

3 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
JSONString
string
Create-onlyWrite-only
LensVersion
string
Create-only
Tags
Array<object>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
DescriptionstringThe description of the lens.
LensArnstringThe ARN of the lens.
LensIdstringThe unique identifier of the lens.
NamestringThe full name of the lens.
OwnerstringThe Amazon Web Services account ID that owns the lens.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::WellArchitected::Lens

Resources:
  MyResource:
    Type: AWS::WellArchitected::Lens
    Properties:
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

wellarchitected:ImportLenswellarchitected:CreateLensVersionwellarchitected:GetLenswellarchitected:TagResourcewellarchitected:ListTagsForResource

read

wellarchitected:GetLenswellarchitected:ListTagsForResource

update

wellarchitected:GetLenswellarchitected:TagResourcewellarchitected:UntagResourcewellarchitected:ListTagsForResource

delete

wellarchitected:DeleteLenswellarchitected:GetLens

list

wellarchitected:ListLenses

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceWellArchitected
Properties8
Required0
TaggingSupported
Primary IDLensArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

JSONStringLensVersion

Related Resources

External Links