SecurityPreference
This class encapsulates and extends the ROS resource type ALIYUN::RAM::SecurityPreference
, which is used to configure security preferences for Resource Access Management (RAM) users.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Ram;
new SecurityPreference(Construct Scope, string Id, SecurityPreferenceProps Props = null, bool EnableResourcePropertyConstraint = null);
Name | Type | Description |
---|---|---|
Scope |
AlibabaCloud.SDK.ROS.CDK.Core.Construct |
No description. |
Id |
string |
No description. |
Props |
SecurityPreferenceProps |
No description. |
EnableResourcePropertyConstraint |
bool |
No description. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Optional
- Type: SecurityPreferenceProps
EnableResourcePropertyConstraint
Optional
- Type: bool
Methods
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
Synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
AddCondition |
No description. |
AddCount |
No description. |
AddDependency |
No description. |
AddResourceDesc |
No description. |
ApplyRemovalPolicy |
No description. |
GetAtt |
No description. |
SetMetadata |
No description. |
ToString
private string ToString()
Returns a string representation of this construct.
Synthesize
private void Synthesize(ISynthesisSession Session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Ram;
SecurityPreference.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
Name | Type | Description |
---|---|---|
Node |
AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode |
The construct tree node associated with this construct. |
Ref |
string |
No description. |
Stack |
AlibabaCloud.SDK.ROS.CDK.Core.Stack |
The stack in which this resource is defined. |
Resource |
AlibabaCloud.SDK.ROS.CDK.Core.RosResource |
No description. |
AttrAllowUserToChangePassword |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AllowUserToChangePassword: Specifies whether RAM users can change their passwords. |
AttrAllowUserToManageAccessKeys |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AllowUserToManageAccessKeys: Specifies whether RAM users can manage their AccessKey pairs. |
AttrAllowUserToManageMfaDevices |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AllowUserToManageMFADevices: Specifies whether RAM users can manage their MFA devices. |
AttrAllowUserToManagePublicKeys |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AllowUserToManagePublicKeys: Specifies whether RAM users can manage their public keys. |
AttrEnableSaveMfaTicket |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute EnableSaveMFATicket: Specifies whether RAM users can save multi-factor authentication (MFA) security codes during logon. |
AttrLoginNetworkMasks |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LoginNetworkMasks: The subnet mask that specifies the IP addresses from which logon to the console is allowed. |
AttrLoginSessionDuration |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LoginSessionDuration: The validity period of the logon session of the RAM user. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrAllowUserToChangePassword
Required
public IResolvable AttrAllowUserToChangePassword { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AllowUserToChangePassword: Specifies whether RAM users can change their passwords.
AttrAllowUserToManageAccessKeys
Required
public IResolvable AttrAllowUserToManageAccessKeys { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AllowUserToManageAccessKeys: Specifies whether RAM users can manage their AccessKey pairs.
AttrAllowUserToManageMfaDevices
Required
public IResolvable AttrAllowUserToManageMfaDevices { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AllowUserToManageMFADevices: Specifies whether RAM users can manage their MFA devices.
AttrAllowUserToManagePublicKeys
Required
public IResolvable AttrAllowUserToManagePublicKeys { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AllowUserToManagePublicKeys: Specifies whether RAM users can manage their public keys.
AttrEnableSaveMfaTicket
Required
public IResolvable AttrEnableSaveMfaTicket { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EnableSaveMFATicket: Specifies whether RAM users can save multi-factor authentication (MFA) security codes during logon.
AttrLoginNetworkMasks
Required
public IResolvable AttrLoginNetworkMasks { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoginNetworkMasks: The subnet mask that specifies the IP addresses from which logon to the console is allowed.
AttrLoginSessionDuration
Required
public IResolvable AttrLoginSessionDuration { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoginSessionDuration: The validity period of the logon session of the RAM user.