Analyzer
Manages an Access Analyzer Analyzer. More information can be found in the Access Analyzer User Guide.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.AccessAnalyzer.Analyzer("example", new Aws.AccessAnalyzer.AnalyzerArgs
{
AnalyzerName = "example",
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/accessanalyzer"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := accessanalyzer.NewAnalyzer(ctx, "example", &accessanalyzer.AnalyzerArgs{
AnalyzerName: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
example = aws.accessanalyzer.Analyzer("example", analyzer_name="example")import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.accessanalyzer.Analyzer("example", {
analyzerName: "example",
});Create a Analyzer Resource
new Analyzer(name: string, args: AnalyzerArgs, opts?: CustomResourceOptions);def Analyzer(resource_name, opts=None, analyzer_name=None, tags=None, type=None, __props__=None);func NewAnalyzer(ctx *Context, name string, args AnalyzerArgs, opts ...ResourceOption) (*Analyzer, error)public Analyzer(string name, AnalyzerArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args AnalyzerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AnalyzerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AnalyzerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Analyzer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Analyzer resource accepts the following input properties:
- Analyzer
Name string Name of the Analyzer.
- Dictionary<string, string>
Key-value map of resource tags.
- Type string
Type of Analyzer. Valid value is currently only
ACCOUNT. Defaults toACCOUNT.
- Analyzer
Name string Name of the Analyzer.
- map[string]string
Key-value map of resource tags.
- Type string
Type of Analyzer. Valid value is currently only
ACCOUNT. Defaults toACCOUNT.
- analyzer
Name string Name of the Analyzer.
- {[key: string]: string}
Key-value map of resource tags.
- type string
Type of Analyzer. Valid value is currently only
ACCOUNT. Defaults toACCOUNT.
- analyzer_
name str Name of the Analyzer.
- Dict[str, str]
Key-value map of resource tags.
- type str
Type of Analyzer. Valid value is currently only
ACCOUNT. Defaults toACCOUNT.
Outputs
All input properties are implicitly available as output properties. Additionally, the Analyzer resource produces the following output properties:
Look up an Existing Analyzer Resource
Get an existing Analyzer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AnalyzerState, opts?: CustomResourceOptions): Analyzerstatic get(resource_name, id, opts=None, analyzer_name=None, arn=None, tags=None, type=None, __props__=None);func GetAnalyzer(ctx *Context, name string, id IDInput, state *AnalyzerState, opts ...ResourceOption) (*Analyzer, error)public static Analyzer Get(string name, Input<string> id, AnalyzerState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.