Documentation
¶
Index ¶
- func CfnAnalyzer_CFN_RESOURCE_TYPE_NAME() *string
- func CfnAnalyzer_IsCfnElement(x interface{}) *bool
- func CfnAnalyzer_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnAnalyzer_IsConstruct(x interface{}) *bool
- func NewCfnAnalyzer_Override(c CfnAnalyzer, scope awscdk.Construct, id *string, props *CfnAnalyzerProps)
- type CfnAnalyzer
- type CfnAnalyzerProps
- type CfnAnalyzer_ArchiveRuleProperty
- type CfnAnalyzer_FilterProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnAnalyzer_CFN_RESOURCE_TYPE_NAME ¶
func CfnAnalyzer_CFN_RESOURCE_TYPE_NAME() *string
func CfnAnalyzer_IsCfnElement ¶
func CfnAnalyzer_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnAnalyzer_IsCfnResource ¶
func CfnAnalyzer_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnAnalyzer_IsConstruct ¶
func CfnAnalyzer_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func NewCfnAnalyzer_Override ¶
func NewCfnAnalyzer_Override(c CfnAnalyzer, scope awscdk.Construct, id *string, props *CfnAnalyzerProps)
Create a new `AWS::AccessAnalyzer::Analyzer`.
Types ¶
type CfnAnalyzer ¶
type CfnAnalyzer interface { awscdk.CfnResource awscdk.IInspectable AnalyzerName() *string SetAnalyzerName(val *string) ArchiveRules() interface{} SetArchiveRules(val interface{}) AttrArn() *string CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string LogicalId() *string Node() awscdk.ConstructNode Ref() *string Stack() awscdk.Stack Tags() awscdk.TagManager Type() *string SetType(val *string) UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::AccessAnalyzer::Analyzer`.
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.
TODO: EXAMPLE
func NewCfnAnalyzer ¶
func NewCfnAnalyzer(scope awscdk.Construct, id *string, props *CfnAnalyzerProps) CfnAnalyzer
Create a new `AWS::AccessAnalyzer::Analyzer`.
type CfnAnalyzerProps ¶
type CfnAnalyzerProps struct { // The type represents the zone of trust for the analyzer. // // *Allowed Values* : ACCOUNT | ORGANIZATION Type *string `json:"type" yaml:"type"` // The name of the analyzer. AnalyzerName *string `json:"analyzerName" yaml:"analyzerName"` // Specifies the archive rules to add for the analyzer. ArchiveRules interface{} `json:"archiveRules" yaml:"archiveRules"` // The tags to apply to the analyzer. Tags *[]*awscdk.CfnTag `json:"tags" yaml:"tags"` }
Properties for defining a `CfnAnalyzer`.
TODO: EXAMPLE
type CfnAnalyzer_ArchiveRuleProperty ¶
type CfnAnalyzer_ArchiveRuleProperty struct { // The criteria for the rule. Filter interface{} `json:"filter" yaml:"filter"` // The name of the archive rule. RuleName *string `json:"ruleName" yaml:"ruleName"` }
The criteria for an archive rule.
TODO: EXAMPLE
type CfnAnalyzer_FilterProperty ¶
type CfnAnalyzer_FilterProperty struct { // The property used to define the criteria in the filter for the rule. Property *string `json:"property" yaml:"property"` // A "contains" condition to match for the rule. Contains *[]*string `json:"contains" yaml:"contains"` // An "equals" condition to match for the rule. Eq *[]*string `json:"eq" yaml:"eq"` // An "exists" condition to match for the rule. Exists interface{} `json:"exists" yaml:"exists"` // A "not equal" condition to match for the rule. Neq *[]*string `json:"neq" yaml:"neq"` }
The criteria that defines the rule.
TODO: EXAMPLE