VPC.SecurityGroup
Element Description
A security group (a logical group) is a collection of access control policies for ECSs that have the same security protection requirements and are mutually trusted in a VPC.
Element Properties
Property |
Mandatory |
Descripiton |
---|---|---|
name |
No |
Security group name Type: string Value Description: Customize the value, for example, my-securitygroup. Value Constraint: Enter 1 to 64 characters. Only digits, letters, underscores (_), hyphens (-), and periods (.) are allowed. Suggestion: Customize the value. |
Relationships Between Elements
Description |
Target |
---|---|
Inclusion |
Return Value
Property |
Type |
Description |
---|---|---|
refID |
string |
Security group instance ID |
refName |
string |
Security group instance name |
Blueprint Example
tosca_definitions_version: cloud_tosca_version_1_0 inputs: sg-name: default: my-security-group node_templates: my-sg: type: Cloud.VPC.SecurityGroup properties: name: get_input: sg-name outputs: sg-id: value: get_attribute: [my-sg, refID]
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot