We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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)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:
- Json
String string - The JSON representation of a lens.
- Lens
Version string - The version of the lens.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags assigned to the lens.
- Json
String string - The JSON representation of a lens.
- Lens
Version string - The version of the lens.
-
Tag
Args - The tags assigned to the lens.
- json_
string string - The JSON representation of a lens.
- lens_
version string - The version of the lens.
- list(object)
- The tags assigned to the lens.
- json
String String - The JSON representation of a lens.
- lens
Version String - The version of the lens.
- List<Tag>
- The tags assigned to the lens.
- json
String string - The JSON representation of a lens.
- lens
Version string - The version of the lens.
- Tag[]
- The tags assigned to the lens.
- json_
string str - The JSON representation of a lens.
- lens_
version str - The version of the lens.
-
Sequence[Tag
Args] - The tags assigned to the lens.
- json
String String - The JSON representation of a lens.
- lens
Version String - The version of the lens.
- 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:
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi