1. Packages
  2. AWS Native
  3. API Docs
  4. accessanalyzer
  5. getAnalyzer

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.accessanalyzer.getAnalyzer

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    The AWS::AccessAnalyzer::Analyzer type specifies an analyzer of the user’s account

    Using getAnalyzer

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAnalyzer(args: GetAnalyzerArgs, opts?: InvokeOptions): Promise<GetAnalyzerResult>
    function getAnalyzerOutput(args: GetAnalyzerOutputArgs, opts?: InvokeOptions): Output<GetAnalyzerResult>
    def get_analyzer(arn: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetAnalyzerResult
    def get_analyzer_output(arn: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetAnalyzerResult]
    func LookupAnalyzer(ctx *Context, args *LookupAnalyzerArgs, opts ...InvokeOption) (*LookupAnalyzerResult, error)
    func LookupAnalyzerOutput(ctx *Context, args *LookupAnalyzerOutputArgs, opts ...InvokeOption) LookupAnalyzerResultOutput

    > Note: This function is named LookupAnalyzer in the Go SDK.

    public static class GetAnalyzer 
    {
        public static Task<GetAnalyzerResult> InvokeAsync(GetAnalyzerArgs args, InvokeOptions? opts = null)
        public static Output<GetAnalyzerResult> Invoke(GetAnalyzerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAnalyzerResult> getAnalyzer(GetAnalyzerArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:accessanalyzer:getAnalyzer
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    Amazon Resource Name (ARN) of the analyzer
    Arn string
    Amazon Resource Name (ARN) of the analyzer
    arn String
    Amazon Resource Name (ARN) of the analyzer
    arn string
    Amazon Resource Name (ARN) of the analyzer
    arn str
    Amazon Resource Name (ARN) of the analyzer
    arn String
    Amazon Resource Name (ARN) of the analyzer

    getAnalyzer Result

    The following output properties are available:

    ArchiveRules List<Pulumi.AwsNative.AccessAnalyzer.Outputs.AnalyzerArchiveRule>
    Arn string
    Amazon Resource Name (ARN) of the analyzer
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    ArchiveRules []AnalyzerArchiveRule
    Arn string
    Amazon Resource Name (ARN) of the analyzer
    Tags Tag
    An array of key-value pairs to apply to this resource.
    archiveRules List<AnalyzerArchiveRule>
    arn String
    Amazon Resource Name (ARN) of the analyzer
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    archiveRules AnalyzerArchiveRule[]
    arn string
    Amazon Resource Name (ARN) of the analyzer
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    archive_rules Sequence[AnalyzerArchiveRule]
    arn str
    Amazon Resource Name (ARN) of the analyzer
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    archiveRules List<Property Map>
    arn String
    Amazon Resource Name (ARN) of the analyzer
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    AnalyzerArchiveRule

    Filter []AnalyzerFilter
    RuleName string
    The archive rule name
    filter List<AnalyzerFilter>
    ruleName String
    The archive rule name
    filter AnalyzerFilter[]
    ruleName string
    The archive rule name
    filter Sequence[AnalyzerFilter]
    rule_name str
    The archive rule name
    filter List<Property Map>
    ruleName String
    The archive rule name

    AnalyzerFilter

    Property string
    Contains List<string>
    Eq List<string>
    Exists bool
    Neq List<string>
    Property string
    Contains []string
    Eq []string
    Exists bool
    Neq []string
    property String
    contains List<String>
    eq List<String>
    exists Boolean
    neq List<String>
    property string
    contains string[]
    eq string[]
    exists boolean
    neq string[]
    property str
    contains Sequence[str]
    eq Sequence[str]
    exists bool
    neq Sequence[str]
    property String
    contains List<String>
    eq List<String>
    exists Boolean
    neq List<String>

    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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi