alicloud_security_center_service_linked_role
更新时间:
Using this resource can create SecurityCenter service-linked role : AliyunServiceRolePolicyForSas
. This Role is a Resource Access Management (RAM) role, which to obtain permissions to access another Alibaba Cloud service.
For information about Security Center Service Role and how to use it, see What is Security Center.
-> NOTE: Available in v1.142.0+.
Example Usage
Basic Usage
resource "alicloud_security_center_service_linked_role" "service_linked_role" {
}
Attributes Reference
The following attributes are exported:
id
- The ID of the DataSource. The value is same asproduct_name
. Valid Value:AliyunServiceRolePolicyForSas
.status
- The status of the service Associated role. Valid Values:true
: Created.false
: not created.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 1 mins) Used when create the Slr.delete
- (Defaults to 1 mins, Available in 1.163.0+.) Used when delete the Slr.
Import
SecurityCenter service-linked roles(SLR) can be imported using the id, e.g.
$ terraform import alicloud_security_center_service_linked_role.example <product_name>
文档内容是否对您有帮助?