Class: SageMakerEndpointConfigKmsKeyIdRule
Instance Method Summary
collapse
#audit_impl
Methods inherited from BaseRule
#audit, #audit_impl, #violation
Instance Method Details
#boolean_property ⇒ Object
23
24
25
|
# File 'lib/cfn-nag/custom_rules/SageMakerEndpointConfigKmsKeyIdRule.rb', line 23
def boolean_property
:kmsKeyId
end
|
#resource_type ⇒ Object
19
20
21
|
# File 'lib/cfn-nag/custom_rules/SageMakerEndpointConfigKmsKeyIdRule.rb', line 19
def resource_type
'AWS::SageMaker::EndpointConfig'
end
|
15
16
17
|
# File 'lib/cfn-nag/custom_rules/SageMakerEndpointConfigKmsKeyIdRule.rb', line 15
def rule_id
'W1200'
end
|
#rule_text ⇒ Object
7
8
9
|
# File 'lib/cfn-nag/custom_rules/SageMakerEndpointConfigKmsKeyIdRule.rb', line 7
def rule_text
'SageMaker EndpointConfig should have a KmsKeyId property set.'
end
|
#rule_type ⇒ Object
11
12
13
|
# File 'lib/cfn-nag/custom_rules/SageMakerEndpointConfigKmsKeyIdRule.rb', line 11
def rule_type
Violation::WARNING
end
|