Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct { pulumi.CustomResourceState // Name of the Analyzer. AnalyzerName pulumi.StringOutput `pulumi:"analyzerName"` Arn pulumi.StringOutput `pulumi:"arn"` // Key-value map of resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // Type of Analyzer. Valid value is currently only `ACCOUNT`. Defaults to `ACCOUNT`. Type pulumi.StringPtrOutput `pulumi:"type"` }
Manages an Access Analyzer Analyzer. More information can be found in the [Access Analyzer User Guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html).
## Example Usage
```go 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 }) }
```
func GetAnalyzer ¶
func GetAnalyzer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AnalyzerState, opts ...pulumi.ResourceOption) (*Analyzer, error)
GetAnalyzer gets an existing Analyzer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAnalyzer ¶
func NewAnalyzer(ctx *pulumi.Context, name string, args *AnalyzerArgs, opts ...pulumi.ResourceOption) (*Analyzer, error)
NewAnalyzer registers a new resource with the given unique name, arguments, and options.
type AnalyzerArgs ¶
type AnalyzerArgs struct { // Name of the Analyzer. AnalyzerName pulumi.StringInput // Key-value map of resource tags. Tags pulumi.StringMapInput // Type of Analyzer. Valid value is currently only `ACCOUNT`. Defaults to `ACCOUNT`. Type pulumi.StringPtrInput }
The set of arguments for constructing a Analyzer resource.
func (AnalyzerArgs) ElementType ¶
func (AnalyzerArgs) ElementType() reflect.Type
type AnalyzerState ¶
type AnalyzerState struct { // Name of the Analyzer. AnalyzerName pulumi.StringPtrInput Arn pulumi.StringPtrInput // Key-value map of resource tags. Tags pulumi.StringMapInput // Type of Analyzer. Valid value is currently only `ACCOUNT`. Defaults to `ACCOUNT`. Type pulumi.StringPtrInput }
func (AnalyzerState) ElementType ¶
func (AnalyzerState) ElementType() reflect.Type
Click to show internal directories.
Click to hide internal directories.