asEc2ImportTaskId
Casts this ImageSourceIdentifier as a Ec2ImportTaskId and retrieves its kotlin.String value. Throws an exception if the ImageSourceIdentifier is not a Ec2ImportTaskId.
Casts this ImageSourceIdentifier as a Ec2ImportTaskId and retrieves its kotlin.String value. Throws an exception if the ImageSourceIdentifier is not a Ec2ImportTaskId.