HttpsBasicConfiguration
- Implements: IHttpsBasicConfiguration
This class encapsulates and extends the ROS resource type ALIYUN::ESA::HttpsBasicConfiguration.
Initializers
import { HttpsBasicConfiguration } from '@alicloud/ros-cdk-esa'
new HttpsBasicConfiguration(scope: Construct, id: string, props: HttpsBasicConfigurationProps, enableResourcePropertyConstraint?: boolean)
| Name | Type | Description |
|---|---|---|
scope | @alicloud/ros-cdk-core.Construct | No description. |
id | string | No description. |
props | HttpsBasicConfigurationProps | No description. |
enableResourcePropertyConstraint | boolean | No description. |
scopeRequired
- Type: @alicloud/ros-cdk-core.Construct
idRequired
- Type: string
propsRequired
enableResourcePropertyConstraintOptional
- Type: boolean
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. |
fetchCondition | No description. |
fetchDependency | No description. |
fetchResourceDesc | No description. |
getAtt | No description. |
setMetadata | No description. |
toString
public toString(): string
Returns a string representation of this construct.
synthesize
public synthesize(session: ISynthesisSession): void
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: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
fetchCondition
public fetchCondition(): RosCondition
fetchDependency
public fetchDependency(): string[]
fetchResourceDesc
public fetchResourceDesc(): string
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- Type: any
Static Functions
| Name | Description |
|---|---|
isConstruct | Return whether the given object is a Construct. |
isConstruct
import { HttpsBasicConfiguration } from '@alicloud/ros-cdk-esa'
HttpsBasicConfiguration.isConstruct(x: any)
Return whether the given object is a Construct.
- Type: any
Properties
| Name | Type | Description |
|---|---|---|
node | @alicloud/ros-cdk-core.ConstructNode | The construct tree node associated with this construct. |
env | @alicloud/ros-cdk-core.IResourceEnvironment | The environment this resource belongs to. |
ref | string | No description. |
stack | @alicloud/ros-cdk-core.Stack | The stack in which this resource is defined. |
resource | @alicloud/ros-cdk-core.RosResource | No description. |
attrCiphersuite | string | @alicloud/ros-cdk-core.IResolvable | Attribute Ciphersuite: Custom cipher suite, indicating the specific encryption algorithm selected when CiphersuiteGroup is set to custom. |
attrCiphersuiteGroup | string | @alicloud/ros-cdk-core.IResolvable | Attribute CiphersuiteGroup: Cipher suite group. |
attrConfigId | string | @alicloud/ros-cdk-core.IResolvable | Attribute ConfigId: ConfigId of the configuration. |
attrConfigType | string | @alicloud/ros-cdk-core.IResolvable | Attribute ConfigType: Configuration type, which can be used to query global or rule configurations. |
attrHttp2 | string | @alicloud/ros-cdk-core.IResolvable | Attribute Http2: Indicates whether HTTP2 is enabled. |
attrHttp3 | string | @alicloud/ros-cdk-core.IResolvable | Attribute Http3: Whether to enable HTTP3, which is enabled by default. |
attrHttps | string | @alicloud/ros-cdk-core.IResolvable | Attribute Https: Whether to enable HTTPS. |
attrOcspStapling | string | @alicloud/ros-cdk-core.IResolvable | Attribute OcspStapling: Indicates whether OCSP is enabled. |
attrRule | string | @alicloud/ros-cdk-core.IResolvable | Attribute Rule: Rule content, using conditional expressions to match user requests. |
attrRuleEnable | string | @alicloud/ros-cdk-core.IResolvable | Attribute RuleEnable: Rule switch. |
attrRuleName | string | @alicloud/ros-cdk-core.IResolvable | Attribute RuleName: Rule name. |
attrSequence | string | @alicloud/ros-cdk-core.IResolvable | Attribute Sequence: Order of rule execution. |
attrTls10 | string | @alicloud/ros-cdk-core.IResolvable | Attribute Tls10: Whether to enable TLS1.0. Default is disabled. |
attrTls11 | string | @alicloud/ros-cdk-core.IResolvable | Attribute Tls11: Whether to enable TLS1.1. Default is enabled. |
attrTls12 | string | @alicloud/ros-cdk-core.IResolvable | Attribute Tls12: Whether to enable TLS1.2. Default is enabled. |
attrTls13 | string | @alicloud/ros-cdk-core.IResolvable | Attribute Tls13: Whether to enable TLS1.3. Default is enabled. |
props | HttpsBasicConfigurationProps | No description. |
nodeRequired
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
envRequired
public readonly env: IResourceEnvironment;
- Type: @alicloud/ros-cdk-core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
refRequired
public readonly ref: string;
- Type: string
stackRequired
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resourceOptional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrCiphersuiteRequired
public readonly attrCiphersuite: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Ciphersuite: Custom cipher suite, indicating the specific encryption algorithm selected when CiphersuiteGroup is set to custom.
attrCiphersuiteGroupRequired
public readonly attrCiphersuiteGroup: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute CiphersuiteGroup: Cipher suite group.
Default is all cipher suites.
attrConfigIdRequired
public readonly attrConfigId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ConfigId: ConfigId of the configuration.
attrConfigTypeRequired
public readonly attrConfigType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ConfigType: Configuration type, which can be used to query global or rule configurations.
attrHttp2Required
public readonly attrHttp2: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Http2: Indicates whether HTTP2 is enabled.
Default is on.
attrHttp3Required
public readonly attrHttp3: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Http3: Whether to enable HTTP3, which is enabled by default.
attrHttpsRequired
public readonly attrHttps: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Https: Whether to enable HTTPS.
Default is enabled.
attrOcspStaplingRequired
public readonly attrOcspStapling: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute OcspStapling: Indicates whether OCSP is enabled.
Default is off.
attrRuleRequired
public readonly attrRule: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Rule: Rule content, using conditional expressions to match user requests.
When adding global configuration, this parameter does not need to be set.
attrRuleEnableRequired
public readonly attrRuleEnable: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute RuleEnable: Rule switch.
When adding global configuration, this parameter does not need to be set.
attrRuleNameRequired
public readonly attrRuleName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute RuleName: Rule name.
When adding global configuration, this parameter does not need to be set.
attrSequenceRequired
public readonly attrSequence: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Sequence: Order of rule execution.
The smaller the value, the higher the priority for execution.
attrTls10Required
public readonly attrTls10: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Tls10: Whether to enable TLS1.0. Default is disabled.
attrTls11Required
public readonly attrTls11: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Tls11: Whether to enable TLS1.1. Default is enabled.
attrTls12Required
public readonly attrTls12: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Tls12: Whether to enable TLS1.2. Default is enabled.
attrTls13Required
public readonly attrTls13: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Tls13: Whether to enable TLS1.3. Default is enabled.
propsRequired
public readonly props: HttpsBasicConfigurationProps;