Class: Aws::AmplifyGen3::Types::AccessControlRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::AmplifyGen3::Types::AccessControlRule
- Defined in:
- gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb
Overview
Note:
AccessControlRule is a union - when making an API calls you must set exactly one of the members.
Note:
AccessControlRule is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AccessControlRule corresponding to the set member.
A rule that determines which authenticated users can access deployments that require sign-in.
Defined Under Namespace
Classes: AnyAuthenticatedUser, Unknown, UserClaims
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#any_authenticated_user ⇒ Types::Unit
Admits any user who signs in successfully.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#user_claims ⇒ Array<Types::AccessRuleCondition>
Admits users whose token claims match the specified conditions.
Instance Attribute Details
#any_authenticated_user ⇒ Types::Unit
Admits any user who signs in successfully.
70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 70 class AccessControlRule < Struct.new( :any_authenticated_user, :user_claims, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AnyAuthenticatedUser < AccessControlRule; end class UserClaims < AccessControlRule; end class Unknown < AccessControlRule; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
70 71 72 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 70 def unknown @unknown end |
#user_claims ⇒ Array<Types::AccessRuleCondition>
Admits users whose token claims match the specified conditions.
70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 70 class AccessControlRule < Struct.new( :any_authenticated_user, :user_claims, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AnyAuthenticatedUser < AccessControlRule; end class UserClaims < AccessControlRule; end class Unknown < AccessControlRule; end end |