Instance Methodswift-cloud 0.31.0CloudCore
linkTo(_:)
Linkable.swift:116@discardableResult func linkTo(_ provider: any RoleProvider) -> Self
@discardableResult func linkTo(_ provider: any RoleProvider) -> Self
import CloudCore
protocol Linkable
protocol RoleProvider
var actions: [String] { get }
var effect: String { get }
var environmentVariables: [String : any Input<String>] { get }
var policy: AnyEncodable { get }
var properties: LinkProperties? { get }
@discardableResult func linkTo(_ providers: any RoleProvider...) -> Self
@discardableResult func linkTo(_ providers: [any RoleProvider]) -> Self
@discardableResult func linked() -> Self
Links the current resource to the current context, ensuring it is written to the CloudSDK resources.