Class CfnAnalyzer
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.accessanalyzer.CfnAnalyzer
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:37.649Z")
@Stability(Stable)
public class CfnAnalyzer
extends CfnResource
implements IInspectable, ITaggable
The
AWS::AccessAnalyzer::Analyzer
resource specifies a new analyzer.
The analyzer is an object that represents the IAM Access Analyzer feature. An analyzer is required for Access Analyzer to become operational.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.accessanalyzer.*; CfnAnalyzer cfnAnalyzer = CfnAnalyzer.Builder.create(this, "MyCfnAnalyzer") .type("type") // the properties below are optional .analyzerConfiguration(AnalyzerConfigurationProperty.builder() .unusedAccessConfiguration(UnusedAccessConfigurationProperty.builder() .unusedAccessAge(123) .build()) .build()) .analyzerName("analyzerName") .archiveRules(List.of(ArchiveRuleProperty.builder() .filter(List.of(FilterProperty.builder() .property("property") // the properties below are optional .contains(List.of("contains")) .eq(List.of("eq")) .exists(false) .neq(List.of("neq")) .build())) .ruleName("ruleName") .build())) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Contains information about the configuration of an unused access analyzer for an AWS organization or account.static interface
Contains information about an archive rule.static final class
A fluent builder forCfnAnalyzer
.static interface
The criteria that defines the archive rule.static interface
Contains information about an unused access analyzer.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnAnalyzer
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnAnalyzer
(software.amazon.jsii.JsiiObjectRef objRef) CfnAnalyzer
(software.constructs.Construct scope, String id, CfnAnalyzerProps props) -
Method Summary
Modifier and TypeMethodDescriptionContains information about the configuration of an unused access analyzer for an AWS organization or account.The name of the analyzer.Specifies the archive rules to add for the analyzer.The ARN of the analyzer that was created.getTags()
Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to the analyzer.getType()
The type represents the zone of trust for the analyzer.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
Contains information about the configuration of an unused access analyzer for an AWS organization or account.void
Contains information about the configuration of an unused access analyzer for an AWS organization or account.void
setAnalyzerName
(String value) The name of the analyzer.void
setArchiveRules
(List<Object> value) Specifies the archive rules to add for the analyzer.void
setArchiveRules
(IResolvable value) Specifies the archive rules to add for the analyzer.void
setTagsRaw
(List<CfnTag> value) An array of key-value pairs to apply to the analyzer.void
The type represents the zone of trust for the analyzer.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnAnalyzer
protected CfnAnalyzer(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAnalyzer
protected CfnAnalyzer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAnalyzer
@Stability(Stable) public CfnAnalyzer(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAnalyzerProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The ARN of the analyzer that was created. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getType
The type represents the zone of trust for the analyzer. -
setType
The type represents the zone of trust for the analyzer. -
getAnalyzerConfiguration
Contains information about the configuration of an unused access analyzer for an AWS organization or account. -
setAnalyzerConfiguration
Contains information about the configuration of an unused access analyzer for an AWS organization or account. -
setAnalyzerConfiguration
@Stability(Stable) public void setAnalyzerConfiguration(@Nullable CfnAnalyzer.AnalyzerConfigurationProperty value) Contains information about the configuration of an unused access analyzer for an AWS organization or account. -
getAnalyzerName
The name of the analyzer. -
setAnalyzerName
The name of the analyzer. -
getArchiveRules
Specifies the archive rules to add for the analyzer. -
setArchiveRules
Specifies the archive rules to add for the analyzer. -
setArchiveRules
Specifies the archive rules to add for the analyzer. -
getTagsRaw
An array of key-value pairs to apply to the analyzer. -
setTagsRaw
An array of key-value pairs to apply to the analyzer.
-