LocationPackageOptions

class aws_cdk.aws_ec2.LocationPackageOptions(*, key=None, service_restart_handles=None)

Bases: object

Options for InitPackage.rpm/InitPackage.msi.

Parameters
  • key (Optional[str]) – Identifier key for this package. You can use this to order package installs. Default: - Automatically generated

  • service_restart_handles (Optional[List[InitServiceRestartHandle]]) – Restart the given service after this command has run. Default: - Do not restart any service

Attributes

key

Identifier key for this package.

You can use this to order package installs.

Default
  • Automatically generated

Return type

Optional[str]

service_restart_handles

Restart the given service after this command has run.

Default
  • Do not restart any service

Return type

Optional[List[InitServiceRestartHandle]]