InstanceProfileArgs constructor

const InstanceProfileArgs({
  1. Input<String?>? name,
  2. Input<String?>? namePrefix,
  3. Input<String?>? path,
  4. Input? role,
  5. Input<Map<String, String>?>? tags,
})

Creates a new InstanceProfileArgs. name Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with namePrefix. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: _, +, =, ,, ., @, -. Spaces are not allowed. The name must be unique, regardless of the path or role. In other words, if there are different role or path values but the same name as an existing instance profile, it will still cause an EntityAlreadyExists error. namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name. path Path to the instance profile. For more information about paths, see IAM Identifiers in the IAM User Guide. Can be a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. Can include any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercase letters. role Name of the role to add to the profile. tags Map of resource tags for the IAM Instance Profile. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Implementation

const InstanceProfileArgs({
  this.name,
  this.namePrefix,
  this.path,
  this.role,
  this.tags,
});