Skip to main content

ResourceV2

Properties

NameTypeDescriptionNotes
IdStringThe source resource identifier.[optional]
TypeStringThe type of the source resource.[optional]
NameStringThe display name of the source resource.[optional]
Features[]StringThe set of features supported by the source resource.[optional]

Examples

  • Prepare the resource
$ResourceV2 = Initialize-ResourceV2  -Id 8886e5e3-63d0-462f-a195-d98da885b8dc `
-Type aws:iam-role `
-Name nightly-batch-role `
-Features ["PROVISIONING","AUTHENTICATION"]
  • Convert the resource to JSON
$ResourceV2 | ConvertTo-JSON

[Back to top]